Set Lookups for Tenant
Sets a lookup table for the specified tenant:
Use the following request to set a lookup table for a tenant:
POST {TenantURL}/lookups
| Name | Required | Description | |
|---|---|---|---|
| Headers |
Content-Type |
Yes | Should be "Content-Type: application/json".
|
| Body | Yes | JSON object with the lookups table. | |
A "Success" response is returned if lookups have been uploaded
successfully.
Request:
POST{
TenantURL
}/lookups{
"ACCEPT_MEDICARE":{
"U":{
"displayName":"Group has not responded to the question"
},
"N":{
"displayName":"Group does not accept Medicare"
},
"Y":{
"displayName":"Group accepts Medicare"
}
},
"PHONE_FLAG":{
"N":{
"displayName":"No"
},
"Y":{
"displayName":"Yes"
}
},
"SOLO":{
"U":{
"displayName":"Unknown"
},
"N":{
"displayName":"No"
},
"Y":{
"displayName":"Yes"
}
}
}
Response:
POST{
TenantURL
}/lookups{
"status":"success"
}