POST api/Account/RegisterCompany

Request Information

URI Parameters

None.

Body Parameters

RegisterCompany
NameDescriptionTypeAdditional information
Name

string

Required

KvkNumber

string

Required

SbiCode

string

Required

EmployeeCount

integer

Required

WebsiteUrl

string

Required

DeliveryTermsUrl

string

None.

PhoneNumber

string

Required

Description

string

None.

OffersAdSpace

boolean

Required

IsAdvertiser

boolean

Required

SpreadsFlyers

boolean

Required

IsOnlineRetailer

boolean

Required

IsOfflineRetailer

boolean

Required

IsDataProcessor

boolean

Required

OtherProperties

string

None.

VisitorAddress

Address

Required

MailingAddress

Address

None.

BillingAddress

Address

None.

Administrator

RegisterAdministrator

Required

Request Formats

application/json, text/json

Sample:
{
  "Name": "sample string 1",
  "KvkNumber": "sample string 2",
  "SbiCode": "sample string 3",
  "EmployeeCount": 1,
  "WebsiteUrl": "sample string 4",
  "DeliveryTermsUrl": "sample string 5",
  "PhoneNumber": "sample string 6",
  "Description": "sample string 7",
  "OffersAdSpace": true,
  "IsAdvertiser": true,
  "SpreadsFlyers": true,
  "IsOnlineRetailer": true,
  "IsOfflineRetailer": true,
  "IsDataProcessor": true,
  "OtherProperties": "sample string 8",
  "VisitorAddress": {
    "CountryCode": "sample string 1",
    "StreetName": "sample string 2",
    "HouseNumber": "sample string 3",
    "HouseNumberSuffix": "sample string 4",
    "ZipCode": "sample string 5",
    "Locality": "sample string 6",
    "AddressLine1": "sample string 7",
    "AddressLine2": "sample string 8",
    "StateOrProvince": "sample string 9"
  },
  "MailingAddress": {
    "CountryCode": "sample string 1",
    "StreetName": "sample string 2",
    "HouseNumber": "sample string 3",
    "HouseNumberSuffix": "sample string 4",
    "ZipCode": "sample string 5",
    "Locality": "sample string 6",
    "AddressLine1": "sample string 7",
    "AddressLine2": "sample string 8",
    "StateOrProvince": "sample string 9"
  },
  "BillingAddress": {
    "CountryCode": "sample string 1",
    "StreetName": "sample string 2",
    "HouseNumber": "sample string 3",
    "HouseNumberSuffix": "sample string 4",
    "ZipCode": "sample string 5",
    "Locality": "sample string 6",
    "AddressLine1": "sample string 7",
    "AddressLine2": "sample string 8",
    "StateOrProvince": "sample string 9"
  },
  "Administrator": {
    "Password": "sample string 1",
    "IsAdministrator": true,
    "Email": "sample string 2",
    "Honorific": "sample string 3",
    "Initials": "sample string 4",
    "GivenName": "sample string 5",
    "Surname": "sample string 6",
    "SurnamePrefix": "sample string 7",
    "PhoneNumber": "sample string 8",
    "PhoneNumber2": "sample string 9",
    "Language": "sample string 10",
    "Occupation": "sample string 11",
    "Deactivated": true
  }
}

application/xml, text/xml

Sample:
<RegisterCompany xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <Name>sample string 1</Name>
  <KvkNumber>sample string 2</KvkNumber>
  <SbiCode>sample string 3</SbiCode>
  <EmployeeCount>1</EmployeeCount>
  <WebsiteUrl>sample string 4</WebsiteUrl>
  <DeliveryTermsUrl>sample string 5</DeliveryTermsUrl>
  <PhoneNumber>sample string 6</PhoneNumber>
  <Description>sample string 7</Description>
  <OffersAdSpace>true</OffersAdSpace>
  <IsAdvertiser>true</IsAdvertiser>
  <SpreadsFlyers>true</SpreadsFlyers>
  <IsOnlineRetailer>true</IsOnlineRetailer>
  <IsOfflineRetailer>true</IsOfflineRetailer>
  <IsDataProcessor>true</IsDataProcessor>
  <OtherProperties>sample string 8</OtherProperties>
  <VisitorAddress>
    <CountryCode>sample string 1</CountryCode>
    <StreetName>sample string 2</StreetName>
    <HouseNumber>sample string 3</HouseNumber>
    <HouseNumberSuffix>sample string 4</HouseNumberSuffix>
    <ZipCode>sample string 5</ZipCode>
    <Locality>sample string 6</Locality>
    <AddressLine1>sample string 7</AddressLine1>
    <AddressLine2>sample string 8</AddressLine2>
    <StateOrProvince>sample string 9</StateOrProvince>
  </VisitorAddress>
  <MailingAddress>
    <CountryCode>sample string 1</CountryCode>
    <StreetName>sample string 2</StreetName>
    <HouseNumber>sample string 3</HouseNumber>
    <HouseNumberSuffix>sample string 4</HouseNumberSuffix>
    <ZipCode>sample string 5</ZipCode>
    <Locality>sample string 6</Locality>
    <AddressLine1>sample string 7</AddressLine1>
    <AddressLine2>sample string 8</AddressLine2>
    <StateOrProvince>sample string 9</StateOrProvince>
  </MailingAddress>
  <BillingAddress>
    <CountryCode>sample string 1</CountryCode>
    <StreetName>sample string 2</StreetName>
    <HouseNumber>sample string 3</HouseNumber>
    <HouseNumberSuffix>sample string 4</HouseNumberSuffix>
    <ZipCode>sample string 5</ZipCode>
    <Locality>sample string 6</Locality>
    <AddressLine1>sample string 7</AddressLine1>
    <AddressLine2>sample string 8</AddressLine2>
    <StateOrProvince>sample string 9</StateOrProvince>
  </BillingAddress>
  <Administrator>
    <Email>sample string 2</Email>
    <Honorific>sample string 3</Honorific>
    <Initials>sample string 4</Initials>
    <GivenName>sample string 5</GivenName>
    <Surname>sample string 6</Surname>
    <SurnamePrefix>sample string 7</SurnamePrefix>
    <PhoneNumber>sample string 8</PhoneNumber>
    <PhoneNumber2>sample string 9</PhoneNumber2>
    <Language>sample string 10</Language>
    <Occupation>sample string 11</Occupation>
    <Deactivated>true</Deactivated>
    <Password>sample string 1</Password>
  </Administrator>
</RegisterCompany>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Object

None.

Response Formats

application/json, text/json

Sample:
{}

application/xml, text/xml

Sample:
<anyType xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" />