Skip to main content

Get Integration Request Status

Get status of integration request created at Add Integration Request api.

Request​

GET:/{integrationId}/integration

Request Parameters​

ParameterDescriptionType
accountBookIdThe accountBookId of the company.numberrequired
appAccountIdIntegration app’s account id.stringrequired

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
FieldDescriptionTypeRemark
integrationIdGlobally unique identifier for integration.guidnullableIt will be null if the request is pending or rejected.
isApprovedIntegration request status. true indicate the request is approved.boolean
isPendingIntegration request status. true indicate the request is pending.boolean
isRejectedIntegration request status. true indicate the request is rejected.boolean
Example of Success Response Body
{
"integrationId": null,
"isApproved": false,
"isPending": true,
"isRejected": false
}

Error Response​