Lookup
The Lookup resource is used to return data that is currently stored in the cached lookup tables.
Categories:
Note
Refer to Session Management and Configuration for more information on CachedLookups and settings adjustment.Return Cached Lookup Data
This endpoint returns the cached lookup data for a specific table.
POST lookup/lookup
Parameters
| Name | Description |
|---|---|
| LookupCode | Specifies the lookup table name (for example, ‘branch’, ‘brand’). If missing, the response includes data from all lookup tables. |
Note
To reset the cached lookup table, use the POST/system/services/lookups/refresh endpoint.
Sample: Returning Data from a Cached Lookup Table
POST /lookup/lookup
{
"LookupCode": "BRANCH"
}[
{
"tableName": "BRANCH",
"tableData": [
{
"code": "4",
"descr": "Andersons Ottawa"
},
{
"code": "9",
"descr": "Andersons Delta Warehouse"
}
]
}
]"LookupCode not found."Feedback
Was this page helpful?
Thank you! Have additional feedback? We would love to hear from you!
Sorry to hear that. Please tell us how we can improve.