Versions Compared

Key

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

...

Panel
titlePwsGetDepartmentList Request

Request Elements

Element

Data Type

Required?

Default

Description

Sample Data

RequestId

Int32

No


Click here for more information.


SessionTicket

String

Yes


Click here for more information.

ARNkL4C1bp7KLtsSXQW6/g==

DepartmentIdentity

PwsDepartmentRef

No


For this service, the caller may specify a department identity to retrieve a specific department summary. If a department identity is not specified all departments fitting the other specified criteria will be returned.


MaxRowsToReturn

Int32

No


The maximum number of titles to be returned. This value is disregarded if a department is specified in DepartmentIdentity.

5

QueryString

String

No


A search string to narrow down the results. A department will be included in the results if the search string matches the department name. This value is disregarded if a department is specified in DepartmentIdentity.

Tech

Request Usage Example(s)


Code Block
languagexml
titleExample 01 - use department identity
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: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>

...

Element

Data Type

Description

Sample Data

Messages

PwsMessage

The web service response status and message. Click herefor more information.


ResponseId

Int32

Click here for more information.

0

Status

RequestStatusClick here for more information
Ok

ServerTimestampUtc

DateTime

Click here for more information.

2018-03-08T16:59:32.3174314Z

Departments

PwsDepartmentSummary



...

ErrorNumberErrorCodeErrorText
57575DepartmentNotFoundThe specified department does not exist.