Skip to content

getLookups

GET
Use dark colors for code blocksCopy
1
/{orgId}/{itemId}/lookups/{lookupType}
Get lookup table by type

Query parameters

NameTypeRequired
tokenstring¦null

Path parameters

NameTypeRequired
lookupTypestring
orgIdstring
itemIdstring

Response status

StatusMeaningDescriptionSchema
200OK

List of lookups of a given type

Lookups
404Not Found

error

WorkflowExceptionDTO
500Internal Server Error

error

WorkflowJsonExceptionDTO

Examples

Request

Use dark colors for code blocksCopy
1
2
3
# You can also use wget
curl -X GET /{orgId}/{itemId}/lookups/{lookupType} \
  -H 'Authorization: Bearer <YOUR_TOKEN>'

Response

Use dark colors for code blocksCopy
1
2
3
4
5
6
7
8
{
  "lookups": [
    {
      "lookupName": "string",
      "value": 0
    }
  ]
}

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