...
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).
...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<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:PwsGetCompanyList> <pws:serviceRequest> <req:SessionTicket>ATtU220EvBSE2+GCN9U58g==</req:SessionTicket> <req:MaxRowsToReturn>2</req:MaxRowsToReturn> <req:QueryString>Revo</req:QueryString> </pws:serviceRequest> </pws:PwsGetCompanyList> </soapenv:Body> </soapenv:Envelope> |
Code Block |
---|
...
|
...
Companies
...
...
The company summary record(s) retrieved by the service. Click here for more information.
Response Usage Example(s)
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
| ||||||
|
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
...
Ok
...
ServerTimestampUtc
...
DateTime
...
Click here for more information.
...
2018-03-12T19:05:15.1551043Z
| |||
<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:PwsGetCompanyList>
<pws:serviceRequest>
<req:SessionTicket>ATtU220EvBSE2+GCN9U58g==</req:SessionTicket>
<req:CompanyIdentity>
<com:CompanyNumber>003</com:CompanyNumber>
</req:CompanyIdentity>
</pws:serviceRequest>
</pws:PwsGetCompanyList>
</soapenv:Body>
</soapenv:Envelope> |
Response Format
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. |
Response Usage Example(s)
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/"> <b:PwsMessage> <b:AdditionalErrorText>Warning 104: {oldestSurvivingTimeCardWorkDateString}</b:AdditionalErrorText> <b:ErrorCode>RowCountExceeded</b:ErrorCode> <b:ErrorNumber>104</b:ErrorNumber> <b:ErrorText>Not all data rows were returned by this request because the specified row count was smaller than the total number of rows available.</b:ErrorText> <b:Type>Warning</b:Type> </b:PwsMessage> </Messages> <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:05:15.1551043Z</ServerTimestampUtc> <a:Companies xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/"> <b:PwsCompanySummary> <b:CompanyId i:nil="true"/> <b:CompanyName>Revolutionary Solutions Corporation US</b:CompanyName> <b:CompanyUid>1152921504606852296</b:CompanyUid> <b:CompanyNumber>001</b:CompanyNumber> <b:Currency> <b:CurrencyCode>USD</b:CurrencyCode> <PwsGetCompanyListResult xmlns:a="http://projectorpsa.com/DataContracts/Requests/" xmlns:i="http://www.w3.org/2001/XMLSchema-instance" <b:CurrencyId i:nil="true"/> <Messages xmlns="http://projectorpsa.com/CommonServices/" xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/"> <b:CurrencyUid>1152921504606849879</b:CurrencyUid> <b</b:PwsMessage>Currency> <b:AdditionalErrorText>WarningTaxType1 104: {oldestSurvivingTimeCardWorkDateString}</b:AdditionalErrorText>i:nil="true"/> <b:ErrorCode>RowCountExceeded</b:ErrorCode>:TaxType2 i:nil="true"/> <b:ErrorNumber>104</b:ErrorNumber>TaxType3 i:nil="true"/> <b:ErrorText>Not all data rows were returned by this request because the specified row count was smaller than the total number of rows available.</b:ErrorText></b:PwsCompanySummary> <b:PwsCompanySummary> <b:Type>Warning</b:Type>CompanyId i:nil="true"/> </b:PwsMessage> <b:CompanyName>Revolutionary Solutions Corporation CA</b:CompanyName> </Messages> <ResponseId xmlns="http://projectorpsa.com/CommonServices/">0</ResponseId><b:CompanyUid>1152921504606852299</b:CompanyUid> <Status xmlns="http://projectorpsa.com/CommonServices/">Ok</Status> <b:CompanyNumber>002</b:CompanyNumber> <ServerTimestampUtc xmlns="http://projectorpsa.com/CommonServices/">2018-03-12T19:05:15.1551043Z</ServerTimestampUtc> <b:Currency> <a:Companies xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/"> <b:PwsCompanySummary>:CurrencyCode>CAD</b:CurrencyCode> <b:CompanyIdCurrencyId i:nil="true"/> <b:CurrencyUid>1152921504606849881</b:CurrencyUid> <b:CompanyName>Revolutionary Solutions Corporation US<</b:CompanyName>Currency> <b:CompanyUid>1152921504606852296</b:CompanyUid>TaxType1> <b:CompanyNumber>001<TaxTypeCode>GSTCA</b:CompanyNumber>TaxTypeCode> <b:Currency>:TaxTypeId i:nil="true"/> <b:CurrencyCode>USD<TaxTypeUid>1152921504606859965</b:CurrencyCode>TaxTypeUid> <b:CurrencyId i:nil="true"/>AppliesToCostFlag>true</b:AppliesToCostFlag> <b:CurrencyUid>1152921504606849879<AppliesToMilestonesFlag>true</b:CurrencyUid>AppliesToMilestonesFlag> <<b:AppliesToTimeFlag>true</b:Currency>AppliesToTimeFlag> <b:TaxType1 i:nil="true"/>InactiveFlag>false</b:InactiveFlag> <b:TaxType2 i:nil="true"/> <b:TaxTypeName>Canada Goods & Services Tax</b:TaxTypeName> <b:TaxType3 i:nil="true"/> </b:TaxType1> </b:PwsCompanySummary> <b:TaxType2> <b:PwsCompanySummary> <b:TaxTypeCode>HSTCA</b:TaxTypeCode> <b:CompanyId i:nil="true"/> <b:TaxTypeId <b:CompanyName>Revolutionary Solutions Corporation CA</b:CompanyName>i:nil="true"/> <b:CompanyUid>1152921504606852299<TaxTypeUid>1152921504606859966</b:CompanyUid>TaxTypeUid> <b:CompanyNumber>002<AppliesToCostFlag>true</b:CompanyNumber>AppliesToCostFlag> <b:AppliesToMilestonesFlag>true</b:Currency>AppliesToMilestonesFlag> <b:CurrencyCode>CAD<AppliesToTimeFlag>true</b:CurrencyCode>AppliesToTimeFlag> <b:CurrencyId i:nil="true"/>InactiveFlag>false</b:InactiveFlag> <b:TaxTypeName>Canada Harmonized Sales <b:CurrencyUid>1152921504606849881<Tax</b:CurrencyUid>TaxTypeName> </b:Currency>TaxType2> <b:TaxType1>TaxType3> <b:TaxTypeCode>GSTCA<TaxTypeCode>PSTQU</b:TaxTypeCode> <b:TaxTypeId i:nil="true"/> <b:TaxTypeUid>1152921504606859965<TaxTypeUid>1152921504606859971</b:TaxTypeUid> <b:AppliesToCostFlag>true</b:AppliesToCostFlag> <b:AppliesToMilestonesFlag>true</b:AppliesToMilestonesFlag> <b:AppliesToTimeFlag>true</b:AppliesToTimeFlag> <b:InactiveFlag>false</b:InactiveFlag> <b:TaxTypeName>CanadaTaxTypeName>Quebec Goods & ServicesProvincial Sales Tax</b:TaxTypeName> </b:TaxType1>TaxType3> </b:PwsCompanySummary> <b:TaxType2> </a:Companies> </PwsGetCompanyListResult> </PwsGetCompanyListResponse> </s:Body> </s:Envelope> |
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"> <b:TaxTypeCode>HSTCA</b:TaxTypeCode><s:Body> <PwsGetCompanyListResponse xmlns="http://projectorpsa.com/PwsProjectorServices/"> <PwsGetCompanyListResult <b:TaxTypeId i:nil="true"/xmlns:a="http://projectorpsa.com/DataContracts/Requests/" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> <Messages <b:TaxTypeUid>1152921504606859966</b:TaxTypeUid> xmlns="http://projectorpsa.com/CommonServices/" xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/"/> <b:AppliesToCostFlag>true</b:AppliesToCostFlag><ResponseId xmlns="http://projectorpsa.com/CommonServices/">0</ResponseId> <b:AppliesToMilestonesFlag>true</b:AppliesToMilestonesFlag><Status xmlns="http://projectorpsa.com/CommonServices/">Ok</Status> <ServerTimestampUtc xmlns="http://projectorpsa.com/CommonServices/">2018-03-12T19:19:47.5775428Z</ServerTimestampUtc> <a:Companies <bxmlns:AppliesToTimeFlag>true</b:AppliesToTimeFlag> ="http://projectorpsa.com/DataContracts/Shared/Common/"> <b:InactiveFlag>false</b:InactiveFlag>PwsCompanySummary> <b:TaxTypeName>Canada Harmonized Sales Tax</b:TaxTypeName><b:CompanyId i:nil="true"/> <b:CompanyName>Revolutionary Solutions Corporation <China</b:TaxType2>CompanyName> <b:TaxType3> CompanyUid>1152921504606852297</b:CompanyUid> <b:TaxTypeCode>PSTQU<CompanyNumber>003</b:TaxTypeCode> :CompanyNumber> <b:TaxTypeId i:nil="true"/>Currency> <b:TaxTypeUid>1152921504606859971<CurrencyCode>CNY</b:TaxTypeUid>CurrencyCode> <b:AppliesToCostFlag>true</b:AppliesToCostFlag>:CurrencyId i:nil="true"/> <b:AppliesToMilestonesFlag>true<CurrencyUid>1152921504606849973</b:AppliesToMilestonesFlag>CurrencyUid> <b:AppliesToTimeFlag>true<</b:AppliesToTimeFlag>Currency> <b:InactiveFlag>false</b:InactiveFlag> <b:TaxType1 i:nil="true"/> <b:TaxTypeName>Quebec Provincial Sales Tax</b:TaxTypeName>TaxType2 i:nil="true"/> </b:TaxType3><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. |