POST api/Account/Company

Request Information

URI Parameters

None.

Body Parameters

CompanyInfo
NameDescriptionTypeAdditional information
Name

string

Required

Max length: 400

KvkNumber

string

Required

Max length: 12

SbiCode

string

Required

Max length: 20

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.

Blocked

boolean

Required

DataKey

globally unique identifier

None.

VisitorAddress

Address

Required

MailingAddress

Address

None.

BillingAddress

Address

None.

Request Formats

application/json, text/json

Sample:
{
  "Name": "sample string 1",
  "KvkNumber": "sample string 2",
  "SbiCode": "sample string 3",
  "EmployeeCount": 4,
  "WebsiteUrl": "sample string 5",
  "DeliveryTermsUrl": "sample string 6",
  "PhoneNumber": "sample string 7",
  "Description": "sample string 8",
  "OffersAdSpace": true,
  "IsAdvertiser": true,
  "SpreadsFlyers": true,
  "IsOnlineRetailer": true,
  "IsOfflineRetailer": true,
  "IsDataProcessor": true,
  "OtherProperties": "sample string 15",
  "Blocked": true,
  "DataKey": "b552bc25-625c-44ad-8afc-516c107f48ce",
  "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"
  }
}

application/xml, text/xml

Sample:
<CompanyInfo 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>4</EmployeeCount>
  <WebsiteUrl>sample string 5</WebsiteUrl>
  <DeliveryTermsUrl>sample string 6</DeliveryTermsUrl>
  <PhoneNumber>sample string 7</PhoneNumber>
  <Description>sample string 8</Description>
  <OffersAdSpace>true</OffersAdSpace>
  <IsAdvertiser>true</IsAdvertiser>
  <SpreadsFlyers>true</SpreadsFlyers>
  <IsOnlineRetailer>true</IsOnlineRetailer>
  <IsOfflineRetailer>true</IsOfflineRetailer>
  <IsDataProcessor>true</IsDataProcessor>
  <OtherProperties>sample string 15</OtherProperties>
  <Blocked>true</Blocked>
  <DataKey>b552bc25-625c-44ad-8afc-516c107f48ce</DataKey>
  <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>
</CompanyInfo>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ICompanyInfo
NameDescriptionTypeAdditional information
Name

string

None.

KvkNumber

string

None.

SbiCode

string

None.

EmployeeCount

integer

None.

WebsiteUrl

string

None.

DeliveryTermsUrl

string

None.

PhoneNumber

string

None.

Description

string

None.

OffersAdSpace

boolean

None.

IsAdvertiser

boolean

None.

SpreadsFlyers

boolean

None.

IsOnlineRetailer

boolean

None.

IsOfflineRetailer

boolean

None.

IsDataProcessor

boolean

None.

OtherProperties

string

None.

Blocked

boolean

None.

DataKey

globally unique identifier

None.

VisitorAddress

IAddress

None.

MailingAddress

IAddress

None.

BillingAddress

IAddress

None.

Response Formats

application/json, text/json

Sample:

Sample not available.