Update a reference data domain or value list

put/domains/{domainId}
Internal-Use Only

Updates the information of a domain or value list. Only the description and the properties can be changed.

Request Samples

1

Response Samples

1{
2 "id": "f8600b44-092c-4095-a560-f4d2b90f1148",
3 "name": "serviceLevel",
4 "description": "The service level designation.",
5 "domainType": "lookup",
6 "checkOut": false,
7 "creationTimeStamp": "2022-02-25T13:39:01.556000Z",
8 "modifiedTimeStamp": "2022-02-25T13:46:07.466000Z",
9 "createdBy": "siduser",
10 "modifiedBy": "siduser",
11 "codeName": "7BQAWRAJFRAJLJLA6TJLSDYRJA",
12 "formatName": "$L7BQAWRAJFRAJLJLA6TJLSDYRJA_K",
13 "packageName": "l7bqawrajfrajljla6tjlsdyrja",
14 "folderType": "folder",
15 "version": 1,
16 "links": [
17 {
18 "method": "GET",
19 "rel": "self",
20 "href": "/referenceData/domains/f8600b44-092c-4095-a560-f4d2b90f1148",
21 "uri": "/referenceData/domains/f8600b44-092c-4095-a560-f4d2b90f1148",
22 "type": "application/vnd.sas.data.reference.domain"
23 },
24 {
25 "method": "GET",
26 "rel": "alternate",
27 "href": "/referenceData/domains/f8600b44-092c-4095-a560-f4d2b90f1148",
28 "uri": "/referenceData/domains/f8600b44-092c-4095-a560-f4d2b90f1148",
29 "type": "application/vnd.sas.summary"
30 },
31 {
32 "method": "PUT",
33 "rel": "update",
34 "href": "/referenceData/domains/f8600b44-092c-4095-a560-f4d2b90f1148",
35 "uri": "/referenceData/domains/f8600b44-092c-4095-a560-f4d2b90f1148",
36 "type": "application/vnd.sas.data.reference.domain",
37 "responseType": "application/vnd.sas.data.reference.domain"
38 },
39 {
40 "method": "DELETE",
41 "rel": "delete",
42 "href": "/referenceData/domains/f8600b44-092c-4095-a560-f4d2b90f1148",
43 "uri": "/referenceData/domains/f8600b44-092c-4095-a560-f4d2b90f1148"
44 },
45 {
46 "method": "GET",
47 "rel": "getContents",
48 "href": "/referenceData/domains/f8600b44-092c-4095-a560-f4d2b90f1148/contents",
49 "uri": "/referenceData/domains/f8600b44-092c-4095-a560-f4d2b90f1148/contents",
50 "type": "application/vnd.sas.collection",
51 "itemType": "application/vnd.sas.data.reference.domain.content"
52 },
53 {
54 "method": "POST",
55 "rel": "createContent",
56 "href": "/referenceData/domains/f8600b44-092c-4095-a560-f4d2b90f1148/contents",
57 "uri": "/referenceData/domains/f8600b44-092c-4095-a560-f4d2b90f1148/contents",
58 "type": "application/vnd.sas.data.reference.domain.content",
59 "responseType": "application/vnd.sas.data.reference.domain.content"
60 },
61 {
62 "method": "GET",
63 "rel": "currentContents",
64 "href": "/referenceData/domains/f8600b44-092c-4095-a560-f4d2b90f1148/currentContents",
65 "uri": "/referenceData/domains/f8600b44-092c-4095-a560-f4d2b90f1148/currentContents",
66 "type": "application/vnd.sas.collection",
67 "itemType": "application/vnd.sas.data.reference.domain.content.history"
68 },
69 {
70 "method": "GET",
71 "rel": "currentContentsCompleteHistory",
72 "href": "/referenceData/domains/f8600b44-092c-4095-a560-f4d2b90f1148/currentContents?scope=all",
73 "uri": "/referenceData/domains/f8600b44-092c-4095-a560-f4d2b90f1148/currentContents?scope=all",
74 "type": "application/vnd.sas.collection",
75 "itemType": "application/vnd.sas.data.reference.domain.content.history"
76 },
77 {
78 "method": "GET",
79 "rel": "up",
80 "href": "/referenceData/domains",
81 "uri": "/referenceData/domains",
82 "type": "application/vnd.sas.collection",
83 "itemType": "application/vnd.sas.data.reference.domain"
84 }
85 ]
86}

Path Parameters

NameTypeRequiredDescription
domainId
string
true

The identifier for a domain or value list.

Header Parameters

NameTypeRequiredDescription
If-Match
string
false

The ETag value that was returned from a GET, POST, or PATCH of the domain or value list entry collection. If the ETag value does not match the etag value of the resource, the update fails.

Request Body

The domain representation. Use only the description member.

The properties of a domain.

NameTypeRequiredDescription
name
string
false

The name of the domain.

codeName
string
false

The system-assigned encoded version of the name that uses only certain characters from the English alphabet and the Arabic numerals.

formatName
string
false

This is the name of a Cloud Analytic Service format when this domain is published to the Cloud Analytic Service.

packageName
string
false

This is the name of a DS2 package when this domain is published to the Micro Analytic Score service.

domainType
string
false

The type of the domain.The value is "lookup".

description
string
false

The description about the domain.

checkout
boolean
false

Flag that indicates this domain is a working copy of another domain.

folderType
string
false

Indicates the type of folder where the domain is housed.

Responses

StatusMeaningDescription
200OKThe request succeeded.HeadersSchema
400Bad RequestThe request was invalid.Schema
404Not FoundNo resource exists at the requested path.Schema
412Precondition FailedThe `If-Match` request header did not match the resource's entity tag. The resource has changed.Schema
428Precondition RequiredThe `If-Match` request header did not match the resource's entity tag. The 'If-Match' header was not sent.Schema