Versions Compared

Key

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

...

Panel
titlePwsGetResourceWorkingSchedule Request
  • PwsGetResourceWorkingSchedule

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

PwsResourceRef

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
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: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
titlePwsGetResourceWorkingSchedule 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

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)

...


ErrorNumber

ErrorCode

ErrorText

10116InvalidDateValueSpecifiedThe 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.
50223NoPermissionToActOnBehalfOfResourceThe specified user does not have permission to act on behalf of this resource.
57545ResourceNotFoundThe specified resource does not exist.