Overview
This web service adjusts one or more time cards for daily billing. Daily billing allows you to round hours to a whole day and invoice for that day. For example, if you worked four hours, but your minimum billing is for full days, the bill will be adjusted up from four to eight hours.
Request Format
PwsAdjustTimeForDailyBilling Request
- PwsAdjustTimeForDailyBilling
- serviceRequest: PwsAdjustTimeDescriptionRq
- RequestId: Int32
- SessionTicket: String
- AdjustmentCodeIdentity: PwsAdjustmentCodeRef
- AdjustmentOrders: PwsDailyBillingAdjustmentOrder
- Explanation: String (1024)
- serviceRequest: PwsAdjustTimeDescriptionRq
Request Elements
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 | AWuKIeUvHQC5lNzuzE3Ugg== | |
AdjustmentCodeIdentity | PwsAdjustmentCodeRef | No | This structure represents the unique key fields associated with identifying an adjustment code. | ||
AdjustmentOrders | PwsDailyBillingAdjustmentOrder | No | This structure represents the fields associated with a time card daily billing adjustment | ||
Explanation | String (1024) | No | An explanation as to why this adjustment was applied. | Time Card Description update |
Request Usage Example(s)
Response Format
PwsAdjustTimeForDailyBilling Response
PwsAdjustTimeForDailyBilling Response
- PwsAdjustTimeDescriptionResult: PwsAdjustTimeDescriptionRs
- Messages: PwsMessage[]
- ResponseId: Int32
- Status: RequestStatus
- ServerTimestampUtc: DateTime
- TimeCardIdentities: PwsTimeCardRef
Response Elements
Element | Data Type | Description | Sample Data |
---|---|---|---|
Messages | PwsMessage[] | The web service response status and message. Click here for more information. | |
ResponseId | Int32 | Click here for more information | 1 |
Status | RequestStatus | Click here for more information | Ok |
ServerTimestampUtc | DateTime | Click here for more information | 2019-11-07T16:34:28.3799228Z |
TimeCardIdentities | PwsTimeCardRef | The identities of the time cards that were updated. |
Response Usage Example(s)
PwsAdjustTimeForDailyBilling - Common Errors and Warnings
- For all errors and warnings please refer to the Complete List of Errors and Warnings
ErrorNumber | ErrorCode | ErrorText |
---|---|---|
20036 | NumberOfDaysOutOfRange | The specified value for number of days is out of range. Please specify a value greater than zero. |
50024 | EntityNotFound | Time Card was not found. Another user may have deleted it. |
64365 | OneOrMoreTimeCardsIneligibleForAdjustment | Adjustment cannot be completed because one or more cards has changed or is ineligible for adjustment. |