Versions Compared

Key

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

...

Panel
titlePwsGetOnBehalfOfResources 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.

0

StatusRequestStatusClick here for more information

Ok

ServerTimestampUtc

DateTime

Click here for more information.

2018-03-12T14:57:19.319861Z

Resources

PwsOnBehalfOfResource[]

The resource that authenticated user can enter time or cost for. Click here for more information.


...

Code Block
languagejava
titleExample 02 - with resource
collapsetrue
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body>
      <PwsGetOnBehalfOfResourcesResponse xmlns="http://projectorpsa.com/PwsProjectorServices/">
         <PwsGetOnBehalfOfResourcesResult xmlns:a="http://projectorpsa.com/DataContracts/Shared/TimeAndCost/" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
            <Messages xmlns="http://projectorpsa.com/CommonServices/" xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/"/>
            <ResponseId xmlns="http://projectorpsa.com/CommonServices/">0</ResponseId>
            <Status xmlns="http://projectorpsa.com/CommonServices/">Ok</Status>
            <ServerTimestampUtc xmlns="http://projectorpsa.com/CommonServices/">2018-03-12T15:49:02.3452499Z</ServerTimestampUtc>
            <a:Resources xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
               <b:PwsOnBehalfOfResource>
                  <b:ResourceDisplayName>Larry Krakauer</b:ResourceDisplayName>
                  <b:ResourceId i:nil="true"/>
                  <b:ResourceReferenceSystemId>097</b:ResourceReferenceSystemId>
                  <b:ResourceUid>1152921504606963016</b:ResourceUid>
                  <b:EmailAddress>Larry@revcorp.doc</b:EmailAddress>
                  <b:FirstName>Larry</b:FirstName>
                  <b:LastName>Krakauer</b:LastName>
                  <b:MiddleName>A</b:MiddleName>
                  <b:InactiveFlag>false</b:InactiveFlag>
                  <b:DashboardOboFlag>false</b:DashboardOboFlag>
                  <b:ExpenseReportingOboFlag>false</b:ExpenseReportingOboFlag>
                  <b:TimeEntryOboFlag>true</b:TimeEntryOboFlag>
                  <b:TimeOffOboFlag>false</b:TimeOffOboFlag>
               </b:PwsOnBehalfOfResource>
            </a:Resources>
         </PwsGetOnBehalfOfResourcesResult>
      </PwsGetOnBehalfOfResourcesResponse>
   </s:Body>
</s:Envelope>

PwsGetOnBehalfofResourceResult - Common Errors and Warnings

...