Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Panel
titlePwsGetResourceAvailableTimeOff Request

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

PwsResourceRef

No 

The identity of the resource

 


StartDate

DateTime

No 

See EndDate

 


TimeOffReasonIdentity

PwsTimeOffReasonRef

No

The identity of the time off reason

 


Request Usage Example(s)


Code Block
languagexml
titleExample 01
collapsetrue
<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
titlePwsGetResourceAvailableTimeOff Response

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.

 


Status

RequestStatus

Click here for more information.

 


ServerTimestampUtc

DateTime

Click here for more information.

 


ResourceAvailableTimeOffSchedule

PwsResourceAvailableTimeOffElement[???]

The resource available time off schedule

 


Response Usage Example(s)

...


ErrorNumber

ErrorCode

ErrorText

50045ViewPermissionDeniedYou do not have permission to view this item.
57545ResourceNotFoundThe specified resource does not exist.
57567SpecifiedTimeOffReasonDoesNotExistThe specified time off reason does not exist.