...
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. | AcsjFlnb6JTLhBDDgVd7bg== |
EndDate | DateTime | Yes | The EndDate (in UTC format) and the StartDate (in UTC format) defines the period of the resource's schedule that should be retrieved | 2018-03-31T00:00:00.000Z |
ResourceIdentity | No | The resource associated with the schedule when other than the authenticated user. If a resource identity is not specified the schedule of the authenticated user will be submitted. |
StartDate | DateTime | Yes | See EndDate | 2018-03-28T00:00:00.000Z |
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:PwsGetResourceWorkingSchedule> <pws:serviceRequest> <req:RequestId>1</req:RequestId> <req:SessionTicket>AcsjFlnb6JTLhBDDgVd7bg==</req:SessionTicket> <tim:EndDate>2018-03-31T00:00:00.000Z</tim:EndDate> <tim:StartDate>2018-03-28T00:00:00.000Z</tim:StartDate> </pws:serviceRequest> </pws:PwsGetResourceWorkingSchedule> </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-21T14:26:20.2162604Z |
WorkingSchedule | PwsWorkingScheduleDay [???] | The complete details of a resource's working day schedule |
Response Usage Example(s)
...
- For all errors and warnings please refer to the Complete List of Errors and Warnings
ErrorNumber | ErrorCode | ErrorText |
---|---|---|
10116 | InvalidDateValueSpecified | The date specified in the field "StartDate" in the class "PwsGetResourceWorkingScheduleRq" is invalid or out of range. The time component of the specified date must be midnight UTC. |
50223 | NoPermissionToActOnBehalfOfResource | The specified user does not have permission to act on behalf of this resource. |
57545 | ResourceNotFound | The specified resource does not exist. |