2.5: Approval Status
To check the approval status of an insurance request, issue this command.
Command
dump entt_{entity's id}|insr_{category}-{type}-{package}-{instance id}*STATUS
- entity's id should be the id of the entity.
- category should be the insurance category.
- type should be the insurance type.
- package should be the insurance package.
- instance id should be the insurance instance id.
Example:
dump entt_1234567890abcdefghij1234567890ab|insr_phnn-cmpr-1111-1234567890abcdefghij1234567890ab*STATUS
{
"srvcVrsn": "2",
"userInfo": {
"id": "1649341365262035599lb0f76kytdegy",
"athrzt": {
"id": "user12",
"key": "pass89"
}
},
"cmmnd": {
"cmmnd": "dump entt_1234567890abcdefghij1234567890ab|insr_phnn-cmpr-1111-1234567890abcdefghij1234567890ab*STATUS"
}
}
Response Sample
{
"exctnFdbck": {
"id": "75"
},
"status": "d",
"note": "The person's means of identification failed validation."
}
Data Id | Meaning | Further Info |
---|---|---|
status | This data stands for approval status of the request. | Possible values are: p: Processing; d: Declined; and a: Approved. |
note | This data may be present only when the value of status is d. | This data stands for the reason why the request was declined. This data should not be displayed unchecked to end-users, as it sometimes contains data you may not want to expose. |
tmstmp | This data is present only when the value of status is a. This data stands for the time the insurance was approved. | This data is also what is considered as the commencement date of the insurance; the time of the submission of the request is not what is considered. This data takes the format YYYY-MM-DD HH:MM:SS. |
Updated about 3 years ago