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": "ed03d1d5-f210-420b-9133-9ca3aceb72c1",
"_parent_id": "70a9c399-d0ec-4ccc-a282-4196f9b4f346",
"_parent_reference_back_office": "sample string 3",
"project_status_id": "ec8c1124-9854-4478-a0d3-40227c93db43",
"company_id": "25b81629-9033-4b49-949f-f666f62660c8",
"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": "737bada3-0d8f-47d3-9f6e-7c83132dadc2",
"db_country_code": "sample string 17",
"street2": "sample string 18",
"latitude_decimal": 1.0,
"longitude_decimal": 1.0,
"contact_id": "04ee7e5d-73f3-4123-a85b-b374528fe573",
"contact_reference_back_office": "sample string 20",
"contact": {
"id": "ca166d66-a021-466a-8598-cab7f5ee5407",
"firstname": "sample string 2",
"lastname": "sample string 3",
"company_id": "db1995f8-009d-4888-aaa0-1bd6d4e5f71b",
"company_code": "sample string 5",
"company": {
"id": "6a7ea755-7ec1-45ba-a730-cff80542a1ce",
"is_client": true,
"is_supplier": true,
"archived": true,
"name": "sample string 5",
"notes": "sample string 6",
"create_date": "2026-05-15T10:14:05.0990711+00:00",
"sales_territory_id": "38b29bcd-eb6b-4edd-8031-3da4b79828ad",
"sales_territory_code": "sample string 9",
"sales_territory": {
"id": "dbe26a1e-1e97-475d-b78c-d7139e77ff78",
"code": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "03044422-933f-43f7-bb61-b456d0602f72",
"sales_organization_code": "sample string 5",
"sales_organization": {
"id": "97c5ba2b-1eb6-4915-8e7f-7a3130b656de",
"code": "sample string 2",
"name": "sample string 3",
"description": "sample string 4",
"db_country_id": "13009535-4e30-45f0-807c-2135c249645f",
"db_currency_id": "fecf60f3-84d0-49cb-a05c-a0668d57d252",
"db_language_id": "546379ff-7682-40e3-a26b-8e15e5840139",
"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-05-15T10:14:05.0990711+00:00"
},
"modified_dateutc": "2026-05-15T10:14:05.0990711+00:00"
},
"marketing_segment_id": "cb4e39ce-625d-4a71-89a0-d12338dfaa3e",
"marketing_segment_code": "sample string 11",
"sales_organization_id": "44bd6541-b0b3-4519-97c5-f3f0745841df",
"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": "b3343094-7950-4c3d-a54b-1a645255c57c",
"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": "ccdec7e4-c6ed-4c05-a07d-128d22d4b16d",
"db_country_code": "sample string 28",
"feelist_id": "6684de6f-9220-4358-a310-722bbe56fc78",
"feelist_reference_back_office": "sample string 30",
"feelist": {
"id": "80ba879f-0a31-47f8-a171-a0eff103ae3c",
"name": "sample string 2",
"description": "sample string 3",
"is_default": true,
"default_price": 1.0,
"sales_organization_id": "cd1ff651-a1cf-4d8a-8f66-814065e7426e",
"sales_organization_code": "sample string 6",
"reference_back_office": "sample string 7",
"modified_dateutc": "2026-05-15T10:14:05.0990711+00:00",
"db_currency_id": "721ba4b6-9d3c-4684-8c0f-b5bd81f38b86",
"db_currency_code": "sample string 10"
},
"company_type_id": "124d7b1e-cc2e-4dce-8969-a7ee072c20a3",
"company_type_name": "sample string 32",
"company_type": {
"id": "5f9b2a53-d3b2-41b9-ba16-e3bb73a1223e",
"name": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "93dd8c0c-04f5-454f-8086-b817845e37ba",
"sales_organization_code": "sample string 5"
},
"db_language_id": "dec586b5-aa81-4c16-bafc-082e780f02a7",
"db_language_code": "sample string 34",
"code": "sample string 35",
"article_price_label_id": "164caa74-3502-499b-8aa4-dd44ff23f7d0",
"article_price_label_code": "sample string 37",
"db_payment_method_id": "ff9933f8-10aa-4dab-90df-20b8acca6dc5",
"db_payment_method_reference_back_office": "sample string 39",
"db_payment_methods": {
"id": "bcae7da6-1483-4361-99eb-337de2083b37",
"name": "sample string 2",
"description": "sample string 3",
"reference_back_office": "sample string 4",
"activated": true,
"modified_dateutc": "2026-05-15T10:14:05.0990711+00:00"
},
"company_sector_id": "6d705f64-ca0e-4336-ac54-2cfd419e7576",
"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": "7b328f8d-96a8-4173-a4bb-b301c5051c1a",
"service_manager_user_code": "sample string 52",
"finance_manager_user_id": "dbbcd184-65e6-4f80-8abb-6fe5d10a3ad7",
"finance_manager_user_code": "sample string 54",
"account_manager_user_id": "72226880-88e1-4a85-9a9b-83f6253badcd",
"account_manager_user_code": "sample string 56",
"company_status_id": "ac310d0a-27ae-4afa-adaa-c8ee8fcf9f60",
"invoice_email_to": "sample string 58",
"modified_dateutc": "2026-05-15T10:14:05.0990711+00:00",
"id2": 60
},
"db_language_id": "1cad8080-b4da-4b52-9a4b-4c9c35405791",
"db_language_code": "sample string 7",
"db_title_id": "40767b41-48b3-4cda-81f7-e4e9d7be058f",
"archived": true,
"functions": "sample string 10",
"e_login": "sample string 11",
"e_password": "sample string 12",
"notes": "sample string 13",
"birthdate": "2026-05-15T10:14:05.0990711+00:00",
"create_date": "2026-05-15T10:14:05.0990711+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-05-15T10:14:05.0990711+00:00"
},
"modified_dateutc": "2026-05-15T10:14:05.0990711+00:00",
"id2": 22
}
Response Information
Resource Description :
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample not available.