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": "fba93fb7-20fe-4b22-904e-48c68ed3534b",
"_parent_id": "2bb43f4f-8c54-4850-8b8a-8b606cba35e2",
"_parent_reference_back_office": "sample string 3",
"project_status_id": "962dde5f-1fa3-4a00-83b3-ec0b04abba61",
"company_id": "fddacf30-d32e-44e1-a174-e7cbee420733",
"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": "0ebee243-4568-43c1-958a-6d9582e61606",
"db_country_code": "sample string 17",
"street2": "sample string 18",
"latitude_decimal": 1.0,
"longitude_decimal": 1.0,
"contact_id": "87bc689d-970e-4d85-b9f1-440b6ce907cc",
"contact_reference_back_office": "sample string 20",
"contact": {
"id": "1fe17fab-788f-4be0-926c-65a357789145",
"firstname": "sample string 2",
"lastname": "sample string 3",
"company_id": "74117d29-399f-44de-b66c-d6d74d8c326d",
"company_code": "sample string 5",
"company": {
"id": "0528c802-e9dc-4178-9f14-ce40f05b82d9",
"is_client": true,
"is_supplier": true,
"archived": true,
"name": "sample string 5",
"notes": "sample string 6",
"create_date": "2026-10-03T07:15:15.808886+00:00",
"sales_territory_id": "4e98401f-cd65-4e81-8b48-8445b004a757",
"sales_territory_code": "sample string 9",
"sales_territory": {
"id": "ee679020-fb53-41e6-9f3a-eeff6316ecd9",
"code": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "b69297d7-12cd-4405-856e-52245abda749",
"sales_organization_code": "sample string 5",
"sales_organization": {
"id": "422e2083-63d3-4dfc-baa9-d14500e6a384",
"code": "sample string 2",
"name": "sample string 3",
"description": "sample string 4",
"db_country_id": "a760c0c8-a2ba-46fd-8c18-4c0b7293cfa8",
"db_currency_id": "6f6c49bc-ea83-4d6a-8f90-cb40bcd90f0a",
"db_language_id": "4f7ee8ca-e728-462f-81b3-1797691dc46a",
"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-10-03T07:15:15.808886+00:00"
},
"modified_dateutc": "2026-10-03T07:15:15.808886+00:00"
},
"marketing_segment_id": "0a8dfe1e-a1b2-483a-bd1e-8d890a854ace",
"marketing_segment_code": "sample string 11",
"sales_organization_id": "2a61026a-3fd8-47d3-ab50-2ec531b6d258",
"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": "c3c27e1a-328a-484d-93af-59d279c485c2",
"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": "32ec0a33-3fd8-4d5a-962b-f3004b402fbd",
"db_country_code": "sample string 28",
"feelist_id": "209575be-029e-489b-b1c8-3daba839eab6",
"feelist_reference_back_office": "sample string 30",
"feelist": {
"id": "efd5cd33-33a5-4932-9f88-0390b1eaf7cc",
"name": "sample string 2",
"description": "sample string 3",
"is_default": true,
"default_price": 1.0,
"sales_organization_id": "860f834e-43af-45a1-857c-da0fc79842c6",
"sales_organization_code": "sample string 6",
"reference_back_office": "sample string 7",
"modified_dateutc": "2026-10-03T07:15:15.808886+00:00",
"db_currency_id": "10d8a4d6-2a6e-4927-a75a-15fbcaccab4a",
"db_currency_code": "sample string 10"
},
"company_type_id": "ab5b1a60-d32e-424f-9f83-8446fabfdf6b",
"company_type_name": "sample string 32",
"company_type": {
"id": "aca89e76-667b-4763-82dc-24427cec3c30",
"name": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "582f5105-dc7b-479c-b939-82e0fbbcc055",
"sales_organization_code": "sample string 5"
},
"db_language_id": "ca1a3d5f-2b9b-4750-a926-6cedada94505",
"db_language_code": "sample string 34",
"code": "sample string 35",
"article_price_label_id": "89097afe-1e16-431c-8115-af5554b60063",
"article_price_label_code": "sample string 37",
"db_payment_method_id": "e970f2b4-eb3d-4422-97de-44fcf8d8ffae",
"db_payment_method_reference_back_office": "sample string 39",
"db_payment_methods": {
"id": "97d3d01d-39db-4cc1-b5cc-6b2793477cb4",
"name": "sample string 2",
"description": "sample string 3",
"reference_back_office": "sample string 4",
"activated": true,
"modified_dateutc": "2026-10-03T07:15:15.8264736+00:00"
},
"company_sector_id": "761084fc-4fb0-4b22-9b4c-89ecfccd7f74",
"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": "343bb44f-cb0c-4d14-88fe-4b04849ce772",
"service_manager_user_code": "sample string 52",
"finance_manager_user_id": "49c586b5-1e6a-4ab2-bcc0-7d17d5e678c8",
"finance_manager_user_code": "sample string 54",
"account_manager_user_id": "3626ae80-ec74-4125-8574-ebb4ed7825d5",
"account_manager_user_code": "sample string 56",
"company_status_id": "c500afff-82fb-4f9e-97c9-b0727ad57f01",
"invoice_email_to": "sample string 58",
"modified_dateutc": "2026-10-03T07:15:15.8264736+00:00",
"id2": 60
},
"db_language_id": "f1ac65f3-449c-4216-a299-a08b8afbb190",
"db_language_code": "sample string 7",
"db_title_id": "b3d5d114-b22b-45fc-8645-e6ff1252b34c",
"archived": true,
"functions": "sample string 10",
"e_login": "sample string 11",
"e_password": "sample string 12",
"notes": "sample string 13",
"birthdate": "2026-10-03T07:15:15.8264736+00:00",
"create_date": "2026-10-03T07:15:15.8264736+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-10-03T07:15:15.8264736+00:00"
},
"modified_dateutc": "2026-10-03T07:15:15.8264736+00:00",
"id2": 22
}
Response Information
Resource Description :
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample not available.