Overview
Retrieve Batch Status is a web service that allows a user to retrieve up to the last 10 (ten) batches uploaded to the Netcash system.
The web service will return all batches, whether they were uploaded via the web service -or manually created via the Netcash web site.
This service relates to the Debit Order Collections, Creditor and Salary Payments services only.
Similar Services
Technical Information
RetrieveBatchStatus is an online, synchronous web service that allows an external system to request up to the last 10 (ten) batches uploaded on the service and receive an immediate response. This service permits only a single request per web service call.
From your application call:
- Web service: https://ws.netcash.co.za/NIWS/NIWS_NIF.svc
- Method: RetrieveBatchStatus
- Submit one of the following Service Keys relevant to the batches to be returned:
- Debit Order service key
- Creditor Payments service key
- Salary Payments service key
Output
You will receive the following numeric code which you need to replace with the description in your application.
Numeric Response | Description |
---|---|
100 | Authentication failed |
200 | Web service error contact support@netcash.co.za |
311 | Service key not valid for this service |
If there is no error, you will receive a tab-delimited string response containing the last 10 batches loaded against the service key submitted.
Note: The system will return a maximum of 10 batches, if fewer than 10 are found in the system, all the batches will be returned.
The format of the response
Field | Description |
---|---|
Service key | The service key submitted in the request |
Batch ID | The batch ID allocated by the Netcash system |
Batch name | The batch name allocated by the Netcash Format: {Service} batch for {Action date} EG: Debit batch for 2017-07-01 |
Status | 1 – Unauthorised 2 – Authorised 3 – Locked 4 – Processed 5 – Insufficient funds (Applicable to payment batches only) |
Batch volume | The number of transactions in the batch |
Batch value | The total value of the batch |
Created on | Date and time the batch was loaded to the Netcash system Format: CCYY-MM-DD HH:MM:SS.mmm EG: 2017-07-01 08:40:34.517 |
Authorised on | Date and time the batch was authorized on the Netcash system Format: CCYY-MM-DD HH:MM:SS.mmm EG: 2017-07-01 08:40:34.517 Batches never authorised will have the default value 1900-01-01 00:00:00.000 |
Unauthorised on | Date and time the batch was unauthorised on the Netcash system Format: CCYY-MM-DD HH:MM:SS.mmm This field should be read in conjunction with the status field – batches may have been unauthorised and subsequently re-authorised. |
Netcash brand guidelines
Please refer to the Netcash brand guidelines here when using any logos, images, icons, labels, descriptions, and references to Netcash in your software.
Testing
See the Testing section for more details. If you require any integration assistance contact our technical support team