Get the collection of types

get/types
Internal-Use Only

Returns a collection of types.

Request Samples

1

Response Samples

1{
2 "links": [
3 {
4 "method": "GET",
5 "rel": "self",
6 "href": "/clinicalRepository/types?start=0&limit=41",
7 "uri": "/clinicalRepository/types?start=0&limit=41",
8 "type": "application/vnd.sas.collection",
9 "itemType": "application/vnd.sas.clinical.type+json"
10 },
11 {
12 "method": "GET",
13 "rel": "collection",
14 "href": "/clinicalRepository/types",
15 "uri": "/clinicalRepository/types",
16 "type": "application/vnd.sas.collection",
17 "itemType": "application/vnd.sas.clinical.type+json"
18 }
19 ],
20 "name": "types",
21 "accept": "application/vnd.sas.clinical.type+json",
22 "start": 0,
23 "count": 4,
24 "items": [
25 {
26 "version": 1,
27 "id": "name",
28 "name": "Name",
29 "attributeType": "STRING",
30 "required": true,
31 "searchable": true
32 },
33 {
34 "version": 1,
35 "id": "description",
36 "name": "Description",
37 "attributeType": "STRING",
38 "logicalType": "MULTILINE",
39 "required": false,
40 "searchable": true
41 },
42 {
43 "version": 1,
44 "id": "createdBy",
45 "name": "Created by",
46 "attributeType": "STRING",
47 "logicalType": "USER",
48 "required": true,
49 "searchable": true
50 },
51 {
52 "version": 1,
53 "id": "created",
54 "name": "Date created",
55 "attributeType": "DATE",
56 "logicalType": "DATETIME",
57 "required": true,
58 "searchable": true
59 }
60 ],
61 "limit": 100,
62 "version": 2
63}

Query Parameters

NameTypeRequiredDescription
auditable
boolean
false

Filter criteria based on whether it is auditable.

searchable
boolean
false

Filter criteria based on whether it is searchable.

Responses

StatusMeaningDescription
200OKThe request succeeded and matching types are returned.Schema