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": "5f2e8224-927f-4e2b-b0ba-a4c8a5f8b799",
"_parent_id": "9d784ca3-7ab7-4fe6-8a02-dea5be967a78",
"_parent_reference_back_office": "sample string 3",
"project_status_id": "0e24c694-b3be-4145-886b-8e775b0a644b",
"company_id": "94f6a87b-fe3b-40f6-92fd-fc2bc9625573",
"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": "f3232063-2cff-4ffc-8cab-4fae15d1fc62",
"db_country_code": "sample string 17",
"street2": "sample string 18",
"latitude_decimal": 1.0,
"longitude_decimal": 1.0,
"contact_id": "84f0b406-eb9d-416c-980e-73ae1cd5ce97",
"contact_reference_back_office": "sample string 20",
"contact": {
"id": "8482b6b7-a651-4579-b018-0a145a524c1d",
"firstname": "sample string 2",
"lastname": "sample string 3",
"company_id": "02511351-059b-4c17-8bd7-5611fbba3107",
"company_code": "sample string 5",
"company": {
"id": "7dcd15e5-1628-40d3-b6cd-82236cd11f79",
"is_client": true,
"is_supplier": true,
"archived": true,
"name": "sample string 5",
"notes": "sample string 6",
"create_date": "2026-09-18T13:43:23.9454032+00:00",
"sales_territory_id": "f0f24913-2426-42cc-9452-cb95ee678941",
"sales_territory_code": "sample string 9",
"sales_territory": {
"id": "5fd33502-cc25-43c2-a6cd-c1d59222f92b",
"code": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "86886d1c-4441-45b7-beef-095f6e225a44",
"sales_organization_code": "sample string 5",
"sales_organization": {
"id": "e8987891-b886-474c-94aa-b4928961f50c",
"code": "sample string 2",
"name": "sample string 3",
"description": "sample string 4",
"db_country_id": "ba56344f-4977-4c22-9cec-d0b8b0a3308d",
"db_currency_id": "002ca0d4-6775-45a2-91ad-fe58b815dfd7",
"db_language_id": "129ec0a5-484e-433a-a41a-ed0d61768592",
"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-09-18T13:43:23.9454032+00:00"
},
"modified_dateutc": "2026-09-18T13:43:23.9454032+00:00"
},
"marketing_segment_id": "02b2b094-9b75-45a9-9a5c-a00dbc315cca",
"marketing_segment_code": "sample string 11",
"sales_organization_id": "89242155-dee3-4161-8e7c-ee507957566c",
"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": "907c4a0c-f4f6-41f4-95a2-47e4e2b27db5",
"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": "1460803f-fdd0-40a8-b35a-9109c8f4fb72",
"db_country_code": "sample string 28",
"feelist_id": "545ac736-35c0-4eaf-8cfa-9fb3bce53e9a",
"feelist_reference_back_office": "sample string 30",
"feelist": {
"id": "3723de1a-88d7-4faa-9f1d-95ff078b18fa",
"name": "sample string 2",
"description": "sample string 3",
"is_default": true,
"default_price": 1.0,
"sales_organization_id": "7994ff3d-94d9-44ad-a23c-05b3eae394cf",
"sales_organization_code": "sample string 6",
"reference_back_office": "sample string 7",
"modified_dateutc": "2026-09-18T13:43:23.9454032+00:00",
"db_currency_id": "f836153b-b30b-4838-8391-fe1984f586a1",
"db_currency_code": "sample string 10"
},
"company_type_id": "35543cbd-4b94-4fb4-9262-13d2b0d600e8",
"company_type_name": "sample string 32",
"company_type": {
"id": "9ca24d40-d956-406c-bdaf-46fc6a08f787",
"name": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "2be478ce-85c7-4c8a-9efd-584da4b57b2a",
"sales_organization_code": "sample string 5"
},
"db_language_id": "08fbfaa7-e1a2-4790-9d88-72ee5edf87ec",
"db_language_code": "sample string 34",
"code": "sample string 35",
"article_price_label_id": "e269ff76-f150-483a-8af3-b5aa3b1d8e28",
"article_price_label_code": "sample string 37",
"db_payment_method_id": "3b27181c-7359-4e0d-914f-d1580fbbe53d",
"db_payment_method_reference_back_office": "sample string 39",
"db_payment_methods": {
"id": "5f908497-b5ea-4a60-ad10-d91e85b8598d",
"name": "sample string 2",
"description": "sample string 3",
"reference_back_office": "sample string 4",
"activated": true,
"modified_dateutc": "2026-09-18T13:43:23.9454032+00:00"
},
"company_sector_id": "f2000e9a-7e28-47db-adf9-e610ad3109f9",
"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": "ac870cbe-2683-4a84-95fa-43e3bedc9181",
"service_manager_user_code": "sample string 52",
"finance_manager_user_id": "9a2d72d0-b328-48e9-8ecf-becbc89db64d",
"finance_manager_user_code": "sample string 54",
"account_manager_user_id": "1dbc7576-a11c-4961-bf84-fbd9320aa1f1",
"account_manager_user_code": "sample string 56",
"company_status_id": "db5cc089-1fbc-42e5-83c7-20f037e87481",
"invoice_email_to": "sample string 58",
"modified_dateutc": "2026-09-18T13:43:23.9454032+00:00",
"id2": 60
},
"db_language_id": "f324512b-2750-4393-b992-1a22186c77a7",
"db_language_code": "sample string 7",
"db_title_id": "701a14e4-e85e-40e6-91e2-38bc52c5cd31",
"archived": true,
"functions": "sample string 10",
"e_login": "sample string 11",
"e_password": "sample string 12",
"notes": "sample string 13",
"birthdate": "2026-09-18T13:43:23.9454032+00:00",
"create_date": "2026-09-18T13:43:23.9454032+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-09-18T13:43:23.9454032+00:00"
},
"modified_dateutc": "2026-09-18T13:43:23.9454032+00:00",
"id2": 22
}
Response Information
Resource Description :
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample not available.