GET api/crm/companylist/get

Gets the complete list of your organizations, including the office address and the general contact.

Request Information

URI Parameters

None.

Body Parameters

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "CustomerCode": "49419",
    "Name": "Firm Lt",
    "Email": "info@venue.com",
    "Vat": "BE123.456.789",
    "VatTransfer": true,
    "Phone": "555-333-006",
    "Contact": {
      "Gender": "male",
      "FirstName": "Annie",
      "LastName": "McLagan",
      "Title": "Ceo",
      "Email": "Laura@venues.com",
      "Phone": "555.123.457",
      "Mobile": "",
      "LanguageCode": "EN"
    },
    "Address": {
      "AddressLineOne": "Road to venue 12",
      "AddressLineTwo": "",
      "PostalCode": "1234",
      "City": "Sarma",
      "CountryCode": "GB",
      "State": ""
    },
    "CustomFields": {
      "companycode": "12321"
    }
  },
  {
    "CustomerCode": "70119",
    "Name": "Firm c°",
    "Email": "info@venue.com",
    "Vat": "BE123.456.789",
    "VatTransfer": true,
    "Phone": "555-333-003",
    "Contact": {
      "Gender": "male",
      "FirstName": "Helen",
      "LastName": "Dibb",
      "Title": "Ceo",
      "Email": "Daisy@venues.com",
      "Phone": "555.123.457",
      "Mobile": "",
      "LanguageCode": "EN"
    },
    "Address": {
      "AddressLineOne": "Road to venue 12",
      "AddressLineTwo": "",
      "PostalCode": "1234",
      "City": "Sarma",
      "CountryCode": "GB",
      "State": ""
    },
    "CustomFields": {
      "companycode": "12321"
    }
  },
  {
    "CustomerCode": "11581",
    "Name": "Firm limited",
    "Email": "info@venue.com",
    "Vat": "BE123.456.789",
    "VatTransfer": true,
    "Phone": "555-333-001",
    "Contact": {
      "Gender": "male",
      "FirstName": "Bessie",
      "LastName": "Challin",
      "Title": "Ceo",
      "Email": "Anna@venues.com",
      "Phone": "555.123.457",
      "Mobile": "",
      "LanguageCode": "EN"
    },
    "Address": {
      "AddressLineOne": "Road to venue 12",
      "AddressLineTwo": "",
      "PostalCode": "1234",
      "City": "Sarma",
      "CountryCode": "GB",
      "State": ""
    },
    "CustomFields": {
      "companycode": "12321"
    }
  }
]

application/xml, text/xml

Sample:
<ArrayOfCompanyList xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Expodoc.Api.Classes.Contracts.Crm">
  <CompanyList>
    <Address>
      <AddressLineOne>Road to venue 12</AddressLineOne>
      <AddressLineTwo></AddressLineTwo>
      <City>Sarma</City>
      <CountryCode>GB</CountryCode>
      <PostalCode>1234</PostalCode>
      <State></State>
    </Address>
    <Contact>
      <Email>Laura@venues.com</Email>
      <FirstName>Annie</FirstName>
      <Gender>male</Gender>
      <LanguageCode>EN</LanguageCode>
      <LastName>McLagan</LastName>
      <Mobile></Mobile>
      <Phone>555.123.457</Phone>
      <Title>Ceo</Title>
    </Contact>
    <CustomFields xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:KeyValueOfstringanyType>
        <d3p1:Key>companycode</d3p1:Key>
        <d3p1:Value xmlns:d5p1="http://www.w3.org/2001/XMLSchema" i:type="d5p1:string">12321</d3p1:Value>
      </d3p1:KeyValueOfstringanyType>
    </CustomFields>
    <CustomerCode>49419</CustomerCode>
    <Email>info@venue.com</Email>
    <Name>Firm Lt</Name>
    <Phone>555-333-006</Phone>
    <Vat>BE123.456.789</Vat>
    <VatTransfer>true</VatTransfer>
  </CompanyList>
  <CompanyList>
    <Address>
      <AddressLineOne>Road to venue 12</AddressLineOne>
      <AddressLineTwo></AddressLineTwo>
      <City>Sarma</City>
      <CountryCode>GB</CountryCode>
      <PostalCode>1234</PostalCode>
      <State></State>
    </Address>
    <Contact>
      <Email>Daisy@venues.com</Email>
      <FirstName>Helen</FirstName>
      <Gender>male</Gender>
      <LanguageCode>EN</LanguageCode>
      <LastName>Dibb</LastName>
      <Mobile></Mobile>
      <Phone>555.123.457</Phone>
      <Title>Ceo</Title>
    </Contact>
    <CustomFields xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:KeyValueOfstringanyType>
        <d3p1:Key>companycode</d3p1:Key>
        <d3p1:Value xmlns:d5p1="http://www.w3.org/2001/XMLSchema" i:type="d5p1:string">12321</d3p1:Value>
      </d3p1:KeyValueOfstringanyType>
    </CustomFields>
    <CustomerCode>70119</CustomerCode>
    <Email>info@venue.com</Email>
    <Name>Firm c°</Name>
    <Phone>555-333-003</Phone>
    <Vat>BE123.456.789</Vat>
    <VatTransfer>true</VatTransfer>
  </CompanyList>
  <CompanyList>
    <Address>
      <AddressLineOne>Road to venue 12</AddressLineOne>
      <AddressLineTwo></AddressLineTwo>
      <City>Sarma</City>
      <CountryCode>GB</CountryCode>
      <PostalCode>1234</PostalCode>
      <State></State>
    </Address>
    <Contact>
      <Email>Anna@venues.com</Email>
      <FirstName>Bessie</FirstName>
      <Gender>male</Gender>
      <LanguageCode>EN</LanguageCode>
      <LastName>Challin</LastName>
      <Mobile></Mobile>
      <Phone>555.123.457</Phone>
      <Title>Ceo</Title>
    </Contact>
    <CustomFields xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:KeyValueOfstringanyType>
        <d3p1:Key>companycode</d3p1:Key>
        <d3p1:Value xmlns:d5p1="http://www.w3.org/2001/XMLSchema" i:type="d5p1:string">12321</d3p1:Value>
      </d3p1:KeyValueOfstringanyType>
    </CustomFields>
    <CustomerCode>11581</CustomerCode>
    <Email>info@venue.com</Email>
    <Name>Firm limited</Name>
    <Phone>555-333-001</Phone>
    <Vat>BE123.456.789</Vat>
    <VatTransfer>true</VatTransfer>
  </CompanyList>
</ArrayOfCompanyList>