Updates the company address with the specified key.

Request Information

URI Parameters :

NameDescriptionTypeAdditional information
id

The company address id.

globally unique identifier

Required

Body Parameters :

db_address_company
NameDescriptionTypeAdditional information
id

Primary key

globally unique identifier
name

Name of the address

string

Max length: 50

street

Street

string

Max length: 100

street2

Bus

string

Max length: 100

street_number

Street number. Can be not used

string

Max length: 50

zip

Zip code

string

Max length: 50

city

City

string

Max length: 50

phone

Phone number

string

Max length: 50

mobile

Cell phone number

string

Max length: 50

fax

Fax number

string

Max length: 50

email

Email address

string

Max length: 250

url

Url

string

Max length: 255

db_country_id

Foreign key to table Country

globally unique identifier
latitude_decimal

Latitude of the address, used for map display and route optimization.

decimal number
longitude_decimal

Longitude of the address, used for map display and route optimization.

decimal number
archived

You cannot delete an address. The only way is to archive it.

boolean
company_id

Foreign key of the company this address belongs to.

globally unique identifier
db_address_type_id

Foreign key to the db_address_type. Please use controller DbAddressType to find the correct it to use

globally unique identifier
db_state_id

Foreign key to the db_state

globally unique identifier
modified_dateutc

Readonly system field managed by database, filled with GetUtcDate when adding,updating

date

Request Formats :

application/json, text/json

Sample:
{
  "id": "2fda7e8b-0635-420b-9e62-1b6e15746a43",
  "name": "sample string 2",
  "street": "sample string 3",
  "street2": "sample string 4",
  "street_number": "sample string 5",
  "zip": "sample string 6",
  "city": "sample string 7",
  "phone": "sample string 8",
  "mobile": "sample string 9",
  "fax": "sample string 10",
  "email": "sample string 11",
  "url": "sample string 12",
  "db_country_id": "67282eab-6496-4646-8862-48e070896b52",
  "latitude_decimal": 14.0,
  "longitude_decimal": 15.0,
  "archived": true,
  "company_id": "2c6d94e2-103b-4a3f-b99d-8775d62deacf",
  "db_address_type_id": "54f53172-d878-455b-93b0-e379d3fc7873",
  "db_state_id": "1c586a91-dc12-48f8-a029-5151a9714880",
  "modified_dateutc": "2026-09-16T08:37:23.1738108+00:00"
}

application/xml, text/xml

Sample:
<db_address_company xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Odyssee.ServiceAppAPI.Models">
  <archived>true</archived>
  <city>sample string 7</city>
  <company_id>2c6d94e2-103b-4a3f-b99d-8775d62deacf</company_id>
  <db_address_type_id>54f53172-d878-455b-93b0-e379d3fc7873</db_address_type_id>
  <db_country_id>67282eab-6496-4646-8862-48e070896b52</db_country_id>
  <db_state_id>1c586a91-dc12-48f8-a029-5151a9714880</db_state_id>
  <email>sample string 11</email>
  <fax>sample string 10</fax>
  <id>2fda7e8b-0635-420b-9e62-1b6e15746a43</id>
  <latitude_decimal>14</latitude_decimal>
  <longitude_decimal>15</longitude_decimal>
  <mobile>sample string 9</mobile>
  <modified_dateutc>2026-09-16T08:37:23.173Z</modified_dateutc>
  <name>sample string 2</name>
  <phone>sample string 8</phone>
  <street>sample string 3</street>
  <street2>sample string 4</street2>
  <street_number>sample string 5</street_number>
  <url>sample string 12</url>
  <zip>sample string 6</zip>
</db_address_company>

Response Information

Resource Description :

IHttpActionResult containing the updated company address.

db_address_company
NameDescriptionTypeAdditional information
id

Primary key

globally unique identifier
name

Name of the address

string

Max length: 50

street

Street

string

Max length: 100

street2

Bus

string

Max length: 100

street_number

Street number. Can be not used

string

Max length: 50

zip

Zip code

string

Max length: 50

city

City

string

Max length: 50

phone

Phone number

string

Max length: 50

mobile

Cell phone number

string

Max length: 50

fax

Fax number

string

Max length: 50

email

Email address

string

Max length: 250

url

Url

string

Max length: 255

db_country_id

Foreign key to table Country

globally unique identifier
latitude_decimal

Latitude of the address, used for map display and route optimization.

decimal number
longitude_decimal

Longitude of the address, used for map display and route optimization.

decimal number
archived

You cannot delete an address. The only way is to archive it.

boolean
company_id

Foreign key of the company this address belongs to.

globally unique identifier
db_address_type_id

Foreign key to the db_address_type. Please use controller DbAddressType to find the correct it to use

globally unique identifier
db_state_id

Foreign key to the db_state

globally unique identifier
modified_dateutc

Readonly system field managed by database, filled with GetUtcDate when adding,updating

date

Response Formats

application/json, text/json

Sample:
{
  "id": "1c1a2437-58db-4135-b8d1-e2e740c034f3",
  "name": "sample string 2",
  "street": "sample string 3",
  "street2": "sample string 4",
  "street_number": "sample string 5",
  "zip": "sample string 6",
  "city": "sample string 7",
  "phone": "sample string 8",
  "mobile": "sample string 9",
  "fax": "sample string 10",
  "email": "sample string 11",
  "url": "sample string 12",
  "db_country_id": "852f3cbf-6e41-4543-a34d-32f9c1e3acbf",
  "latitude_decimal": 14.0,
  "longitude_decimal": 15.0,
  "archived": true,
  "company_id": "39374d33-065f-4d8f-8dce-b8a431c71414",
  "db_address_type_id": "10654f3a-2e47-48c0-b942-560d1d96dbf0",
  "db_state_id": "02a368e9-d7e9-42ac-be00-96aa6cd87368",
  "modified_dateutc": "2026-09-16T08:37:23.1738108+00:00"
}

application/xml, text/xml

Sample:
<db_address_company xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Odyssee.ServiceAppAPI.Models">
  <archived>true</archived>
  <city>sample string 7</city>
  <company_id>39374d33-065f-4d8f-8dce-b8a431c71414</company_id>
  <db_address_type_id>10654f3a-2e47-48c0-b942-560d1d96dbf0</db_address_type_id>
  <db_country_id>852f3cbf-6e41-4543-a34d-32f9c1e3acbf</db_country_id>
  <db_state_id>02a368e9-d7e9-42ac-be00-96aa6cd87368</db_state_id>
  <email>sample string 11</email>
  <fax>sample string 10</fax>
  <id>1c1a2437-58db-4135-b8d1-e2e740c034f3</id>
  <latitude_decimal>14</latitude_decimal>
  <longitude_decimal>15</longitude_decimal>
  <mobile>sample string 9</mobile>
  <modified_dateutc>2026-09-16T08:37:23.173Z</modified_dateutc>
  <name>sample string 2</name>
  <phone>sample string 8</phone>
  <street>sample string 3</street>
  <street2>sample string 4</street2>
  <street_number>sample string 5</street_number>
  <url>sample string 12</url>
  <zip>sample string 6</zip>
</db_address_company>