...
This web service retrieves a list of companines (PwsCompanySummary), based on specified search criteria. You can specify which company or comapnies companies to retrieve either by specifying a set of search criteria, or by specifying a specific company (PwsCompanyRef).
...
Panel | ||
---|---|---|
| ||
|
Response Elements
Element | Data Type | Description | Sample Data |
---|---|---|---|
Messages | The web service response status and message. Click here for more information. | ||
ResponseId | Int32 | Click here for more information. | 0 |
Status | RequestStatus | Click here for more information | Ok |
ServerTimestampUtc | DateTime | Click here for more information. | 2018-03-12T19:05:15.1551043Z |
Companies | The company summary records retrieved by the service. Click here for more information. |
...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"> <s:Body> <PwsGetCompanyListResponse xmlns="http://projectorpsa.com/PwsProjectorServices/"> <PwsGetCompanyListResult xmlns:a="http://projectorpsa.com/DataContracts/Requests/" 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-12T19:19:47.5775428Z</ServerTimestampUtc> <a:Companies xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/"> <b:PwsCompanySummary> <b:CompanyId i:nil="true"/> <b:CompanyName>Revolutionary Solutions Corporation China</b:CompanyName> <b:CompanyUid>1152921504606852297</b:CompanyUid> <b:CompanyNumber>003</b:CompanyNumber> <b:Currency> <b:CurrencyCode>CNY</b:CurrencyCode> <b:CurrencyId i:nil="true"/> <b:CurrencyUid>1152921504606849973</b:CurrencyUid> </b:Currency> <b:TaxType1 i:nil="true"/> <b:TaxType2 i:nil="true"/> <b:TaxType3 i:nil="true"/> </b:PwsCompanySummary> </a:Companies> </PwsGetCompanyListResult> </PwsGetCompanyListResponse> </s:Body> </s:Envelope> |
PwsGetCompanyList - Common Errors and Warnings
- For all errors and warnings please refer to the Complete List of Errors and Warnings
ErrorNumber | ErrorCode | ErrorText |
---|---|---|
57339 | CompanyNotFound | The specified company was not found. |