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


Request Format

PwsGetDepartmentList Request

Request Elements

Element

Data Type

Required?

Default

Description

Sample Data

RequestId

Int32



Click here for more information.


SessionTicket

String



Click here for more information.


DepartmentIdentity

PwsDepartmentRef





MaxRowsToReturn

Int32





QueryString

String





Request Usage Example(s)


Example 01 - use department identity
<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:PwsGetDepartmentList>
         <pws:serviceRequest>
            <req:SessionTicket>ARNkL4C1bp7KLtsSXQW6/g==</req:SessionTicket>
            <req:DepartmentIdentity>
               <com:DepartmentName>Technology</com:DepartmentName>
            </req:DepartmentIdentity>
            <req:MaxRowsToReturn>6</req:MaxRowsToReturn>
         </pws:serviceRequest>
      </pws:PwsGetDepartmentList>
   </soapenv:Body>
</soapenv:Envelope>
Example 02 - use query string
<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:PwsGetDepartmentList>
         <pws:serviceRequest>
            <req:SessionTicket>ARNkL4C1bp7KLtsSXQW6/g==</req:SessionTicket>
            <req:MaxRowsToReturn>6</req:MaxRowsToReturn>
            <req:QueryString>Management</req:QueryString>
         </pws:serviceRequest>
      </pws:PwsGetDepartmentList>
   </soapenv:Body>
</soapenv:Envelope>

Response Format

PwsGetDepartmentList Response

Response Elements

Element

Data Type

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.


Departments

PwsDepartmentSummary



Response Usage Example(s)


Example 01 - use department identity
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body>
      <PwsGetDepartmentListResponse xmlns="http://projectorpsa.com/PwsProjectorServices/">
         <PwsGetDepartmentListResult xmlns:a="http://projectorpsa.com/DataContracts/Responses/" 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-08T16:59:32.3174314Z</ServerTimestampUtc>
            <a:Departments xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
               <b:PwsDepartmentSummary>
                  <b:DepartmentId i:nil="true"/>
                  <b:DepartmentName>Technology</b:DepartmentName>
                  <b:DepartmentUid>1152921504606851320</b:DepartmentUid>
               </b:PwsDepartmentSummary>
            </a:Departments>
         </PwsGetDepartmentListResult>
      </PwsGetDepartmentListResponse>
   </s:Body>
</s:Envelope>
Example 02 - use query string
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body>
      <PwsGetDepartmentListResponse xmlns="http://projectorpsa.com/PwsProjectorServices/">
         <PwsGetDepartmentListResult xmlns:a="http://projectorpsa.com/DataContracts/Responses/" 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-08T17:05:10.2334412Z</ServerTimestampUtc>
            <a:Departments xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
               <b:PwsDepartmentSummary>
                  <b:DepartmentId i:nil="true"/>
                  <b:DepartmentName>Management</b:DepartmentName>
                  <b:DepartmentUid>1152921504606851319</b:DepartmentUid>
               </b:PwsDepartmentSummary>
            </a:Departments>
         </PwsGetDepartmentListResult>
      </PwsGetDepartmentListResponse>
   </s:Body>
</s:Envelope>                    

Common Errors and Warnings

ErrorNumberErrorCodeErrorText



  • No labels