Get Integration Request Status
Get status of integration request created at Add Integration Request api.
Request
GET:/{integrationId}/integrationRequest Parameters
| Parameter | Description | Type | |
|---|---|---|---|
accountBookId | The accountBookId of the company. | number | required |
appAccountId | Integration app’s account id. | string | required |
Example of Request URL:
Parameters:accountBookId = 1 appAccountId = 194218d5-6a25-4f64-9248-246b9c63dd25 URL:
GET: https://onerewards-integration-api.autocountcloud.com/integration?accountBookId=1&appAccountId=194218d5-6a25-4f64-9248-246b9c63dd25 Response
Success Response
Status Code: 200
Response Body
Integration Result Model
| Field | Description | Type | Remark | |
|---|---|---|---|---|
integrationId | Globally unique identifier for integration. | guid | nullable | It will be null if the request is pending or rejected. |
isApproved | Integration request status. true indicate the request is approved. | boolean | ||
isPending | Integration request status. true indicate the request is pending. | boolean | ||
isRejected | Integration request status. true indicate the request is rejected. | boolean |
Example of Success Response Body
{
"integrationId": null,
"isApproved": false,
"isPending": true,
"isRejected": false
}