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": "d61a848f-d435-4027-a042-ea5fb110212e", "_parent_id": "e98f6dc5-c0dc-4bc4-b0d5-10dde0a52a55", "_parent_reference_back_office": "sample string 3", "project_status_id": "693297f1-85a4-4874-82d0-964f374a07d9", "company_id": "34364f81-a980-4d15-b283-322837c26bdd", "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": "1ba26fb1-9f92-460d-8855-84e50b6ddab2", "db_country_code": "sample string 17", "street2": "sample string 18", "latitude_decimal": 1.0, "longitude_decimal": 1.0, "contact_id": "23fe6ddb-3a17-4468-b4d9-0b8adb6d2d1a", "contact_reference_back_office": "sample string 20", "contact": { "id": "90b7a65b-b34e-423b-ad14-16ae707426ad", "firstname": "sample string 2", "lastname": "sample string 3", "company_id": "b679f2a6-7eba-4320-8ae8-3637bef6ed5e", "company_code": "sample string 5", "company": { "id": "3827dee0-db84-489e-98c6-15cbf494e2e1", "is_client": true, "is_supplier": true, "archived": true, "name": "sample string 5", "notes": "sample string 6", "create_date": "2025-10-13T17:54:03.6550028+00:00", "sales_territory_id": "f62b27e7-0d99-4edc-83d1-02dbf168faa4", "sales_territory_code": "sample string 9", "sales_territory": { "id": "eeb3df22-15aa-49bc-b7f7-fd5d34fd78aa", "code": "sample string 2", "description": "sample string 3", "sales_organization_id": "2395226b-0762-45c4-b5bc-2e7b3a50c14e", "sales_organization_code": "sample string 5", "sales_organization": { "id": "a6088b86-0bc1-451e-8b0d-a8d6ad5df48e", "code": "sample string 2", "name": "sample string 3", "description": "sample string 4", "db_country_id": "d6f343e3-86f3-4afb-aaec-450d749d1136", "db_currency_id": "3c55c486-168a-4649-bc46-36572f4a0d4a", "db_language_id": "3b42118e-2c8f-44f7-a7b6-3247bd97c40c", "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-13T17:54:03.6550028+00:00" }, "modified_dateutc": "2025-10-13T17:54:03.6550028+00:00" }, "marketing_segment_id": "f0e0b2ce-0de4-4b3f-b2fd-f5d29abd2ddd", "marketing_segment_code": "sample string 11", "sales_organization_id": "dea8908f-d477-417d-94c1-dfea93bdadda", "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": "eb62b675-2b06-487e-899a-afdf451d57cf", "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": "b1f701e2-50a4-4058-83eb-26adb18fa26b", "db_country_code": "sample string 28", "feelist_id": "895640a4-bdc5-4f04-ba38-1d3d77cfc2d5", "feelist_reference_back_office": "sample string 30", "feelist": { "id": "565c239b-13ac-4fc3-9037-b423fcb44186", "name": "sample string 2", "description": "sample string 3", "is_default": true, "default_price": 1.0, "sales_organization_id": "32d677be-ca73-49c2-b2b5-680c16557fa5", "sales_organization_code": "sample string 6", "reference_back_office": "sample string 7", "modified_dateutc": "2025-10-13T17:54:03.6550028+00:00", "db_currency_id": "c7ff7726-61b7-4058-9ed8-0a48e32673af", "db_currency_code": "sample string 10" }, "company_type_id": "9a96bb6d-afcc-4caa-b5c4-4ac76b6a6f03", "company_type_name": "sample string 32", "company_type": { "id": "b4c1e80f-e8cb-44f5-ae4a-9ffa191ab578", "name": "sample string 2", "description": "sample string 3", "sales_organization_id": "6ccda489-b05c-48a7-a752-87eba16f8313", "sales_organization_code": "sample string 5" }, "db_language_id": "3f01ae5f-efde-4561-affb-e02257179958", "db_language_code": "sample string 34", "code": "sample string 35", "article_price_label_id": "eee2928f-17b6-43db-8660-38430f9547d1", "article_price_label_code": "sample string 37", "db_payment_method_id": "748f02c8-7886-49b6-817b-0bdd06e41ad6", "db_payment_method_reference_back_office": "sample string 39", "db_payment_methods": { "id": "7bb4f71c-3653-4a33-8bf4-b052924760de", "name": "sample string 2", "description": "sample string 3", "reference_back_office": "sample string 4", "activated": true, "modified_dateutc": "2025-10-13T17:54:03.6550028+00:00" }, "company_sector_id": "e86fc13a-d078-4cbb-876d-4efa17a10ee4", "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": "1d895640-a24b-4f0e-8881-401f7db5d3e7", "service_manager_user_code": "sample string 52", "finance_manager_user_id": "d4819249-788c-4195-9ffc-a87ef257e6a4", "finance_manager_user_code": "sample string 54", "account_manager_user_id": "f2bf2ad3-e66c-453d-8b80-c26113c9d0e8", "account_manager_user_code": "sample string 56", "company_status_id": "633dee30-c511-44d4-8344-6f2f4be0f8d6", "invoice_email_to": "sample string 58", "modified_dateutc": "2025-10-13T17:54:03.6550028+00:00", "id2": 60 }, "db_language_id": "593fc161-01a5-4026-8366-1c5846273efc", "db_language_code": "sample string 7", "db_title_id": "a005eac7-e7a0-40f7-b344-93e8ba8d8b13", "archived": true, "functions": "sample string 10", "e_login": "sample string 11", "e_password": "sample string 12", "notes": "sample string 13", "birthdate": "2025-10-13T17:54:03.6550028+00:00", "create_date": "2025-10-13T17:54:03.6550028+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-13T17:54:03.6550028+00:00" }, "modified_dateutc": "2025-10-13T17:54:03.6550028+00:00", "id2": 22 }
Response Information
Resource Description :
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample not available.