Create a a new db_address usable for a company
Request Information
URI Parameters :
None.
Body Parameters :
db_address| Name | Description | Type | Additional information | 
|---|---|---|---|
| id | 
                         Primary key  | 
                    globally unique identifier | |
| company_id | 
                         The company owner of this address  | 
                    globally unique identifier | 
                                 Optionally required : company_id, company_code or company must be provided  | 
                
| company_code | 
                         Embedded entity "company" using ERP PK when adding/updating address  | 
                    string | 
                                 Optionally required : company_id, company_code or company must be provided  | 
                
| company | 
                         Embedded entity "company" when adding/updating address  | 
                    company | 
                                 Optionally required : company_id, company_code or company must be provided  | 
                
| 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 | |
| code | 
                         Field used for Embedded entity (store there your ERP PK)  | 
                    string | |
| archived | 
                         You cannot delete an address. The only way is to archive it.  | 
                    boolean | |
| name | 
                         Name of the address  | 
                    string | |
| street | 
                         Street  | 
                    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 | |
| mobile | 
                         Cell phone number  | 
                    string | |
| fax | 
                         Fax number  | 
                    string | |
| 
                         Email address  | 
                    string | 
                                 Max length: 250  | 
                |
| url | 
                         Url  | 
                    string | |
| db_country_id | 
                         Foreign key to table Country  | 
                    globally unique identifier | |
| db_country_code | 
                         CountryCode entity using international code when adding/updating company  | 
                    string | |
| street2 | 
                         Additional information on the address not part of the postal address  | 
                    string | 
                                 Max length: 50  | 
                
| modified_dateutc | 
                         Readonly system field managed by database, filled with GetUtcDate when adding,updating  | 
                    date | 
Request Formats :
application/json, text/json
{
  "id": "9c926b80-fc3e-4795-9173-dfe09640c0ee",
  "company_id": "be778a70-7ddf-467f-812c-19d521543df2",
  "company_code": "sample string 3",
  "db_address_type_id": "217c8ca7-928c-455f-aa68-a989b5868e19",
  "code": "sample string 5",
  "archived": true,
  "name": "sample string 7",
  "street": "sample string 8",
  "street_number": "sample string 9",
  "zip": "sample string 10",
  "city": "sample string 11",
  "phone": "sample string 12",
  "mobile": "sample string 13",
  "fax": "sample string 14",
  "email": "sample string 15",
  "url": "sample string 16",
  "db_country_id": "14a1eb8f-3c17-41cb-8dae-fd4261b847b0",
  "db_country_code": "sample string 18",
  "street2": "sample string 19",
  "modified_dateutc": "2025-10-13T12:45:55.3314961+00:00"
}
        Response Information
Resource Description :
db_address| Name | Description | Type | Additional information | 
|---|---|---|---|
| id | 
                         Primary key  | 
                    globally unique identifier | |
| company_id | 
                         The company owner of this address  | 
                    globally unique identifier | 
                                 Optionally required : company_id, company_code or company must be provided  | 
                
| company_code | 
                         Embedded entity "company" using ERP PK when adding/updating address  | 
                    string | 
                                 Optionally required : company_id, company_code or company must be provided  | 
                
| company | 
                         Embedded entity "company" when adding/updating address  | 
                    company | 
                                 Optionally required : company_id, company_code or company must be provided  | 
                
| 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 | |
| code | 
                         Field used for Embedded entity (store there your ERP PK)  | 
                    string | |
| archived | 
                         You cannot delete an address. The only way is to archive it.  | 
                    boolean | |
| name | 
                         Name of the address  | 
                    string | |
| street | 
                         Street  | 
                    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 | |
| mobile | 
                         Cell phone number  | 
                    string | |
| fax | 
                         Fax number  | 
                    string | |
| 
                         Email address  | 
                    string | 
                                 Max length: 250  | 
                |
| url | 
                         Url  | 
                    string | |
| db_country_id | 
                         Foreign key to table Country  | 
                    globally unique identifier | |
| db_country_code | 
                         CountryCode entity using international code when adding/updating company  | 
                    string | |
| street2 | 
                         Additional information on the address not part of the postal address  | 
                    string | 
                                 Max length: 50  | 
                
| modified_dateutc | 
                         Readonly system field managed by database, filled with GetUtcDate when adding,updating  | 
                    date | 
Response Formats
application/json, text/json
{
  "id": "d7a10530-ceff-4bf6-967c-4032b63a0174",
  "company_id": "1086ae4f-e7f8-4c34-ab8d-3869631ad1cb",
  "company_code": "sample string 3",
  "db_address_type_id": "cbc9a70d-150d-4cfc-b9ac-b5bb218782ab",
  "code": "sample string 5",
  "archived": true,
  "name": "sample string 7",
  "street": "sample string 8",
  "street_number": "sample string 9",
  "zip": "sample string 10",
  "city": "sample string 11",
  "phone": "sample string 12",
  "mobile": "sample string 13",
  "fax": "sample string 14",
  "email": "sample string 15",
  "url": "sample string 16",
  "db_country_id": "a0a88a81-cbcd-4446-8675-841c31d0d7e0",
  "db_country_code": "sample string 18",
  "street2": "sample string 19",
  "modified_dateutc": "2025-10-13T12:45:55.346822+00:00"
}