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 48 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?DefaultDescription
RequestIdInt32No
Click here for more information.
SessionTicketString (50)Yes
Click here for more information.
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.
MaxRowsToReturnInt32NoinfiniteMaximum number of clients to be returned.
QueryStringString (50)No
Find all clients matching specified string in client name or client number.
LastUpdatedSinceTimestampDateTimeNo
Only clients that have been updated on or after the specified date/time will be retrieved.

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 TypeDescription
MessagesPwsMessageThe web service response status and Message.
ResponseIdInt32Click here for more information.
StatusStringClick here for more infomration.
ServerTimestampUtcDateTimeClick here for more informaton.
ClientsPwsClientSummaryClient Summary Record(s) retrieved by the service.

Response Usage Example(s)



Example 01
      <PwsGetClientListResponse>
         <PwsGetClientListResult>
            <Messages>
               <PwsMessage>
                  <AdditionalErrorText i:nil="true"/>
                  <ErrorCode i:nil="true"/>
                  <ErrorNumber i:nil="true"/>
                  <ErrorText i:nil="true"/>
                  <Type i:nil="true"/>
                  <ReferenceId1 i:nil="true"/>
                  <ReferenceId2 i:nil="true"/>
               </PwsMessage>
            </Messages>
            <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