PwsTransferOverageHours
Overview
This web service is used in the context of a service contract to transfer hours from a contract line item to a contract line item associated with an overage project
Request Format
PwsTransferOverageHours
- PwsAdjustTimeUserDefinedField
- serviceRequest: PwsAdjustTimeUserDefinedFieldRq
- RequestId: Int32
- SessionTicket: String
- TransferOrders: PwsOverageTransferOrder
- serviceRequest: PwsAdjustTimeUserDefinedFieldRq
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== | |
TransferOrders | PwsOverageTransferOrder | No | This structure represents the fields associated with a service contract overage hours transfer |
Request Usage Example(s)
Response Format
PwsTransferOverageHours Response
- PwsTransferOverageHoursResponse
- PwsTransferOverageHoursResult: PwsTransferOverageHoursRs
- Messages: PwsMessage[]
- ResponseId: Int32
- Status: RequestStatus
- ServerTimestampUtc: DateTime
- TransferResults: PwsOverageTransferResult
- PwsTransferOverageHoursResult: PwsTransferOverageHoursRs
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-06T17:18:38.6934436Z |
TransferResults | PwsOverageTransferResult | The identities of the contract line items that were affected |
Usage Example(s)
PwsTransferOverageHours - Common Errors and Warnings
- For all errors and warnings please refer to the Complete List of Errors and Warnings
ErrorNumber | ErrorCode | ErrorText |
---|---|---|
50024 | EntityNotFound | Contract Line Item was not found. Another user may have deleted it. |
64138 | CannotTransferOverageDueToWrongCliType | This adjustment is only supported for contract line items that support contracted hours and overages. |
64142 | CannotTransferOverageDueToNoPriorPeriod | There is no completed contract period prior to the cutoff date. |
64157 | CannotTransferOverageDueToNoOverageHours | There are no overage hours to be transferred. |