Update a reference list
Updates a reference list by ID.
1{2 "id": 100606,3 "createdBy": "sasboot",4 "createdAt": "2023-06-23T20:46:52.571Z",5 "lastUpdatedBy": "sasboot",6 "lastUpdatedAt": "2023-06-23T20:46:52.571Z",7 "label": "Dispresn Insurance Domain",8 "localizedLabels": [9 {10 "id": 101663,11 "createdBy": "sasboot",12 "createdAt": "2023-06-23T20:46:52.571Z",13 "lastUpdatedBy": "sasboot",14 "lastUpdatedAt": "2023-06-23T20:46:52.571Z",15 "label": "Dispresn Insurance Domain",16 "version": 0,17 "localeCd": "en-US"18 }19 ],20 "name": "DispResn_insurance_domain",21 "archived": false,22 "maxCodeLength": 20,23 "alphabeticalSort": false,24 "hierarchyLevel": 0,25 "referenceListType": "LIST",26 "usedByField": false,27 "solutionName": "sas_visual_investigator_default",28 "solutionLabel": "SAS Visual Investigator"29}
Name | Type | Required | Description |
---|---|---|---|
referenceListId | string | true | The ID of the reference list to update. |
Name | Type | Required | Description |
---|---|---|---|
If-Match | string | false | The ETag of the representation in the request. If this header value is provided, it must match the ETag of the current version of the resource on the server. Otherwise, the server responds with a 412 error. |
The reference list to be updated.
Represents a list of choices that the user can select as the value for a field. Common examples might include "Size" (small, medium, large) or "Color" (red, green, blue). In the first example, "Size" is the list and (small, medium, large) are items of that list.
Name | Type | Required | Description |
---|---|---|---|
name | string | true | The name of the reference list. The name is limited to 50 characters. |
archived | boolean | true | Indicates whether the reference list is archived. |
maxCodeLength | integer | true | The maximum length of the string that is used as the code for list items. |
alphabeticalSort | boolean | true | Indicates whether the reference list is sorted alphabetically. |
items | array [Reference List Item] | false | The collection of reference list items. |
id | integer | false | The primary key that uniquely identifies this metadata object. |
createdBy | string | false | The user ID that created this metadata object. |
createdAt | string<date-time> | false | The timestamp that indicates when this metadata object was created. |
lastUpdatedBy | string | false | The user ID that most recently modified this metadata object. |
lastUpdatedAt | string<date-time> | false | The timestamp that indicates when this metadata object was last modified. |
label | string | false | The locale neutral label for this metadata object. |
description | string | false | The locale neutral description for this metadata object. |
localizedLabels | array [Localized Label] | false | The localized labels that are associated with this metadata object. |
localizedDescriptions | array [Localized Description] | false | The localized descriptions that are associated with this metadata object. |
Status | Meaning | Description | ||
---|---|---|---|---|
200 | OK | The request succeeded. | Headers | Schema |
400 | Bad Request | The request was invalid. | Schema | |
412 | Precondition Failed | The reference list in the request body was out of date. | Schema | |
428 | Precondition Required | The reference list in the request body did not contain a version. | Schema |