Updates the location object
Request Information
URI Parameters :
Name | Description | Type | Additional information |
---|---|---|---|
id | globally unique identifier |
Required |
Body Parameters :
locationName | 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": "e1a7ddbc-9621-4180-97ea-d54a831c5f1d", "_parent_id": "e39c6a9d-c28b-4b52-a1cf-dcacc9561ec1", "_parent_reference_back_office": "sample string 3", "project_status_id": "abefabe6-1091-472b-87f4-38d95c285ecc", "company_id": "fa991e51-c219-45f0-a73c-fd53405e64f5", "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": "2307b7ab-9454-4354-aa84-5619eb83197f", "db_country_code": "sample string 17", "street2": "sample string 18", "latitude_decimal": 1.0, "longitude_decimal": 1.0, "contact_id": "16752797-dc0c-41d8-af70-af8eba230271", "contact_reference_back_office": "sample string 20", "contact": { "id": "37ed1f71-4ea1-4c2c-8b3d-9165c13143a6", "firstname": "sample string 2", "lastname": "sample string 3", "company_id": "84943df7-33bf-481b-9102-98493a8293dd", "company_code": "sample string 5", "company": { "id": "550d1daf-1779-40a7-a02c-9f0d327436a9", "is_client": true, "is_supplier": true, "archived": true, "name": "sample string 5", "notes": "sample string 6", "create_date": "2025-10-15T04:41:44.4896457+00:00", "sales_territory_id": "8da20448-6a64-45af-b09b-2417b82d5641", "sales_territory_code": "sample string 9", "sales_territory": { "id": "cd62d5ec-c0f0-4820-a7af-8563bd9abe2e", "code": "sample string 2", "description": "sample string 3", "sales_organization_id": "112cc10e-88b7-42ea-8146-6497c543ef26", "sales_organization_code": "sample string 5", "sales_organization": { "id": "ae7d9c16-4022-41a4-8a2c-00bbd566fd15", "code": "sample string 2", "name": "sample string 3", "description": "sample string 4", "db_country_id": "1471c8e4-a7cf-4eae-a37c-8f3ed3a24e0b", "db_currency_id": "592e3437-74bd-488c-a8d8-f7090b3f9e15", "db_language_id": "6692278f-a617-47af-a043-27e9b58e5800", "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": "2025-10-15T04:41:44.4896457+00:00" }, "modified_dateutc": "2025-10-15T04:41:44.4896457+00:00" }, "marketing_segment_id": "6508120f-c976-4bc5-8d3e-57df8c044601", "marketing_segment_code": "sample string 11", "sales_organization_id": "30b4293b-2eb2-414b-ae5d-b0816a4a35d4", "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": "def0f174-1aca-47aa-b57e-e3afdb38a371", "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": "a5bfd6ae-465f-404a-8417-1fdce2d85474", "db_country_code": "sample string 28", "feelist_id": "b83326c7-c21a-4b28-b767-41b2ebc58aaa", "feelist_reference_back_office": "sample string 30", "feelist": { "id": "252ea9c7-026c-4ea2-95e2-12010590171f", "name": "sample string 2", "description": "sample string 3", "is_default": true, "default_price": 1.0, "sales_organization_id": "67109ca7-95b5-496e-9ebb-50a5ea64eeab", "sales_organization_code": "sample string 6", "reference_back_office": "sample string 7", "modified_dateutc": "2025-10-15T04:41:44.4896457+00:00", "db_currency_id": "aa1f4dd2-54b9-4443-94c4-64d8dbb15ec7", "db_currency_code": "sample string 10" }, "company_type_id": "3d924f7f-91c5-4c66-af6f-0728fcf914df", "company_type_name": "sample string 32", "company_type": { "id": "19c15dfb-2abd-4ac8-97bb-b0fd458fa55e", "name": "sample string 2", "description": "sample string 3", "sales_organization_id": "df59f458-25c2-48c5-a59c-2460df2cf75e", "sales_organization_code": "sample string 5" }, "db_language_id": "eef5f1f4-505b-4b11-9d9f-a9346423b6b2", "db_language_code": "sample string 34", "code": "sample string 35", "article_price_label_id": "4a02c836-b100-4570-b4e8-9d37912ee1e4", "article_price_label_code": "sample string 37", "db_payment_method_id": "ccb15b20-4bd7-4581-be35-7d5f78946b95", "db_payment_method_reference_back_office": "sample string 39", "db_payment_methods": { "id": "3c5b126c-f292-430f-b425-110e1bb6c935", "name": "sample string 2", "description": "sample string 3", "reference_back_office": "sample string 4", "activated": true, "modified_dateutc": "2025-10-15T04:41:44.4896457+00:00" }, "company_sector_id": "2725961f-b816-4ab4-a875-2e4514d0eaba", "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": "c478b900-66b2-499b-9e97-300bf5cb7797", "service_manager_user_code": "sample string 52", "finance_manager_user_id": "a5e8fc2b-a081-427a-a1a1-b6143112cf98", "finance_manager_user_code": "sample string 54", "account_manager_user_id": "6c88f484-d1ac-4f2c-bf7e-06c8ce2b9dc4", "account_manager_user_code": "sample string 56", "company_status_id": "1de2bdd5-f8cb-41f2-8e40-4de4342a80a2", "invoice_email_to": "sample string 58", "modified_dateutc": "2025-10-15T04:41:44.4896457+00:00", "id2": 60 }, "db_language_id": "9dd87a3b-c4a9-4261-802d-ebad44c0f611", "db_language_code": "sample string 7", "db_title_id": "b0e56b35-7fad-47b0-ac6c-61ee9f1f3ebc", "archived": true, "functions": "sample string 10", "e_login": "sample string 11", "e_password": "sample string 12", "notes": "sample string 13", "birthdate": "2025-10-15T04:41:44.4896457+00:00", "create_date": "2025-10-15T04:41:44.4896457+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": "2025-10-15T04:41:44.4896457+00:00" }, "modified_dateutc": "2025-10-15T04:41:44.4896457+00:00", "id2": 22 }
Response Information
Resource Description :
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample not available.