Overview
This web service inserts or updates cost cards based on a detailed cost card structure (PwsCostCardDetail). The service returns the identity (PwsCostCardRef) of the cost card that has been inserted or updated. The caller can optionally request that the full cost card detail (PwsCostCardElement) be included in the response.
...
Panel | ||
---|---|---|
| ||
|
...
Element | Data Type | Required? | Default | Description | Sample Data |
---|---|---|---|---|---|
RequestId | Int32 | No | Click here for more information. | 1 | |
SessionTicket | String | Yes | Click here for more information. | AfMtiadjKEErha/5LNfifA== | |
Comments | String | No | Cost Card save / update comments. | Cost Card Creation | |
CostCard | deprecated | *** This field has been deprecated *** | |||
DeleteReceipts | No | The receipts to be deleted. | |||
ExpenseDocumentIdentity | On Insert: yes On Update: No | The expense document associated with the cost card. | |||
ExpenseDocumentTimestamp | String | No | This is a Base64 encoded timestamp utilized for expense document locking. To protect against overwriting other changes, you may optionally echo back the timestamp returned by a call to PwsGetExpenseDocumentCostCard (or a prior call to PwsSaveExpenseDocumentCostCard). This will cause the request to fail if any change has been made between invocations of PwsGetExpenseDocumentCostCard and PwsSaveExpenseDocumentCostCard. | ||
FullDetailFlag | Boolean | No | false | If set to 'true', include full detailed cost card element in response | true |
InsertReceiptsIfNotFoundOnUpdateFlag | Boolean | No | If set to 'true', specified receipts that are not found during an update will instead be inserted. | false | |
ResourceIdentity | deprecated | ** This field has been deprecated ** | |||
SaveReceipts | On Insert: No On Update: No | The receipt details to be inserted or updated | |||
UpdateReceiptsIfFoundOnInsertFlag | Boolean | deprecated | ** This field has been deprecated ** | ||
PreserveCostCardStatusFlag | Boolean | deprecated | ** This field has been deprecated ** | ||
CostCards | On Insert: Yes On Update: No | The cost card details of a new cost card |
...