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": "66350337-2f00-46a7-9f72-1f11e837373f",
"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": "55b68fe5-b75e-46d9-b3fe-e1f3192dffc9",
"latitude_decimal": 14.0,
"longitude_decimal": 15.0,
"archived": true,
"company_id": "b25de3e5-1edd-472b-94c1-5ff12c71e71b",
"db_address_type_id": "b874d46d-e916-4b9e-b3f4-a355d0909cbc",
"db_state_id": "fa8e1155-c022-43de-aed4-0a0d277f9e39",
"modified_dateutc": "2026-06-16T22:32:37.4979657+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>b25de3e5-1edd-472b-94c1-5ff12c71e71b</company_id> <db_address_type_id>b874d46d-e916-4b9e-b3f4-a355d0909cbc</db_address_type_id> <db_country_id>55b68fe5-b75e-46d9-b3fe-e1f3192dffc9</db_country_id> <db_state_id>fa8e1155-c022-43de-aed4-0a0d277f9e39</db_state_id> <email>sample string 11</email> <fax>sample string 10</fax> <id>66350337-2f00-46a7-9f72-1f11e837373f</id> <latitude_decimal>14</latitude_decimal> <longitude_decimal>15</longitude_decimal> <mobile>sample string 9</mobile> <modified_dateutc>2026-06-16T22:32:37.497Z</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": "fa456b68-22f9-4f79-b1d6-c98cda40f82c",
"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": "9627a61c-1959-4f78-96c4-70ad9c599215",
"latitude_decimal": 14.0,
"longitude_decimal": 15.0,
"archived": true,
"company_id": "9ab0bae1-60b0-448b-8725-67ad04eecabf",
"db_address_type_id": "dd103c42-ba4f-4d8f-9012-b05a65e221f7",
"db_state_id": "19e94280-2ddc-41e5-94ae-00482ac711f7",
"modified_dateutc": "2026-06-16T22:32:37.5751065+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>9ab0bae1-60b0-448b-8725-67ad04eecabf</company_id> <db_address_type_id>dd103c42-ba4f-4d8f-9012-b05a65e221f7</db_address_type_id> <db_country_id>9627a61c-1959-4f78-96c4-70ad9c599215</db_country_id> <db_state_id>19e94280-2ddc-41e5-94ae-00482ac711f7</db_state_id> <email>sample string 11</email> <fax>sample string 10</fax> <id>fa456b68-22f9-4f79-b1d6-c98cda40f82c</id> <latitude_decimal>14</latitude_decimal> <longitude_decimal>15</longitude_decimal> <mobile>sample string 9</mobile> <modified_dateutc>2026-06-16T22:32:37.575Z</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>