SuccessResultPostingErrorResultPostingBatchResultSuccessResultResponse
Wraps a successful API response with the result payload.
correlationIduuid
A unique ID of the request
Example:
fb0ccbbc-62bc-447f-a47e-02b490e25690isSuccessboolean
Indicates whether the request was successful. Always true for success responses.
Example:
trueresult object
Represents the result of a batch operation, containing both succeeded and failed items.
succeeded object[]
The items that were processed successfully.
Array [
iduuid
The unique identifier of the created resource.
linkstringnullable
The URL link to access the created resource.
inputIndexint32
statusCodeint32
externalInvoiceIdstringnullable
The external invoice identifier from the request.
postingLineNumberint32nullable
The posting line number within the invoice.
]
failed object[]
The items that failed during processing.
Array [
errorstringnullable
The error message describing why the operation failed.
inputIndexint32
statusCodeint32
externalInvoiceIdstringnullable
The external invoice identifier from the request.
postingLineNumberint32nullable
The posting line number within the invoice.
]
SuccessResultPostingErrorResultPostingBatchResultSuccessResultResponse
{
"correlationId": "fb0ccbbc-62bc-447f-a47e-02b490e25690",
"isSuccess": true,
"result": {
"succeeded": [
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"link": "string",
"inputIndex": 0,
"statusCode": 0,
"externalInvoiceId": "string",
"postingLineNumber": 0
}
],
"failed": [
{
"error": "string",
"inputIndex": 0,
"statusCode": 0,
"externalInvoiceId": "string",
"postingLineNumber": 0
}
]
}
}