Skip to content

updateLookup

PUT
Use dark colors for code blocksCopy
1
/{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:

ParameterDescriptionData Type
lookupNameRequired. Name of the lookup to be created or updated.String
valuesRequired. Assign value to the different lookup names.Integer

Query parameters

NameTypeRequired
tokenstring¦null

Body parameters

Supported content types: application/json

Type: Lookups

The lookup table to be created or updated

NameTypeRequired
lookups[Lookup]

Path parameters

NameTypeRequired
lookupTypestring
orgIdstring
itemIdstring

Response status

StatusMeaningDescriptionSchema
200OK

success

Success
500Internal Server Error

error

WorkflowJsonExceptionDTO

Examples

Request

Use dark colors for code blocksCopy
1
2
3
4
5
# You can also use wget
curl -X PUT /{orgId}/{itemId}/lookups/{lookupType} \
  -H 'Content-Type: application/json' \
  -H 'Authorization: Bearer <YOUR_TOKEN>' \
  --data '{"lookups":[{"lookupName":"string","value":0}]}'

Response

Use dark colors for code blocksCopy
1
2
3
{
  "success": true
}

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.