...
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. | ASIpnfWeYNJkYt6nFvepDA== |
EndDate | DateTime | No | The EndDate and the StartDate defines the period in which the time off hours should reside in |
ResourceIdentity | No | The identity of the resource |
StartDate | DateTime | No | See EndDate |
TimeOffReasonIdentity | No | The identity of the time off reason |
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:com="http://projectorpsa.com/DataContracts/Shared/Common/"> <soapenv:Header/> <soapenv:Body> <pws:PwsGetResourceAvailableTimeOff> <pws:serviceRequest> <req:RequestId>1</req:RequestId> <req:SessionTicket>ASIpnfWeYNJkYt6nFvepDA==</req:SessionTicket> <req:EndDate>2018-12-31T00:00:00.000Z</req:EndDate> <req:ResourceIdentity> <com:ResourceReferenceSystemId>E123</com:ResourceReferenceSystemId> </req:ResourceIdentity> <req:StartDate>2018-01-01T00:00:00.000Z</req:StartDate> <req:TimeOffReasonIdentity> <com:TimeOffReasonName>Vacation</com:TimeOffReasonName> </req:TimeOffReasonIdentity> </pws:serviceRequest> </pws:PwsGetResourceAvailableTimeOff> </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. |
Status | Click here for more information. |
ServerTimestampUtc | DateTime | Click here for more information. |
ResourceAvailableTimeOffSchedule | The resource available time off schedule |
Response Usage Example(s)
...
- For all errors and warnings please refer to the Complete List of Errors and Warnings
ErrorNumber | ErrorCode | ErrorText |
---|---|---|
50045 | ViewPermissionDenied | You do not have permission to view this item. |
57545 | ResourceNotFound | The specified resource does not exist. |
57567 | SpecifiedTimeOffReasonDoesNotExist | The specified time off reason does not exist. |