Updates the location object
Request Information
URI Parameters :
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | globally unique identifier |
Required |
Body Parameters :
location| Name | Description | Type | Additional information |
|---|---|---|---|
| id | globally unique identifier |
Required |
|
| _parent_id |
Reference to a parent location |
globally unique identifier | |
| _parent_reference_back_office |
Embedded entity "location" for parent location using ERP PK when adding/updating location |
string | |
| _parent_location |
Embedded entity "location" for parent location when adding/updating location |
location | |
| project_status_id |
Foreign key to project_status_id |
globally unique identifier | |
| company_id |
The company owner of this location |
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 location |
string |
Optionally required : company_id, company_code or company must be provided |
| company |
Embedded entity "company" when adding/updating location |
company |
Optionally required : company_id, company_code or company must be provided |
| name |
Name of the location |
string |
Required Max length: 50 |
| extra_information |
extra_information |
string |
Max length: 255 |
| reference_back_office |
The Id/Ref of the back office for this location. Used by Embedded entity |
string |
Max length: 255 |
| street |
Street |
string |
Max length: 100 |
| street_number |
Street number. |
string |
Max length: 50 |
| zip |
Zip code |
string |
Max length: 50 |
| city |
City |
string |
Max length: 50 |
| phone |
Phone number |
string |
Max length: 50 |
|
Email address |
string |
Max length: 250 |
|
| 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 |
| latitude_decimal |
Decimal coordonate for the latitude. (-1;-1) means invalid and (0;0) means not already geo-encoded |
decimal number | |
| longitude_decimal |
Decimal coordonate for the longitude. (-1;-1) means invalid and (0;0) means not already geo-encoded |
decimal number | |
| contact_id |
Foreign key of contact for this location |
globally unique identifier | |
| contact_reference_back_office |
Foreign key of contact for this location. If you don't know the GUID, use contact_reference_back_office |
string | |
| contact |
Embedded entity "contact" when adding/updating location |
contact | |
| modified_dateutc |
Readonly system field managed by database, filled with GetUtcDate when adding,updating |
date | |
| id2 |
Internal ID (numeric). Will be used if reference_back_office is empty |
integer |
Request Formats :
application/json, text/json
{
"id": "27aa75d7-0266-4ab8-ab5e-ed024567d631",
"_parent_id": "0627d240-1af6-4e85-b123-45cd174f90c3",
"_parent_reference_back_office": "sample string 3",
"project_status_id": "543ab594-7c1a-46c7-930e-da0ebe0acb51",
"company_id": "757f97b8-d61e-4d79-b04c-29ee49ef3882",
"company_code": "sample string 6",
"name": "sample string 7",
"extra_information": "sample string 8",
"reference_back_office": "sample string 9",
"street": "sample string 10",
"street_number": "sample string 11",
"zip": "sample string 12",
"city": "sample string 13",
"phone": "sample string 14",
"email": "sample string 15",
"db_country_id": "040ed0f2-5ffe-40a8-8f8f-7b54724181fa",
"db_country_code": "sample string 17",
"street2": "sample string 18",
"latitude_decimal": 1.0,
"longitude_decimal": 1.0,
"contact_id": "ea6919b3-a3f2-4db3-b829-3c65e9fcb99f",
"contact_reference_back_office": "sample string 20",
"contact": {
"id": "bacf5d2d-24aa-426c-b727-8ce1325caee4",
"firstname": "sample string 2",
"lastname": "sample string 3",
"company_id": "b9d9d176-d7c2-4030-b904-28ce38875ddd",
"company_code": "sample string 5",
"company": {
"id": "4301249d-c61f-42b1-957f-07156588518c",
"is_client": true,
"is_supplier": true,
"archived": true,
"name": "sample string 5",
"notes": "sample string 6",
"create_date": "2026-06-19T18:46:30.1243759+00:00",
"sales_territory_id": "24eac0fd-af63-4433-8f14-1d15869ad881",
"sales_territory_code": "sample string 9",
"sales_territory": {
"id": "e89f5a2d-1d86-4cee-82ae-dd8ea575f0e4",
"code": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "236493b8-0051-455c-b501-a7259deaaf69",
"sales_organization_code": "sample string 5",
"sales_organization": {
"id": "ee4bb434-1917-4233-9b31-d9e9a187663b",
"code": "sample string 2",
"name": "sample string 3",
"description": "sample string 4",
"db_country_id": "6906f114-50c6-4a34-9b53-b207468a59f9",
"db_currency_id": "ec834f9c-a565-4547-9ff9-f1fd39bd1399",
"db_language_id": "8b0fbc72-5a36-46ef-ba10-9f659d902bcf",
"accountancy_code": "sample string 8",
"archived": true,
"default_unit_of_measure_system_type": "sample string 10",
"street": "sample string 11",
"street2": "sample string 12",
"street_number": "sample string 13",
"zip": "sample string 14",
"city": "sample string 15",
"email": "sample string 16",
"phone": "sample string 17",
"fax": "sample string 18",
"url": "sample string 19",
"vat_reg_code": "sample string 20",
"modified_dateutc": "2026-06-19T18:46:30.1243759+00:00"
},
"modified_dateutc": "2026-06-19T18:46:30.1243759+00:00"
},
"marketing_segment_id": "9643d7f8-5577-4a28-af01-bf40d0b519d2",
"marketing_segment_code": "sample string 11",
"sales_organization_id": "16909208-779a-40b5-ac9c-4c0250ce4072",
"sales_organization_code": "sample string 13",
"company_sales_status_code": "sample string 14",
"vat_reg_code": "sample string 15",
"is_working_address": true,
"parent_id": "3bd1f2f7-8a60-46fb-a6ad-0d73f4431217",
"parent_company_code": "sample string 18",
"phone": "sample string 19",
"fax": "sample string 20",
"url": "sample string 21",
"email": "sample string 22",
"street": "sample string 23",
"street_number": "sample string 24",
"city": "sample string 25",
"zip": "sample string 26",
"db_country_id": "f9f382a7-8c6c-4707-9963-6b299303f259",
"db_country_code": "sample string 28",
"feelist_id": "ede52d4a-1b22-41bd-93f4-d7564d9ab3a3",
"feelist_reference_back_office": "sample string 30",
"feelist": {
"id": "40d0acd1-105f-4a43-898d-38bfe39048cd",
"name": "sample string 2",
"description": "sample string 3",
"is_default": true,
"default_price": 1.0,
"sales_organization_id": "8b9c4d4b-36ee-4761-8a4e-73f0fe55ee0c",
"sales_organization_code": "sample string 6",
"reference_back_office": "sample string 7",
"modified_dateutc": "2026-06-19T18:46:30.1243759+00:00",
"db_currency_id": "7ea4e4be-49fd-40db-9d56-da0ef3140d67",
"db_currency_code": "sample string 10"
},
"company_type_id": "aa597740-3904-4ad8-9e45-97640b12f64e",
"company_type_name": "sample string 32",
"company_type": {
"id": "1b3e44c6-c1ab-40f7-8819-8a60343a1d81",
"name": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "904d2cde-7fda-4b98-b960-af6284eef0b6",
"sales_organization_code": "sample string 5"
},
"db_language_id": "52fd7729-8767-4567-8360-3c474a340dfb",
"db_language_code": "sample string 34",
"code": "sample string 35",
"article_price_label_id": "5edc16df-8ee2-4c9e-84e1-c4ddef210547",
"article_price_label_code": "sample string 37",
"db_payment_method_id": "a707a4e8-1d0f-4f84-9fa1-879f018d551f",
"db_payment_method_reference_back_office": "sample string 39",
"db_payment_methods": {
"id": "b1bbcd7d-e911-4c19-80e5-91a5bd85c2f3",
"name": "sample string 2",
"description": "sample string 3",
"reference_back_office": "sample string 4",
"activated": true,
"modified_dateutc": "2026-06-19T18:46:30.1243759+00:00"
},
"company_sector_id": "7e57a076-0cc6-45c4-904a-104e50b1b7e9",
"company_sector_code": "sample string 41",
"is_lead": true,
"is_subcontractor": true,
"latitude": 1.0,
"longitude": 1.0,
"street2": "sample string 44",
"bic_code": "sample string 45",
"specialities": "sample string 46",
"register_number": "sample string 47",
"register_city": "sample string 48",
"bankaccount": "sample string 49",
"mobile": "sample string 50",
"service_manager_user_id": "01939aca-57a5-430b-9fc6-de2144b5e8af",
"service_manager_user_code": "sample string 52",
"finance_manager_user_id": "931ff411-3816-430e-ab17-30b135c54228",
"finance_manager_user_code": "sample string 54",
"account_manager_user_id": "c22aaa4f-aaa3-4c6a-b13b-7c4b49aa3807",
"account_manager_user_code": "sample string 56",
"company_status_id": "181868a5-9915-4732-9fb2-28ce279ecabf",
"invoice_email_to": "sample string 58",
"modified_dateutc": "2026-06-19T18:46:30.1243759+00:00",
"id2": 60
},
"db_language_id": "84c17553-bfda-49ba-8340-7c79408f6e7f",
"db_language_code": "sample string 7",
"db_title_id": "2a07aa2d-3f2f-44b5-a451-16f1a88fefd6",
"archived": true,
"functions": "sample string 10",
"e_login": "sample string 11",
"e_password": "sample string 12",
"notes": "sample string 13",
"birthdate": "2026-06-19T18:46:30.1243759+00:00",
"create_date": "2026-06-19T18:46:30.1243759+00:00",
"phone": "sample string 16",
"mobile": "sample string 17",
"email": "sample string 18",
"skype": "sample string 19",
"private_phone": "sample string 20",
"private_mobile": "sample string 21",
"private_email": "sample string 22",
"reference_back_office": "sample string 23",
"modified_dateutc": "2026-06-19T18:46:30.1400006+00:00"
},
"modified_dateutc": "2026-06-19T18:46:30.1400006+00:00",
"id2": 22
}
Response Information
Resource Description :
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample not available.