PwsGetTimeCardApprovers
Overview
This web service retrieves a list of time card approvers (PwsUserSummary), based upon a unique time card identifier (PwsTimeCardRef)
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
- PwsGetTimeCardApprovers
- serviceRequest: PwsGetTimeCardApproversRq
- RequestId: Int32
- SessionTicket: String
- TimeCardIdentity: PwsTimeCardRef
- serviceRequest: PwsGetTimeCardApproversRq
Request Elements
Element | Data Type | Required? | Description | Sample Data |
---|---|---|---|---|
Int32 | No | Click here for more information. | 1 | |
String | Yes | Click here for more information. | AT9QI7QhQKsYP2rPMg5Ilg== | |
TimeCardIdentity | Yes | The identity of the time card. |
Request Usage Example(s)
Response Format
- PwsGetTimeCardApproversResponse
- PwsGetTimeCardApproversResult: PwsGetTimeCardApproversRs
- Messages: PwsMessage[]
- ResponseId: Int32
- Status: RequestStatus
- ServerTimestampUtc: DateTime
- Approvers: PwsUserSummary[]
- PwsGetTimeCardApproversResult: PwsGetTimeCardApproversRs
Response Elements
Element | Data Type | Description | Sample Data |
---|---|---|---|
Messages | The web service response status and message. Click here for more information. | ||
Int32 | Click here for more information. | 1 | |
Status | Click here for more information. | Ok | |
DateTime | Click here for more information. | 2018-03-12T14:50:07.7100629Z | |
Approvers | The identity of the time card approver(s). |
Response Usage Example(s)
PwsGetTimeCardApprovers - Common Errors and Warnings
- For all errors and warnings please refer to the Complete List of Errors and Warnings
ErrorNumber | ErrorCode | ErrorText |
---|---|---|
19093 | UnexpectedTimeCardType | Unexpected value for TimeCardType. Valid values are T or R. |
64220 | InvalidTimeCard | A specified time card identity was incomplete. Each time card identity must specify either a time card id or time card uid. |