Add/update db_address_company
Request Information
URI Parameters :
None.
Body Parameters :
db_address_company| Name | Description | Type | Additional 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 address |
string |
Max length: 250 |
|
| url |
Url |
string |
Max length: 255 |
| db_country_id |
Foreign key to table Country |
globally unique identifier | |
| latitude_decimal | decimal number | ||
| longitude_decimal | decimal number | ||
| archived |
You cannot delete an address. The only way is to archive it. |
boolean | |
| company_id | 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
{
"id": "be182d28-c18c-40ff-bd60-2c9a51242d30",
"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": "5329e428-50ed-4507-b67b-c3ca29e2f5dc",
"latitude_decimal": 14.0,
"longitude_decimal": 15.0,
"archived": true,
"company_id": "8037c511-7a2a-4763-aeab-d2a8bd50ebac",
"db_address_type_id": "ec5ec6f1-39c5-40e7-8c5a-a5b926ad2c7b",
"db_state_id": "7c5dcf28-a7d6-4607-ba09-6a5283908eea",
"modified_dateutc": "2026-01-11T21:04:00.68411+00:00"
}
application/xml, text/xml
<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>8037c511-7a2a-4763-aeab-d2a8bd50ebac</company_id> <db_address_type_id>ec5ec6f1-39c5-40e7-8c5a-a5b926ad2c7b</db_address_type_id> <db_country_id>5329e428-50ed-4507-b67b-c3ca29e2f5dc</db_country_id> <db_state_id>7c5dcf28-a7d6-4607-ba09-6a5283908eea</db_state_id> <email>sample string 11</email> <fax>sample string 10</fax> <id>be182d28-c18c-40ff-bd60-2c9a51242d30</id> <latitude_decimal>14</latitude_decimal> <longitude_decimal>15</longitude_decimal> <mobile>sample string 9</mobile> <modified_dateutc>2026-01-11T21:04:00.684Z</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
db_address_company| Name | Description | Type | Additional 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 address |
string |
Max length: 250 |
|
| url |
Url |
string |
Max length: 255 |
| db_country_id |
Foreign key to table Country |
globally unique identifier | |
| latitude_decimal | decimal number | ||
| longitude_decimal | decimal number | ||
| archived |
You cannot delete an address. The only way is to archive it. |
boolean | |
| company_id | 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
{
"id": "c13f11c8-f355-4e61-9f92-b01bd94f83a0",
"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": "dd8e17df-38f6-4fe1-b310-5ad1535e2b7e",
"latitude_decimal": 14.0,
"longitude_decimal": 15.0,
"archived": true,
"company_id": "bb09f433-2131-4c5b-8350-1c0ee356abe2",
"db_address_type_id": "e86c5cca-00f4-4e46-9451-04e4e0600edf",
"db_state_id": "5cbd535b-c15c-46ef-9ab7-48f9b02cd61f",
"modified_dateutc": "2026-01-11T21:04:00.7277823+00:00"
}
application/xml, text/xml
<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>bb09f433-2131-4c5b-8350-1c0ee356abe2</company_id> <db_address_type_id>e86c5cca-00f4-4e46-9451-04e4e0600edf</db_address_type_id> <db_country_id>dd8e17df-38f6-4fe1-b310-5ad1535e2b7e</db_country_id> <db_state_id>5cbd535b-c15c-46ef-9ab7-48f9b02cd61f</db_state_id> <email>sample string 11</email> <fax>sample string 10</fax> <id>c13f11c8-f355-4e61-9f92-b01bd94f83a0</id> <latitude_decimal>14</latitude_decimal> <longitude_decimal>15</longitude_decimal> <mobile>sample string 9</mobile> <modified_dateutc>2026-01-11T21:04:00.727Z</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>