Overview
This web service submits updates the approval workflow status for one or more time cards
Request Format
PwsSetTimeCardApprovalWorkflowStatus Request
- PwsSetTimeCardApprovalWorkflowStatus
- serviceRequest: PwsSetTimeCardApprovalWorkflowStatusRq
- RequestId: Int32
- SessionTicket: String
- ApprovalWorkflowStatus: String (1)
- RejectedReason: String
- SendRejectEmailFlag: Boolean
- TimeCardIdentities: PwsVersionedTimecardRef
- serviceRequest: PwsSetTimeCardApprovalWorkflowStatusRq
Request Elements
Element | Data Type | Required? | Default | Description | Sample Data |
---|---|---|---|---|---|
Int32 | No | Click here for more information. | 1 | ||
String | Yes | Click here for more information. | Ad0gaqAh34T3anLQ/dUmpQ== | ||
ApprovalWorkflowStatus | String(1) | Yes | The approval workflow status D for Draft R for Rejected S for Submitted A for Approved | R | |
RejectedReason | String | Yes (if the ApprovalWorkflowStatus is set to "R") | The reason the time card was rejected. This is a required field if the ApprovalWorkflowStatus is set to "R". | "Please review the date" | |
SendRejectEmailFlag | Boolean | No | false | If set to "true", an email will be sent informing the resource that a time card has been rejected. Note: This is only applicable if the ApprovalWorkflowStatus is set to "R". | |
TimeCardIdentites | PwsVersionTimeCardRef | Yes | This is the time card identity or identities that will be updated with a new approval workflow status |