...
This web service retrieves a list of client summary records (PwsClientSummary), based on specified search criteria. You can specify which client or clients to retrieve either by specifying a set of search criteria, or by specifying a specific client (PwsClientRef). The web service returns a list of clients (PwsClientSummary).
Request Format
Panel |
---|
title | PwsGetClientList Request |
---|
|
| |
...
Request Elements
Element | Data Type | Required? | Default | Description | PwsClientRef | PwsClientRef [1] | no |
---|
IncludeInactiveFlag | Boolean | no | false | Valid values for this field include "true" or "false". If set to true, inactive clients will be included in the response. |
MaxRowsToReturn | Int32 | no | infinite | Maximum number of clients to be returned |
QueryString | String | no | Find all clients matching specified string in client name or client number |
Usage Example(s)
...
language | xml |
---|
title | Example 01 - Client is not specified |
---|
collapse | true |
---|
...
Sample Data |
---|
RequestId | Int32 | No |
| Click here for more information | 1 |
SessionTicket | String (50) | Yes |
| Click here for more information | AavFwbZgVb9V4tr3R7BbzQ== |
ClientIdentity | PwsClientRef | No |
| For this service, the caller may specify a client identity to retrieve a specific client summary. If a client identity is not specified all clients fitting the other specified criteria will be returned. |
|
IncludeInactiveFlag | Boolean | No | false | If set to 'true', inactive clients will be included in the response. This flag is disregarded if a client is specified in ClientIdentity. | true/false |
MaxRowsToReturn | Int32 | No |
| The maximum number of clients to be returned. This value is disregarded if a client is specified in ClientIdentity. | 100 |
QueryString | String (255) | No |
| A search string to narrow down the results. A client will be included in the results if the search string matches the client number or client name, or if it is a child to a client that is matched based upon the criteria. This value is disregarded if a client is specified in ClientIdentity. | Parent |
LastUpdatedSinceTimestamp | DateTime | No |
| Only clients that have been updated on or after the specified date/time will be retrieved. This value is disregarded if a client is specified in ClientIdentity. | 2018-01-01 |
Request Usage Example(s)
Code Block |
---|
language | xml |
---|
title | Example 01 - Client is not specified |
---|
collapse | true |
---|
|
<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:PwsGetClientList>
<pws:serviceRequest>
<!--ClientNumber>?</ClientNumber--> <req:RequestId>1</req:RequestId>
<!--ClientUid>?</ClientUid--><req:SessionTicket>AavFwbZgVb9V4tr3R7BbzQ==</req:SessionTicket>
</ClientIdentity><req:IncludeInactiveFlag>false</req:IncludeInactiveFlag>
<IncludeInactiveFlag>true</IncludeInactiveFlag><req:MaxRowsToReturn>100</req:MaxRowsToReturn>
<!--MaxRowsToReturn>?</MaxRowsToReturn--><req:QueryString>Parent</req:QueryString>
<!<req:LastUpdatedSinceTimestamp>2018-01-QueryString>?</QueryString-->01</req:LastUpdatedSinceTimestamp>
<!--LastUpdatedSinceTimestamp>?</LastUpdatedSinceTimestamp--></pws:serviceRequest>
</serviceRequest>pws:PwsGetClientList>
</soapenv:Body>
</PwsGetClientList>soapenv:Envelope> |
Code Block |
---|
language | xml |
---|
title | Example 02 - Client is specified |
---|
collapse | true |
---|
|
<soapenv:Envelope <PwsGetClientList>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>
<serviceRequest> <pws:PwsGetClientList>
<RequestId>1</ <pws:serviceRequest>
<req:RequestId>1</req:RequestId>
<SessionTicket>AcjOqKSXoUYG3qLkrxKQYw<req:SessionTicket>AavFwbZgVb9V4tr3R7BbzQ==</req:SessionTicket>
<ClientIdentity><req:ClientIdentity>
<!--ClientId>?</ClientId--><com:ClientNumber>C000121</com:ClientNumber>
<ClientNumber>Projector PSA</ClientNumber></req:ClientIdentity>
<!--ClientUid>?</ClientUid--><req:IncludeInactiveFlag>false</req:IncludeInactiveFlag>
</ClientIdentity>pws:serviceRequest>
</pws:PwsGetClientList>
<IncludeInactiveFlag>true</IncludeInactiveFlag>
<!--MaxRowsToReturn>?</MaxRowsToReturn-->
<!--QueryString>?</QueryString-->
<!--LastUpdatedSinceTimestamp>?</LastUpdatedSinceTimestamp-->
</serviceRequest>
</PwsGetClientList> |
Response Format
- This response also includes the Common Output Elements
Response Elements
...
Usage Examples
</soapenv:Body>
</soapenv:Envelope> |
Response Format
Response Elements
Response Usage Example(s)
Code Block |
---|
language | xml |
---|
title | Example 01 - Client is not specified |
---|
collapse | true |
---|
|
<a:Clients xmlns:b="<s:Envelope xmlns:s="http://projectorpsaschemas.xmlsoap.comorg/DataContractssoap/Shared/Commonenvelope/">
<s:Body>
<b:PwsClientSummary><PwsGetClientListResponse xmlns="http://projectorpsa.com/PwsProjectorServices/">
<b:ClientId i:nil="true"/<PwsGetClientListResult xmlns:a="http://projectorpsa.com/DataContracts/Responses/" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<Messages <b:ClientNumber>Air Acme</b:ClientNumber>xmlns="http://projectorpsa.com/CommonServices/" xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/"/>
<ResponseId xmlns="http://projectorpsa.com/CommonServices/">1</ResponseId>
<b:ClientUid>1152921504606949187</b:ClientUid> <Status xmlns="http://projectorpsa.com/CommonServices/">Ok</Status>
<b:ClientName>Air Canada</b:ClientName> <ServerTimestampUtc xmlns="http://projectorpsa.com/CommonServices/">2018-01-17T19:52:55.4411759Z</ServerTimestampUtc>
<b:InactiveFlag>false</b:InactiveFlag>
<a:Clients xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
<b:ParentClientIdentity>PwsClientSummary>
<b:ClientId i:nil="true"/>
<b:ClientNumber>Constellation Acme<ClientNumber>C000121</b:ClientNumber>
<b:ClientUid>1152921504606956489<ClientUid>1152921504606998462</b:ClientUid>
<b:ClientName>Parent Inc.</b:ParentClientIdentity>
ClientName>
</b:PwsClientSummary> <b:PwsClientSummary><b:InactiveFlag>false</b:InactiveFlag>
<b:ClientIdParentClientIdentity i:nil="true"/>
<b:ClientNumber>River<</b:ClientNumber>PwsClientSummary>
<b:PwsClientSummary>
<b:ClientUid>1152921504606971723</b:ClientUid> <b:ClientName>River</b:ClientName><b:ClientId i:nil="true"/>
<b:InactiveFlag>false<ClientNumber>C000123</b:InactiveFlag>ClientNumber>
<b:ParentClientIdentity i:nil="true"/>:ClientUid>1152921504606998464</b:ClientUid>
<b:ClientName>Child Inc.</b:PwsClientSummary>ClientName>
<b:InactiveFlag>false</b:PwsClientSummary>InactiveFlag>
<b:ClientId i:nil="true"/>ParentClientIdentity>
<b:ClientNumber>FR123</b:ClientNumber>:ClientId i:nil="true"/>
<b:ClientUid>1152921504606973698<ClientNumber>C000121</b:ClientUid>ClientNumber>
<b:ClientName>Fruits and Chocolates<ClientUid>1152921504606998462</b:ClientName>ClientUid>
<b:InactiveFlag>false<</b:InactiveFlag>ParentClientIdentity>
</b:PwsClientSummary>
<b:ParentClientIdentity i:nil="true"/> </ba:PwsClientSummary>Clients>
</PwsGetClientListResult>
<b:PwsClientSummary> </PwsGetClientListResponse>
<b:ClientId i:nil="true"/>
<b:ClientNumber>RI123</b:ClientNumber>
<b:ClientUid>1152921504606949188</b:ClientUid>
<b:ClientName>Realty Inc.</b:ClientName>
<b:InactiveFlag>false</b:InactiveFlag>
<b:ParentClientIdentity i:nil="true"/>
</b:PwsClientSummary>
<b:PwsClientSummary>
<b:ClientId i:nil="true"/>
<b:ClientNumber>D545</b:ClientNumber>
<b:ClientUid>1152921504606968450</b:ClientUid>
<b:ClientName>Dogs Dogs Dogs</b:ClientName>
<b:InactiveFlag>false</b:InactiveFlag>
<b:ParentClientIdentity i:nil="true"/>
</b:PwsClientSummary>
<b:PwsClientSummary>
<b:ClientId i:nil="true"/>
<b:ClientNumber>C000109</b:ClientNumber>
<b:ClientUid>1152921504606971245</b:ClientUid>
<b:ClientName>Sound Shack</b:ClientName>
<b:InactiveFlag>false</b:InactiveFlag>
<b:ParentClientIdentity i:nil="true"/>
</b:PwsClientSummary>
<b:PwsClientSummary>
<b:ClientId i:nil="true"/>
<b:ClientNumber>C000110</b:ClientNumber>
<b:ClientUid>1152921504606973604</b:ClientUid>
<b:ClientName>Platinum Service</b:ClientName>
<b:InactiveFlag>false</b:InactiveFlag>
<b:ParentClientIdentity i:nil="true"/>
</b:PwsClientSummary>
<b:PwsClientSummary>
<b:ClientId i:nil="true"/>
<b:ClientNumber>C000112</b:ClientNumber>
<b:ClientUid>1152921504606980895</b:ClientUid>
<b:ClientName>Temperate Destinations</b:ClientName>
<b:InactiveFlag>false</b:InactiveFlag>
<b:ParentClientIdentity i:nil="true"/>
</b:PwsClientSummary>
<b:PwsClientSummary>
<b:ClientId i:nil="true"/>
<b:ClientNumber>C000113</b:ClientNumber>
<b:ClientUid>1152921504606987273</b:ClientUid>
<b:ClientName>R17-B14</b:ClientName>
<b:InactiveFlag>false</b:InactiveFlag>
<b:ParentClientIdentity i:nil="true"/>
</b:PwsClientSummary>
<b:PwsClientSummary>
<b:ClientId i:nil="true"/>
<b:ClientNumber>C000114</b:ClientNumber>
<b:ClientUid>1152921504606987286</b:ClientUid>
<b:ClientName>R17-B17</b:ClientName>
<b:InactiveFlag>false</b:InactiveFlag>
<b:ParentClientIdentity i:nil="true"/>
</b:PwsClientSummary>
<b:PwsClientSummary>
<b:ClientId i:nil="true"/>
<b:ClientNumber>C000115</b:ClientNumber>
<b:ClientUid>1152921504606989357</b:ClientUid>
<b:ClientName>S-Miles Corporation</b:ClientName>
<b:InactiveFlag>false</b:InactiveFlag>
<b:ParentClientIdentity i:nil="true"/>
</b:PwsClientSummary>
<b:PwsClientSummary>
<b:ClientId i:nil="true"/>
<b:ClientNumber>C000116</b:ClientNumber>
<b:ClientUid>1152921504606989620</b:ClientUid>
<b:ClientName>Cat World</b:ClientName>
<b:InactiveFlag>false</b:InactiveFlag>
<b:ParentClientIdentity i:nil="true"/>
</b:PwsClientSummary>
<b:PwsClientSummary>
<b:ClientId i:nil="true"/>
<b:ClientNumber>C000118</b:ClientNumber>
<b:ClientUid>1152921504606989807</b:ClientUid>
<b:ClientName>Acme 100</b:ClientName>
<b:InactiveFlag>false</b:InactiveFlag>
<b:ParentClientIdentity i:nil="true"/>
</b:PwsClientSummary>
<b:PwsClientSummary>
<b:ClientId i:nil="true"/>
<b:ClientNumber>C000119</b:ClientNumber>
<b:ClientUid>1152921504606989815</b:ClientUid>
<b:ClientName>Hedgehog Gardening</b:ClientName>
<b:InactiveFlag>false</b:InactiveFlag>
<b:ParentClientIdentity i:nil="true"/>
</b:PwsClientSummary>
<b:PwsClientSummary>
<b:ClientId i:nil="true"/>
<b:ClientNumber>C001000</b:ClientNumber>
<b:ClientUid>1152921504606989813</b:ClientUid>
<b:ClientName>Acme 1000-01</b:ClientName>
<b:InactiveFlag>false</b:InactiveFlag>
<b:ParentClientIdentity>
<b:ClientId i:nil="true"/>
<b:ClientNumber>C000118</b:ClientNumber>
<b:ClientUid>1152921504606989807</b:ClientUid>
</b:ParentClientIdentity>
</b:PwsClientSummary>
<b:PwsClientSummary>
<b:ClientId i:nil="true"/>
<b:ClientNumber>C001001</b:ClientNumber>
<b:ClientUid>1152921504606989814</b:ClientUid>
<b:ClientName>Acme 1000-02</b:ClientName>
<b:InactiveFlag>false</b:InactiveFlag>
<b:ParentClientIdentity i:nil="true"/>
</b:PwsClientSummary>
<b:PwsClientSummary>
<b:ClientId i:nil="true"/>
<b:ClientNumber>CL0009</b:ClientNumber>
<b:ClientUid>1152921504606984049</b:ClientUid>
<b:ClientName>Target</b:ClientName>
<b:InactiveFlag>false</b:InactiveFlag>
<b:ParentClientIdentity i:nil="true"/>
</b:PwsClientSummary>
<b:PwsClientSummary>
<b:ClientId i:nil="true"/>
<b:ClientNumber>CL0010</b:ClientNumber>
<b:ClientUid>1152921504606984050</b:ClientUid>
<b:ClientName>W6 Airlines</b:ClientName>
<b:InactiveFlag>false</b:InactiveFlag>
<b:ParentClientIdentity i:nil="true"/>
</b:PwsClientSummary>
<b:PwsClientSummary>
<b:ClientId i:nil="true"/>
<b:ClientNumber>Projector PSA</b:ClientNumber>
<b:ClientUid>1152921504606961482</b:ClientUid>
<b:ClientName>Projector PSA</b:ClientName>
<b:InactiveFlag>false</b:InactiveFlag>
<b:ParentClientIdentity i:nil="true"/>
</b:PwsClientSummary>
<b:PwsClientSummary>
<b:ClientId i:nil="true"/>
<b:ClientNumber>revcorp-bb</b:ClientNumber>
<b:ClientUid>1152921504606944619</b:ClientUid>
<b:ClientName>revcorp-bb</b:ClientName>
<b:InactiveFlag>false</b:InactiveFlag>
<b:ParentClientIdentity i:nil="true"/>
</b:PwsClientSummary>
<b:PwsClientSummary>
<b:ClientId i:nil="true"/>
<b:ClientNumber>C736718</b:ClientNumber>
<b:ClientUid>1152921504606967386</b:ClientUid>
<b:ClientName>Concrete Research and Development</b:ClientName>
<b:InactiveFlag>false</b:InactiveFlag>
<b:ParentClientIdentity i:nil="true"/>
</b:PwsClientSummary>
<b:PwsClientSummary>
<b:ClientId i:nil="true"/>
<b:ClientNumber>12938028212</b:ClientNumber>
<b:ClientUid>1152921504606960351</b:ClientUid>
<b:ClientName>Constellations Inc.</b:ClientName>
<b:InactiveFlag>false</b:InactiveFlag>
<b:ParentClientIdentity i:nil="true"/>
</b:PwsClientSummary>
<b:PwsClientSummary>
<b:ClientId i:nil="true"/>
<b:ClientNumber>12938028213</b:ClientNumber>
<b:ClientUid>1152921504606966758</b:ClientUid>
<b:ClientName>Orion Inc.</b:ClientName>
<b:InactiveFlag>false</b:InactiveFlag>
<b:ParentClientIdentity>
<b:ClientId i:nil="true"/>
<b:ClientNumber>12938028212</b:ClientNumber>
<b:ClientUid>1152921504606960351</b:ClientUid>
</b:ParentClientIdentity>
</b:PwsClientSummary>
<b:PwsClientSummary>
<b:ClientId i:nil="true"/>
<b:ClientNumber>12938028214</b:ClientNumber>
<b:ClientUid>1152921504606966759</b:ClientUid>
<b:ClientName>Milky Way Inc.</b:ClientName>
<b:InactiveFlag>false</b:InactiveFlag>
<b:ParentClientIdentity>
<b:ClientId i:nil="true"/>
<b:ClientNumber>12938028212</b:ClientNumber>
<b:ClientUid>1152921504606960351</b:ClientUid>
</b:ParentClientIdentity>
</b:PwsClientSummary>
</a:Clients></s:Body>
</s:Envelope>
|
PwsGetClientList - Common Errors and Warnings
- For all errors and warnings please refer to the Complete List of Errors and Warnings
ErrorNumber | ErrorCode | ErrorText |
---|
104 | RowCountExceeded | Row count limit exceeded |
10100 | MaxRowsToReturnOutOfRange | Invalid value specified for MaxRowsToReturn |
50045 | ViewPermissionDenied | Permission denied |
57629 | ClientNotFound | Specified client not found |
57633 | UnexpectedErrorRetrievingClientList | Unexpected error retrieving client list |