Add/update db_address_user_unavailability
Request Information
URI Parameters :
None.
Body Parameters :
db_address_user_unavailability| 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 |
|
| 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 | |
| modified_dateutc |
Readonly system field managed by database, filled with GetUtcDate when adding,updating |
date |
Request Formats :
application/json, text/json
{
"id": "15a14ae2-dac8-461a-af97-244e9c9bc343",
"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",
"db_country_id": "4bb50883-82d5-4025-813b-33a215367b09",
"latitude_decimal": 13.0,
"longitude_decimal": 14.0,
"archived": true,
"modified_dateutc": "2026-03-07T13:13:35.5402779+00:00"
}
application/xml, text/xml
<db_address_user_unavailability 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> <db_country_id>4bb50883-82d5-4025-813b-33a215367b09</db_country_id> <email>sample string 11</email> <fax>sample string 10</fax> <id>15a14ae2-dac8-461a-af97-244e9c9bc343</id> <latitude_decimal>13</latitude_decimal> <longitude_decimal>14</longitude_decimal> <mobile>sample string 9</mobile> <modified_dateutc>2026-03-07T13:13:35.540Z</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> <zip>sample string 6</zip> </db_address_user_unavailability>
Response Information
Resource Description :
IHttpActionResult
db_address_user_unavailability| 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 |
|
| 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 | |
| modified_dateutc |
Readonly system field managed by database, filled with GetUtcDate when adding,updating |
date |
Response Formats
application/json, text/json
{
"id": "51c6e3b0-78ea-40c1-ab55-85eef377b331",
"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",
"db_country_id": "92d8750e-d8f9-4d62-9a67-bda410d9baa1",
"latitude_decimal": 13.0,
"longitude_decimal": 14.0,
"archived": true,
"modified_dateutc": "2026-03-07T13:13:35.5559114+00:00"
}
application/xml, text/xml
<db_address_user_unavailability 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> <db_country_id>92d8750e-d8f9-4d62-9a67-bda410d9baa1</db_country_id> <email>sample string 11</email> <fax>sample string 10</fax> <id>51c6e3b0-78ea-40c1-ab55-85eef377b331</id> <latitude_decimal>13</latitude_decimal> <longitude_decimal>14</longitude_decimal> <mobile>sample string 9</mobile> <modified_dateutc>2026-03-07T13:13:35.555Z</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> <zip>sample string 6</zip> </db_address_user_unavailability>