Overview
This web service updates the invoice workflow status for one or more cost cards.
Request Format
- PwsSetCostCardInvoiceWorkflowStatus
- serviceRequest: PwsSetCostCardInvoiceWorkflowStatusRq
- RequestId: Int32
- SessionTicket: String
- CostCardIdentities: PwsVersionedCostCardRef[]
- InvoiceWorkflowStatus: String
- SendApprovalEmailFlag: Boolean
- serviceRequest: PwsSetCostCardInvoiceWorkflowStatusRq
Request Elements
Element | Data Type | Required? | Default | Description | Sample Data |
---|---|---|---|---|---|
RequestId | Int32 | ||||
SessionTicket | String | ||||
CostCardIdentities | |||||
InvoiceWorkflowStatus | String | ||||
SendApprovalEmailFlag | Boolean |
Request Usage Example(s)
Response Format
- PwsSetCostCardInvoiceWorkflowStatusResponse
- PwsSetCostCardInvoiceWorkflowStatusResult: PwsSetCostCardInvoiceWorkflowStatusRs
- Messages: PwsMessage[]
- ResponseId: Int32
- Status: RequestStatus
- ServerTimestampUtc: DateTime
- CostCardIdentities: PwsCostCardRef[]
- PwsSetCostCardInvoiceWorkflowStatusResult: PwsSetCostCardInvoiceWorkflowStatusRs
Response Elements
Element | Data Type | Default | Description | Sample Data |
---|---|---|---|---|
Messages | 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-08-22T17:50:23.1025831Z | |
CostCardIdentities | The identity of the cost cards that have been updated. |
Response Usage Example(s)
PwsSetCostCardApprovalWorkflowStatus - Common Errors and Warnings
- For all errors and warnings please refer to the Complete List of Errors and Warnings
ErrorNumber | ErrorCode | ErrorText |
---|---|---|
19057 | InvalidValueForCostCardInvoiceWorkflowStatus | The specified value for cost card invoice workflow status is invalid. Valid values are N for Not Approved to Invoice, A for Approved to Invoice, D for Draft Invoiced and I for Invoiced. Values of D and I are only valid when querying for existing data. |
65723 | StatusChangeCannotBeCompletedCostCardsChangedOrIneligible | Status change cannot be completed because one or more cards has changed or is ineligible. |