Get domain or value list content

get/domains/{domainId}/contents/{contentId}
Internal-Use Only

Only information describing the content is returned. The associated reference data entries are not returned. The creation user ID and timestamp of the domain content cannot be changed. The user ID and modification timestamp changes when information about the content changes or when a child resource of the version changes.

When the activationStatus of the content is "running", the endpoint takes an additional step to query the results of the asynchronous publishes. The activationStatus continues to show "running" if the asynchronous publishes have not all completed. If all have completed, and if one publish has failed, the status field shows "activating", the activationStatus field shows "failed" and the activationError field shows the cause of the failure. If all publishes have succeeded, the status field show "production", the activationStatus field shows "active" and the activationError field is cleared of any text that might be there before.

Request Samples

1

Response Samples

1{
2 "creationTimeStamp": "2022-02-25T13:40:09.565Z",
3 "modifiedTimeStamp": "2022-02-25T13:40:54.026Z",
4 "createdBy": "siduser",
5 "modifiedBy": "siduser",
6 "id": "390be3d6-4320-4cb9-9365-17421a374bee",
7 "label": "lookup1.0",
8 "status": "developing",
9 "keyLabel": "Severity",
10 "valueLabel": "SLA Class",
11 "standing": "inactive",
12 "majorNumber": 1,
13 "minorNumber": 1,
14 "links": [
15 {
16 "method": "GET",
17 "rel": "up",
18 "href": "/referenceData/domains/f8600b44-092c-4095-a560-f4d2b90f1148/contents",
19 "uri": "/referenceData/domains/f8600b44-092c-4095-a560-f4d2b90f1148/contents",
20 "type": "application/vnd.sas.collection",
21 "itemType": "application/vnd.sas.data.reference.domain.content"
22 },
23 {
24 "method": "GET",
25 "rel": "self",
26 "href": "/referenceData/domains/f8600b44-092c-4095-a560-f4d2b90f1148/contents/390be3d6-4320-4cb9-9365-17421a374bee",
27 "uri": "/referenceData/domains/f8600b44-092c-4095-a560-f4d2b90f1148/contents/390be3d6-4320-4cb9-9365-17421a374bee",
28 "type": "application/vnd.sas.data.reference.domain.content"
29 },
30 {
31 "method": "GET",
32 "rel": "getEntries",
33 "href": "/referenceData/domains/f8600b44-092c-4095-a560-f4d2b90f1148/contents/390be3d6-4320-4cb9-9365-17421a374bee/entries",
34 "uri": "/referenceData/domains/f8600b44-092c-4095-a560-f4d2b90f1148/contents/390be3d6-4320-4cb9-9365-17421a374bee/entries",
35 "type": "application/vnd.sas.collection",
36 "itemType": "application/vnd.sas.data.reference.domain.entry"
37 },
38 {
39 "method": "POST",
40 "rel": "createEntries",
41 "href": "/referenceData/domains/f8600b44-092c-4095-a560-f4d2b90f1148/contents/390be3d6-4320-4cb9-9365-17421a374bee/entries",
42 "uri": "/referenceData/domains/f8600b44-092c-4095-a560-f4d2b90f1148/contents/390be3d6-4320-4cb9-9365-17421a374bee/entries",
43 "type": "application/vnd.sas.collection",
44 "responseType": "application/vnd.sas.collection",
45 "itemType": "application/vnd.sas.data.reference.domain.entry",
46 "responseItemType": "application/vnd.sas.data.reference.domain.entry"
47 },
48 {
49 "method": "DELETE",
50 "rel": "deleteEntries",
51 "href": "/referenceData/domains/f8600b44-092c-4095-a560-f4d2b90f1148/contents/390be3d6-4320-4cb9-9365-17421a374bee/entries",
52 "uri": "/referenceData/domains/f8600b44-092c-4095-a560-f4d2b90f1148/contents/390be3d6-4320-4cb9-9365-17421a374bee/entries"
53 },
54 {
55 "method": "DELETE",
56 "rel": "delete",
57 "href": "/referenceData/domains/f8600b44-092c-4095-a560-f4d2b90f1148/contents/390be3d6-4320-4cb9-9365-17421a374bee",
58 "uri": "/referenceData/domains/f8600b44-092c-4095-a560-f4d2b90f1148/contents/390be3d6-4320-4cb9-9365-17421a374bee"
59 },
60 {
61 "method": "GET",
62 "rel": "checkouts",
63 "href": "/referenceData/domains/f8600b44-092c-4095-a560-f4d2b90f1148/contents/390be3d6-4320-4cb9-9365-17421a374bee/checkouts",
64 "uri": "/referenceData/domains/f8600b44-092c-4095-a560-f4d2b90f1148/contents/390be3d6-4320-4cb9-9365-17421a374bee/checkouts",
65 "type": "application/vnd.sas.collection",
66 "itemType": "application/vnd.sas.summary"
67 }
68 ]
69}

Path Parameters

NameTypeRequiredDescription
contentId
string
true

The identifier for a reference data domain or value list content.

domainId
string
true

The identifier for a reference data domain or value list.

Header Parameters

NameTypeRequiredDescription
Accept
string
false

Selects the desired item representation.

Allowed values:
application/vnd.sas.data.reference.domain+jsonapplication/vnd.sas.data.reference.value.list+jsonapplication/vnd.sas.dcm.summary+json
Default:
application/vnd.sas.data.reference.domain+json

Responses

StatusMeaningDescription
200OKThe request succeeded.HeadersSchema
400Bad RequestThe request was invalid.Schema
404Not FoundNo domain or value list content exists at the requested path.Schema