...
This web service retrieves a resource's expense schedule per day for within a given date range
Request Format
...
Panel | ||
---|---|---|
| ||
|
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 |
Request Usage Example(s)
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:pws="http://projectorpsa.com/PwsProjectorServices/" xmlns:req="http://projectorpsa.com/DataContracts/Requests/" xmlns:tim="http://projectorpsa.com/DataContracts/Shared/TimeAndCost/" xmlns:com="http://projectorpsa.com/DataContracts/Shared/Common/"> <soapenv:Header/> <soapenv:Body> <pws:PwsGetResourceExpenseSchedule> <pws:serviceRequest> <req:RequestId>1</req:RequestId> <req:SessionTicket>AfMtiadjKEErha/5LNfifA==</req:SessionTicket> <tim:EndDate>2018-03-31T00:00:00.000Z</tim:EndDate> <tim:StartDate>2018-03-01T00:00:00.000Z</tim:StartDate> </pws:serviceRequest> </pws:PwsGetResourceExpenseSchedule> </soapenv:Body> </soapenv:Envelope> |
...
Panel | ||
---|---|---|
| ||
|
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 | PwsExpenseScheduleDay [???] | The full details of the resource's expense schedule per day |
Response Usage Example(s)
...
- 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. |