Unify and manage your data

List Lookups by Type

Returns a list of lookups by specified type.

Request:

POST {TenantURL}/lookups/list
Table 1. Parameters
Name Required Description
Headers Content-Type Yes Should be "Content-Typapplication/json".
Body Yes JSON object with the lookup type.

Response

JSON object with lookup values.

Example

POST /api/{
   tenant
}/lookups/list{
   "parents":[
      {
         "type":"COUNTRY_CD",
         "codeValue":"US"
      }
   ],
   "type":"STATE_CD",
   "max"   100,
   "displayNamePrefix"   "C"
}
{
   "parents":[
      {
         "type":"COUNTRY_CD",
         "codeValue":"US"
      }
   ],
   "codeValues":{
      "STATE_CD":{
         "CA":{
            "displayName":"California"
         },
         "CO":{
            "displayName":"Colorado"
         },
        ...
      }
   }
}