PartnerSalesBatchResponse Model

Response model for the server response to a request to submitting PartnerSalesTransaction records to the server.

Required
batchResult : BatchResponseCode

The overall result of the batch as a whole. As per the BatchResponseCode enum.

Required
batchItemResults : PartnerSalesTransactionBatchItemResult []

A list of individual results for each record in the batch.

Nullable MaxLength(1024)
errorMessage : string

An error message related to the BatchResult value, where applicable.
Will be NULL for successful submissions.

Nullable
zReportID : string (GUID)

The Z Report ID the sales from the batch were allocated to. This should match the Z Report ID in the batch request (if specified), otherwise it will indicate the Z Report ID that was automatically allocated.
Will be NULL if the entire batch submission failed.

Nullable
zReportCounter : number (int)

The Z Report Counter the sales from the batch were allocated to. This is automatically generated by the system when a new Z Report is created for the integration.
Will be NULL if the entire batch submission failed.

Nullable
zReportTarget : PartnerZReportTarget

The Z Report Target the sales from the batch were allocated to. This should match the ZReportTarget in the batch request (if specified), otherwise it will indicate the ZReportTarget that is already assigned to the specified Z Report ID.
Will be NULL if the entire batch submission failed.

Example
{
  "batchResult": 1,
  "batchItemResults": [],
  "errorMessage": "string value",
  "zReportID": "3f49efe7-ea42-4f21-8718-7e6ce9a33512",
  "zReportCounter": 321,
  "zReportTarget": {}
}