GET /api/v1/ExternalBatch/{ExternalBatchRef}/Status
This request returns the status of an external batch.
Request Endpoint
/api/v1/ExternalBatch/{ExternalBatchRef}/Status
Sample Curl
curl -X GET --header 'Accept: application/json' --header 'Pragma: no-cache' --header 'Cache-Control: no-cache' 'http://localhost/BrainwareAPI/api/v1/ExternalBatch/BWB0000000001/Status'
Sample Request
GET /ExternalBatch/BWB0000000001/Status
Parameters
Parameter | Description | Type | Required |
---|---|---|---|
ExternalBatchRef | External batch reference | string | required |
Response
Element | Description | Type | Possible Values | ||
---|---|---|---|---|---|
status | External batch status | integer |
|
Sample Response
{ "status": 0 }
Response Codes
Code | Description |
---|---|
200 | External batch status returned. |
404 | External batch does not exist. |
422 | Invalid external batch reference. |