/{orgId}/{itemId}/lookups/{lookupType}
Create or update a lookup table
Create or update a lookup table. The adminBasic or adminAdvanced privilege is required.
Lookup Parameters:
Parameter | Description | Data Type |
---|---|---|
lookupName | Required. Name of the lookup to be created or updated. | String |
values | Required. Assign value to the different lookup names. | Integer |
Query parameters
Name | Type | Required |
---|---|---|
|
|
Body parameters
Supported content types: application/json
Name | Type | Required | Description |
---|---|---|---|
The lookup table to be created or updated | |||
|
| ||
|
| ||
|
|
Path parameters
Name | Type | Required |
---|---|---|
|
| |
|
| |
|
|
Examples
Request
# You can also use wget
curl -X PUT /{orgId}/{itemId}/lookups/{lookupType} \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer {access-token}' \
--data '{"lookups":[{"lookupName":"string","value":0}]}'
Response
Status | Meaning | Description | Schema |
---|---|---|---|
| success | ||
| error |