POST api/CompanyAddress

Post list of Company category.

Request Information

URI Parameters

None.

Body Parameters

Collection of ApiCompanyAddress
NameDescriptionTypeAdditional information
id

integer

None.

street_number

string

None.

route

string

None.

locality

string

None.

aal1

string

None.

aal2

string

None.

country

string

None.

postal_code

string

None.

is_main

boolean

None.

is_default_billing

boolean

None.

is_default_delivery

boolean

None.

id_company

integer

None.

company

read only

Object

None.

comment

string

None.

date

date

None.

verification

boolean

None.

is_subscribed

boolean

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "id": 1,
    "street_number": "sample string 2",
    "route": "sample string 3",
    "locality": "sample string 4",
    "aal1": "sample string 5",
    "aal2": "sample string 6",
    "country": "sample string 7",
    "postal_code": "sample string 8",
    "is_main": true,
    "is_default_billing": true,
    "is_default_delivery": true,
    "id_company": 1,
    "company": {},
    "comment": "sample string 13",
    "date": "2024-11-16T04:55:42.8421468+00:00",
    "verification": true,
    "is_subscribed": true
  },
  {
    "id": 1,
    "street_number": "sample string 2",
    "route": "sample string 3",
    "locality": "sample string 4",
    "aal1": "sample string 5",
    "aal2": "sample string 6",
    "country": "sample string 7",
    "postal_code": "sample string 8",
    "is_main": true,
    "is_default_billing": true,
    "is_default_delivery": true,
    "id_company": 1,
    "company": {},
    "comment": "sample string 13",
    "date": "2024-11-16T04:55:42.8421468+00:00",
    "verification": true,
    "is_subscribed": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfApiCompanyAddress xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ApiCompanyAddress>
    <id>1</id>
    <street_number>sample string 2</street_number>
    <route>sample string 3</route>
    <locality>sample string 4</locality>
    <aal1>sample string 5</aal1>
    <aal2>sample string 6</aal2>
    <country>sample string 7</country>
    <postal_code>sample string 8</postal_code>
    <is_main>true</is_main>
    <is_default_billing>true</is_default_billing>
    <is_default_delivery>true</is_default_delivery>
    <id_company>1</id_company>
    <company />
    <comment>sample string 13</comment>
    <date>2024-11-16T04:55:42.8421468+00:00</date>
    <verification>true</verification>
    <is_subscribed>true</is_subscribed>
  </ApiCompanyAddress>
  <ApiCompanyAddress>
    <id>1</id>
    <street_number>sample string 2</street_number>
    <route>sample string 3</route>
    <locality>sample string 4</locality>
    <aal1>sample string 5</aal1>
    <aal2>sample string 6</aal2>
    <country>sample string 7</country>
    <postal_code>sample string 8</postal_code>
    <is_main>true</is_main>
    <is_default_billing>true</is_default_billing>
    <is_default_delivery>true</is_default_delivery>
    <id_company>1</id_company>
    <company />
    <comment>sample string 13</comment>
    <date>2024-11-16T04:55:42.8421468+00:00</date>
    <verification>true</verification>
    <is_subscribed>true</is_subscribed>
  </ApiCompanyAddress>
</ArrayOfApiCompanyAddress>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.