Overview
This web service updates the payment workflow status for one or more cost cards.
Request Format
- PwsSetCostCardPaymentWorkflowStatus
- serviceRequest: PwsSetCostCardPaymentWorkflowStatusRq
- RequestId: Int32
- SessionTicket: String
- PaymentWorkflowStatus: String
- SendApprovalEmailFlag: Boolean
- SendApprovalToPayEmailFlag: Boolean
- SendPaidEmailFlag: Boolean
- StatusOrders: PwsCostPwsChangeOrder[]
- serviceRequest: PwsSetCostCardPaymentWorkflowStatusRq
Request Elements
Element | Data Type | Required? | Default | Description |
---|---|---|---|---|
RequestId | Int32 |
|
|
|
SessionTicket | String |
|
|
|
PaymentWorkflowStatus | String |
|
|
|
SendApprovalEmailFlag | Boolean |
|
|
|
SendApprovalToPayEmailFlag | Boolean |
|
|
|
SendPaidEmailFlag | Boolean |
|
|
|
StatusOrders |
|
|
|
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. | AUmQP6quTuUK5v2QUR0fRw== | |
ApprovalWorkflowStatus | String | Yes | The approval workflow status 'D' for Draft 'R' for Rejected 'S' for Submitted 'A' for Approved | A | |
CostCardIdentities | Yes | This is the cost card identity or identities that will be updated with a new approval workflow status | |||
RejectedReason | String | Yes (if the ApprovalWorkflowStatus is set to "R") | The reason the cost card was rejected. This is a required field if the ApprovalWorkflowStatus is set to "R". | ||
SendApprovalRejectionEmailFlag | Boolean | No | false | If set to "true", an email will be sent informing the resource that the cost card has been rejected. Note: This is only applicable if the ApprovalWorkflowStatus is set to "R". |
Request Usage Example(s)
Response Format
- PwsSetCostCardApprovalWorkflowStatusResponse
- PwsSetCostCardApprovalWorkflowStatusResult: PwsSetCostCardApprovalWorkflowStatusRs
- Messages: PwsMessage[]
- ResponseId: Int32
- Status: RequestStatus
- ServerTimestampUtc: DateTime
- CostCardIdentities: PwsCostCardRef[]
- PwsSetCostCardApprovalWorkflowStatusResult: PwsSetCostCardApprovalWorkflowStatusRs
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 |
---|---|---|
19046 | InvalidValueForCostCardApprovalWorkflowStatus | The specified value for cost card approval workflow status is invalid. Valid values are D for Draft, R for Rejected, S for Submitted and A for Approved. |
19050 | RejectedReasonRequiredWhenRejecting | A reject reason is required when rejecting cost cards. |
65491 | CostCardNotFound | CostCard not found |
65723 | StatusChangeCannotBeCompletedCostCardsChangedOrIneligible | Status change cannot be completed because one or more cards has changed or is ineligible. |