Attach documents to a sale
This method allows documents to be attached to a sale, for example disability certificates or large family/single-parent family supporting documents.
Access method
Section titled “Access method”PUT /Sale
Request structure
Section titled “Request structure”The request Content-Type must be multipart/form-data, including the following fields:
SaleId: (string)Required. Sale identifier.Attachments: (list[list])Required. Array in which each element is a byte array containing the document to be attached.
Request example
Section titled “Request example”Response structure
Section titled “Response structure”-
Timestamp: (dateTime). Time at which the request was processed. ISO 8601 format (yyyy-MM-ddThh:mm:ss.fffffff). -
Success: (boolean). Value that indicates whether the call was processed correctly or not. -
Errors: (list). Array of errors.Error: (object).ErrorMessage: (string). Error message explaining why the request was not successful. If it was correct, it will returnnull.ErrorCode: (int). Code that identifies the error.
-
ErrorEntityBreakDown(list): list that contains objects with the name and ID in case of error.Id(string): identifierName(string): related name of the identifier.