Overview
This structure contains represents the error details results of a failed cost card insert or saveor update. Multiple cost cards can be submitted for insert or update in a single request to PwsSaveExpenseDocument or PwsSaveExpenseDocumentCostCard. These operations can partially succeed, meaning some cards were successfully saved while others triggered errors and could not be saved. The web service will report back details about each cost card, whether it succeeded or failed, by returning a collection of these structures. For failed cards, 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 cost card insert or save | ||
ReferenceId | String | Reference id (used to affiliate PwsSaveCostCardResult records affiliate PwsSaveCostCardResult records with associated PwsCostCardDetail records). | 123 |
Usage Example(s)
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<a:PwsSaveCostCardResult> <a:ErrorDetail xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/"> <b:ErrorCode>ExpenseTypeNotFound</b:ErrorCode> <b:ErrorNumber>59912</b:ErrorNumber> <b:ErrorText>Expense type not found.</b:ErrorText> </a:ErrorDetail> <a:ReferenceId>123</a:ReferenceId> </a:PwsSaveCostCardResult> |