Overview
This web service retrieves a resource's expense schedule per day within a given date range
Request Format
- PwsGetResourceExpenseSchedule
- serviceRequest: PwsGetResourceExpenseScheduleRq
- RequestId: Int32
- SessionTicket: String
- EndDate: DateTime
- ResourceIdentity: PwsResourceRef
- StartDate: DateTime
- ExpenseDocumentIdentity: PwsExpenseDocumentRef
- serviceRequest: PwsGetResourceExpenseScheduleRq
Request Elements
Element | Data Type | Required? | Description | Sample Data |
---|---|---|---|---|
RequestId | Int32 | No | Click here for more information. | 1 |
SessionTicket | String | Yes | Click here for more information. | AfMtiadjKEErha/5LNfifA== |
EndDate | DateTime | Yes | The EndDate and the StartDate (in UTC format) defines the date range that will be applied as a filter in the search | 2018-03-31T00:00:00.000Z |
ResourceIdentity | No | The resource identity when acting on behalf of another user. If this value is not set, the expense schedule associated with the authenticated user will be included in the response | 2018-03-01T00:00:00.000Z | |
StartDate | DateTime | Yes | See EndDate | |
ExpenseDocumentIdentity | PwsExpenseDocumentRef | No |
Request Usage Example(s)
Response Format
- PwsGetResourceExpenseScheduleResponse
- PwsGetResourceExpenseScheduleResult: PwsGetResourceExpenseScheduleRs
- Messages: PwsMessage[]
- ResponseId: Int32
- Status: RequestStatus
- ServerTimestampUtc: DateTime
- ExpenseSchedule: PwsExpenseScheduleDay[]
Response Elements
Element | Data Type | Description | Sample Data |
---|---|---|---|
Messages | The web service response status and message. 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-03-21T17:54:57.0414972Z |
ExpenseSchedule | The full details of the resource's expense schedule per day |
Response Usage Example(s)
PwsGetResourceExpenseSchedule - Common Errors and Warnings
- For all errors and warnings please refer to the Complete List of Errors and Warnings
ErrorNumber | ErrorCode | ErrorText |
---|---|---|
10103 | NothingToDo | There is nothing to do. |
20024 | StartDateRequiredForGetResourceSchedule | A start date must be specified. |
20025 | InvalidValueForResourceScheduleStartDate | The specified start date must be expressed as midnight UTC on the desired date. |
20026 | EndDateRequiredForGetResourceSchedule | An end date must be specified |
20027 | InvalidValueForResourceScheduleEndDate | The specified end date must be expressed as midnight UTC on the desired date. |
50045 | ViewPermissionDenied | You do not have permission to view this item. |
57545 | ResourceNotFound | The specified resource does not exist. |