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

« Previous Version 49 Next »

Overview

This web service retrieves a list of client summary records (PwsClientSummary), based on specified search criteria (PwsClientRef). 

Request Format


PwsGetClientList Request
  • PwsGetClientListRq
    • RequestId: Int32
    • SessionTicket: String (50)
    • ClientIdentity: PwsClientRef
    • IncludeInactiveFlag: Boolean
    • MaxRowsToReturn: Int32
    • QueryString: String (50)
    • LastUpdatedSinceTimestamp: DateTime


Request Elements


ElementData TypeRequired?DefaultDescriptionSample Data
RequestIdInt32No
Click here for more information.1
SessionTicketString (50)Yes
Click here for more information.
AcjOqKSXoUYG3qLkrxKQYw==
ClientIdentityPwsClientRefNo
For this service, the caller may specify up to 1 client identity. If a client identity is not specified all clients fitting the criteria will be returned.
IncludeInactiveFlagBooleanNofalseValid values for this field include "true" or "false". If set to true, inactive clients will be included in the response.true/false
MaxRowsToReturnInt32NoinfiniteMaximum number of clients to be returned.100
QueryStringString (50)No
Find all clients matching specified string in client name or client number.Acme
LastUpdatedSinceTimestampDateTimeNo
Only clients that have been updated on or after the specified date/time will be retrieved.
2017-12-27

Request Usage Example(s)


Example 01 - Client is not specified
      <PwsGetClientList>
         <serviceRequest>
            <RequestId>1</RequestId>
            <SessionTicket>AcjOqKSXoUYG3qLkrxKQYw==</SessionTicket>
            <IncludeInactiveFlag>true</IncludeInactiveFlag>
            <MaxRowsToReturn>100</MaxRowsToReturn>
         </serviceRequest>
      </PwsGetClientList>
Example 02 - Client is specified
      <PwsGetClientList>
         <serviceRequest>
            <RequestId>2</RequestId>
            <SessionTicket>AcjOqKSXoUYG3qLkrxKQYw==</SessionTicket>
            <ClientIdentity>
               <ClientNumber>Projector PSA</ClientNumber>
            </ClientIdentity>
            <IncludeInactiveFlag>true</IncludeInactiveFlag>
         </serviceRequest>
      </PwsGetClientList>

Response Format


PwsClientRs


Response Elements


ElementData TypeDescriptionSample Data
MessagesPwsMessageClick here for more information
ResponseIdInt32Click here for more information2
StatusStringClick here for more infomrationOk
ServerTimestampUtcDateTimeClick here for more informaton
2017-12-27T18:23:22.3881313Z
ClientsPwsClientSummaryClient Summary Record(s) retrieved by the service

Response Usage Example(s)



Example 01
      <PwsGetClientListResponse>
         <PwsGetClientListResult>
            <Messages i:nil="true"/>
            <ResponseId>2</ResponseId>
            <Status>Ok</Status>
            <ServerTimestampUtc>2017-12-27T18:23:22.3881313Z</ServerTimestampUtc>
            <Clients>
               <PwsClientSummary>
                  <ClientId i:nil="true"/>
                  <ClientNumber>Projector PSA</ClientNumber>
                  <ClientUid>1152921504606961482</ClientUid>
                  <ClientName>Projector PSA</ClientName>
                  <InactiveFlag>false</InactiveFlag>
                  <ParentClientIdentity i:nil="true"/>
               </PwsClientSummary>
            </Clients>
         </PwsGetClientListResult>
      </PwsGetClientListResponse>

PwsGetClientList - Common Errors and Warnings

ErrorCodeErrorNumberErrorText
104RowCountExceededRow count limit exceeded
10100MaxRowsToReturnOutOfRangeInvalid value specified for MaxRowsToReturn
50045ViewPermissionDeniedPermission denied
57629ClientNotFoundSpecified client not found
57633UnexpectedErrorRetrievingClientListUnexpected error retrieving client list
  • No labels