GET /businesses

Gets the business data for the business of the user making the request.

Authentication and Authorisation

Requires API Access Token Requires Basic Authentication (Username/Password) Requires one of the following roles
True True BusinessAdministrator

Response Information

Response body formats

Sample:
{
  "CompaniesHouseRegistrationNumber": "54326622",
  "Id": "bdeb9f0c-0898-4759-bcd8-dd480bcddf88",
  "IsBroker": true,
  "IsCarrier": true,
  "IsDealer": true,
  "IsImporter": true,
  "IsLocalAuthority": true,
  "IsProducer": true,
  "Name": "Bob's Skips Ltd",
  "PreferredEmailLanguage": "English",
  "RegistrationNumbers": [
    "54321/43/D",
    "432/323-F4"
  ],
  "UseReportingWhitelist": true,
  "UseVisibilityWhitelist": true
}
Sample:
<Business xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="edoc">
  <CompaniesHouseRegistrationNumber>54326622</CompaniesHouseRegistrationNumber>
  <Id>bdeb9f0c-0898-4759-bcd8-dd480bcddf88</Id>
  <IsBroker>true</IsBroker>
  <IsCarrier>true</IsCarrier>
  <IsDealer>true</IsDealer>
  <IsImporter>true</IsImporter>
  <IsLocalAuthority>true</IsLocalAuthority>
  <IsProducer>true</IsProducer>
  <Name>Bob's Skips Ltd</Name>
  <PreferredEmailLanguage>English</PreferredEmailLanguage>
  <RegistrationNumbers xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>54321/43/D</d2p1:string>
    <d2p1:string>432/323-F4</d2p1:string>
  </RegistrationNumbers>
  <UseReportingWhitelist>true</UseReportingWhitelist>
  <UseVisibilityWhitelist>true</UseVisibilityWhitelist>
</Business>