WebAPI

<back to all web services

CompanyIdCheck

Get company info. by company id via Equifax

Parameters:
NameParameterData TypeRequiredDescription
CompanyIdpathstringYes

To override the Content-type in your clients HTTP Accept Header, append the .soap11 suffix or ?format=soap11

HTTP + SOAP11

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /soap11 HTTP/1.1 
Host: api-preprod.merseyflow.co.uk 
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: CompanyIdCheck

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body>

<CompanyIdCheck xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.ServiceModel">
  <CompanyId>String</CompanyId>
</CompanyIdCheck>

    </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body>

<CompanyIdCheckResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.ServiceModel">
  <CompanyData xmlns:d2p1="http://schemas.datacontract.org/2004/07/WebCRMV2.Data.Web.Models">
    <d2p1:AccountDuedate>String</d2p1:AccountDuedate>
    <d2p1:AccountFiledLateInd>String</d2p1:AccountFiledLateInd>
    <d2p1:AccountFilesLateText>String</d2p1:AccountFilesLateText>
    <d2p1:AccountType>String</d2p1:AccountType>
    <d2p1:Accountmadeupdate>String</d2p1:Accountmadeupdate>
    <d2p1:CompanyAddress>
      <d2p1:AddressLine1>String</d2p1:AddressLine1>
      <d2p1:AddressLine2>String</d2p1:AddressLine2>
      <d2p1:AddressLine3>String</d2p1:AddressLine3>
      <d2p1:CareOf>String</d2p1:CareOf>
      <d2p1:POBox>String</d2p1:POBox>
      <d2p1:Postcode>String</d2p1:Postcode>
      <d2p1:TownPostcode>String</d2p1:TownPostcode>
    </d2p1:CompanyAddress>
    <d2p1:CompanyId>String</d2p1:CompanyId>
    <d2p1:CompanyName>String</d2p1:CompanyName>
    <d2p1:CompanyStatus>String</d2p1:CompanyStatus>
    <d2p1:CompanyType>String</d2p1:CompanyType>
    <d2p1:CompanyTypeDescription>String</d2p1:CompanyTypeDescription>
    <d2p1:DissolvedDate>String</d2p1:DissolvedDate>
    <d2p1:DissolvedFlag>String</d2p1:DissolvedFlag>
    <d2p1:IncorporationDate>String</d2p1:IncorporationDate>
    <d2p1:InspectionFlag>String</d2p1:InspectionFlag>
    <d2p1:LegalDate>String</d2p1:LegalDate>
    <d2p1:LegalStatus>String</d2p1:LegalStatus>
    <d2p1:MainObject>String</d2p1:MainObject>
    <d2p1:NoAccountFiled>String</d2p1:NoAccountFiled>
    <d2p1:RefDate>String</d2p1:RefDate>
    <d2p1:ReportStatus>String</d2p1:ReportStatus>
    <d2p1:RetmadeupDate>String</d2p1:RetmadeupDate>
    <d2p1:ReturnMessage>String</d2p1:ReturnMessage>
    <d2p1:ReturneCode>String</d2p1:ReturneCode>
  </CompanyData>
  <ResponseStatus xmlns:d2p1="http://schemas.servicestack.net/types">
    <d2p1:ErrorCode>String</d2p1:ErrorCode>
    <d2p1:Message>String</d2p1:Message>
    <d2p1:StackTrace>String</d2p1:StackTrace>
    <d2p1:Errors>
      <d2p1:ResponseError>
        <d2p1:ErrorCode>String</d2p1:ErrorCode>
        <d2p1:FieldName>String</d2p1:FieldName>
        <d2p1:Message>String</d2p1:Message>
      </d2p1:ResponseError>
    </d2p1:Errors>
  </ResponseStatus>
</CompanyIdCheckResponse>

    </soap:Body>
</soap:Envelope>