Overview
This structure contains represents the error details results of a failed receipt insert or saveupdate. Multiple receipts can be submitted for insert or update in a single request to PwsSaveExpenseDocument or PwsSaveExpenseDocumentCostCard. These operations can partially succeed, meaning some receipts were successfully saved while others triggered errors and could not be saved. The web service will report back details about each receipt, whether it succeeded or failed, by returning a collection of these structures. For failed receipts, ErrorDetail will provide more details about the nature of the failure.
Format
Panel | ||
---|---|---|
| ||
|
...
Element | Data Type | Description | Sample Data |
---|---|---|---|
ErrorDetail | The error detail regarding the failed receipt insert or saveupdate. | ||
ReferenceId | String | Reference id (used to affiliate PwsSaveReceiptResult records affiliate PwsSaveReceiptResult records with associated PwsReceiptDetail records). |
Usage Example(s)
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<a:PwsSaveReceiptResult> <a:ErrorDetail xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/"> <b:ErrorCode>DocumentNotFound</b:ErrorCode> <b:ErrorNumber>75199</b:ErrorNumber> <b:ErrorText>Document not found.</b:ErrorText> </a:ErrorDetail> <a:ReferenceId i:nil="true"/> </a:PwsSaveReceiptResult> |