Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Overview


This web service deletes a specified resource's (PwsResourceRef) available time off hours for a specific time off reason ( PwsTimeOffReasonRef). 

Request Format


PwsDeleteResourceAvailableTimeOff 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.

AUL1Tsqbhar4SWXC5j9T+w== 

EndDate

DateTime

No 

The EndDate and the StartDate defines the period in which the time off hours should be deleted, leaving either field null will result in all available time off hours to be deleted

2018-01-31T00:00:00.000Z

ResourceIdentity

PwsResourceRef

Yes 

The resource identity


StartDate

DateTime

No 

See EndDate

2018-01-01T00:00:00.000Z

TimeOffReasonIdentity

PwsTimeOffReasonRef

Yes 

The time off reason identity


Request Usage Example(s)


Example 01
<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:PwsDeleteResourceAvailableTimeOff>
         <pws:serviceRequest>
            <req:RequestId>1</req:RequestId>
            <req:SessionTicket>AUL1Tsqbhar4SWXC5j9T+w==</req:SessionTicket>
            <req:EndDate>2018-01-31T00:00:00.000Z</req:EndDate>
            <req:ResourceIdentity>
               <com:ResourceDisplayName>Jack Spratt</com:ResourceDisplayName>
               <com:ResourceReferenceSystemId>E123</com:ResourceReferenceSystemId>
            </req:ResourceIdentity>
            <req:StartDate>2018-01-01T00:00:00.000Z</req:StartDate>
            <req:TimeOffReasonIdentity>
               <com:TimeOffReasonName>Vacation</com:TimeOffReasonName>
               <com:TimeOffReasonUid>1152921504606858293</com:TimeOffReasonUid>
            </req:TimeOffReasonIdentity>
         </pws:serviceRequest>
      </pws:PwsDeleteResourceAvailableTimeOff>
   </soapenv:Body>
</soapenv:Envelope>

Response Format


PwsDeleteResourceAvailableTimeOff Response

Response Elements


Element

Data Type

Required?

Default

Description

Sample Data

Messages

PwsMessage[]





ResponseId

Int32



Click here for more information.


Status

RequestStatus



Click here for more information.


ServerTimestampUtc

DateTime



Click here for more information.


  • No labels