PwsDeleteExpenseDocument
Overview
This web service deletes a specified expense document (PwsExpenseDocumentRef).
Rate Limiting
In order to protect our servers from inadvertent service overuse or intentional attack, and to fairly distribute services to all our customers, we have implemented a rate limiting algorithm. When fully deployed, this new algorithm will cause services to either succeed with new warnings or fail with new errors when services are consumed at too high a rate. Programs that consume Projector services should be enhanced to handle rate limiting errors so that they can continue functioning properly. For more information please visit: Projector Rate Limiting Behavior.
Request Format
- PwsDeleteExpenseDocument
- serviceRequest: PwsDeleteExpenseDocumentRq
- RequestId: Int32
- SessionTicket: String
- ExpenseDocumentIdentity: PwsExpenseDocumentRef
- ResourceIdentity: PwsResourceRef (deprecated)
- serviceRequest: PwsDeleteExpenseDocumentRq
Request Elements
Element | Data Type | Required? | Description | Sample Data |
---|---|---|---|---|
RequestId | Int32 | No | Click here for more information | |
SessionTicket | String | Yes | Click here for more information | Ad9/vlTyZRtWnsPuFVHm7w== |
ExpenseDocumentIdentity | Yes | The expense document that will be deleted | ||
ResourceIdentity | No | ** This field has been deprecated |
Request Usage Example(s)
Response Format
- PwsDeleteExpenseDocumentResponse
- PwsDeleteExpenseDocumentResult: PwsDeleteExpenseDocumentRs
- Messages: PwsMessage[]
- ResponseId: Int32
- Status: RequestStatus
- ServerTimestampUtc: DateTime
- PwsDeleteExpenseDocumentResult: PwsDeleteExpenseDocumentRs
Response Elements
Element | Data Type | Description | Sample Data |
---|---|---|---|
Messages | The web service response status and message. Click here for more information. | ||
ResponseId | Int32 | Click here for more information. | 1 |
Status | Click here for more information. | Ok | |
ServerTimestampUtc | DateTime | Click here for more information. | 2018-02-13T16:21:01.5714232Z |
Response Usage Example(s)
PwsDeleteExpenseDocument - Common Errors and Warnings
- For all errors and warnings please refer to the Complete List of Errors and Warnings
ErrorNumber | ErrorCode | ErrorText |
---|---|---|
19025 | ExpenseDocumentNotSpecifiedForDelete | No expense document was specified for delete. |
19073 | ExpenseDocumentIdentityRequired | An expense document identity must be specified. |
65477 | NoPermissionToMaintainExpenseDocument | The expense document is locked. You do not have permission to modify the expense document. |
65494 | ExpenseDocumentNotFound | Expense document not found |
65495 | ExpenseDocumentHasBeenUpdatedByAnotherUser | Expense document has been changed. |
65750 | OneOrMoreExpenseDocumentsCannotBeDeleted | One or more expense documents cannot be deleted. |