Validate Lookup
Validates a lookup.
Request:
POST {TenantURL}/lookups/validate
Name | Required | Description | |
---|---|---|---|
Headers |
Content-Type
|
Yes | Should be "Content-Typapplication/json ".
|
Body
|
Yes | JSON object with the lookup. |
Response
Success if validation has been passed.
Example
POST /api/{
tenant
}/lookups/validate{
"parents":[
{
"type":"STATE_CD",
"codeValue":"CA"
},
{
"type":"STATE_CD",
"codeValue":"CO"
}
],
"codeValues":[
{
"type":"CITY_CD",
"codeValue":"LA"
},
{
"type":"CITY_CD",
"codeValue":"SF"
},
...
]
}