notifyBenefitSync
URL: https://www.isv.host:port/isv/provided/path/for/benefit/sync/notify
With this API call, our server can notify an Independent Software Vendor (ISV) of the result of benefit synchronization.
The message structure of this API is defined by us. When the ISV develops this API, follow the specifications below.
Note: If the ISV returns error codes not defined by us, we handle them as system errors.
Structure
A message consists of a header and body. The following sections are focused on the body structure. For the header structure, see:
Request parameters
Field | Data type | Required | Description |
benefitSyncRequestId | String | Yes | Indicates the unique ID assigned by the ISV to identify a request of benefit synchronization.
|
syncStatus | String | No | Indicates the status of benefit synchronization. Valid values are:
|
syncFailCode | String | No | Indicates the error code of benefit synchronization. Valid values are:
Note: This field is required when the value of syncStatus is |
syncFailReason | String | No | Indicates the reason why the value of syncStatus is
|
Response parameters
Field | Data type | Required | Description | Example |
success | Boolean | Yes | Indicates whether the ISV received the notification. By default, | "true" |
resultCode | String | No | Indicates the result code.
Note: This field is required when the value of success is | - |
resultMessage | String | No | Indicates the result messages that describe result codes in detail.
| - |
Error codes
Error codes are usually classified into the following categories:
- Common error codes are common across all openAPIs for ISVs. Â
- API-specific error codes are listed in the following table:
Error code | Result status | Error message | Further action |
SYNC_REQUEST_ID_NOT_EXIST | F | The request ID of benefit synchronization does not exist. | Use a valid request ID. |
Samples
Request
{
"benefitIssueRequestId": "20211111010101000001234",
"syncStatus": "FAIL",
"syncFailCode": "AUDIT_FAIL",
"syncFailReason": "audit fail"
}
Response
{
"success": true,
"resultCode": "",
"resultMessage": ""
}