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 |
Body parameter
{
"lookups": [
{
"lookupName": "string",
"value": 0
}
]
}
Query parameters
Name | Type | Required |
---|---|---|
|
|
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}'
Response
200 Response
{
"success": true
}
Status | Meaning | Description | Schema |
---|---|---|---|
| success | ||
| error |