GET /batches/statusCodes

Gets a list of valid batch status codes. Batch status codes are used to identify the state in which a batch is in. This operation is for reference purposes only.

For a detailed description of common Batch status codes and which operations are allowed for each status, please see Batches.

Request

Ensure the bearer token is included in the Header of the GET operation:

Header
Mandatory
Description

Authorization

Yes

Bearer token from /authentication/getToken

Response

An array of status codes will be returned:

[
  {
    "code": "string",
    "description": "string"
  }
]
Field
Response Type
Description

code

string

Unique status code used for Batches

description

string

Friendly description of the status code.

Example Response
[
  {
    "code": "CANCELLED",
    "description": "Cancelled"
  },
  {
    "code": "CLOSED",
    "description": "Closed"
  },
  {
    "code": "DRAFT",
    "description": "In draft"
  },
  {
    "code": "OPEN",
    "description": "Open batch"
  }
]

Last updated