GET api/Company?AuthenticationGUID={AuthenticationGUID}

Returns a list of Companies for the supplied Authentication GUID. This contract will return more than one record if you are a Service Bureau customer

Request Information

Parameters

NameDescriptionAdditional information
AuthenticationGUID
The Authentication GUID provided to you by your Account Manager

Define this parameter in the request URI.

Response Information

Response body formats

application/json, text/json

Sample:
[
  {
    "CompanyID": 1,
    "CompanyName": "sample string 2",
    "ExportExternalID": "sample string 3",
    "FEIN": "sample string 4",
    "ImportExternalID": "sample string 5",
    "Status": "sample string 6"
  },
  {
    "CompanyID": 1,
    "CompanyName": "sample string 2",
    "ExportExternalID": "sample string 3",
    "FEIN": "sample string 4",
    "ImportExternalID": "sample string 5",
    "Status": "sample string 6"
  },
  {
    "CompanyID": 1,
    "CompanyName": "sample string 2",
    "ExportExternalID": "sample string 3",
    "FEIN": "sample string 4",
    "ImportExternalID": "sample string 5",
    "Status": "sample string 6"
  }
]

application/xml, text/xml

Sample:
<ArrayOfMainAPI.CompanyClass xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EFAPIWeb">
  <MainAPI.CompanyClass>
    <CompanyID>1</CompanyID>
    <CompanyName>sample string 2</CompanyName>
    <ExportExternalID>sample string 3</ExportExternalID>
    <FEIN>sample string 4</FEIN>
    <ImportExternalID>sample string 5</ImportExternalID>
    <Status>sample string 6</Status>
  </MainAPI.CompanyClass>
  <MainAPI.CompanyClass>
    <CompanyID>1</CompanyID>
    <CompanyName>sample string 2</CompanyName>
    <ExportExternalID>sample string 3</ExportExternalID>
    <FEIN>sample string 4</FEIN>
    <ImportExternalID>sample string 5</ImportExternalID>
    <Status>sample string 6</Status>
  </MainAPI.CompanyClass>
  <MainAPI.CompanyClass>
    <CompanyID>1</CompanyID>
    <CompanyName>sample string 2</CompanyName>
    <ExportExternalID>sample string 3</ExportExternalID>
    <FEIN>sample string 4</FEIN>
    <ImportExternalID>sample string 5</ImportExternalID>
    <Status>sample string 6</Status>
  </MainAPI.CompanyClass>
</ArrayOfMainAPI.CompanyClass>