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": "e927bbca-a3c0-4857-bbf5-4336dbc9ab5f",
"_parent_id": "ce3c573b-f3d7-461b-8273-3635518468c5",
"_parent_reference_back_office": "sample string 3",
"project_status_id": "2f3a0c49-ffdb-4572-af13-ee41b04eee35",
"company_id": "6bbaad8b-9952-4e02-9593-ef181ae63c80",
"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": "52fe94a1-1e58-45ec-b721-f074eca0392c",
"db_country_code": "sample string 17",
"street2": "sample string 18",
"latitude_decimal": 1.0,
"longitude_decimal": 1.0,
"contact_id": "d9a608fb-9815-4f5e-a5b7-ea84330eac7f",
"contact_reference_back_office": "sample string 20",
"contact": {
"id": "b440d76a-44e8-4748-ac1c-5ae45ce74151",
"firstname": "sample string 2",
"lastname": "sample string 3",
"company_id": "fa0b5304-ba1b-4fda-bfec-1f726f26fd64",
"company_code": "sample string 5",
"company": {
"id": "1c966460-4e33-4894-a47a-9c411fcfb2b6",
"is_client": true,
"is_supplier": true,
"archived": true,
"name": "sample string 5",
"notes": "sample string 6",
"create_date": "2026-10-31T12:18:19.8455077+00:00",
"sales_territory_id": "a624ec48-1550-4a2f-828d-ff52664c581a",
"sales_territory_code": "sample string 9",
"sales_territory": {
"id": "664dc307-53e2-48b4-a3d0-518bd7e3255b",
"code": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "7f90e816-c893-4342-b264-e26f0d3e9fd1",
"sales_organization_code": "sample string 5",
"sales_organization": {
"id": "a736cf2c-503e-46b6-bf5f-e40b2ef24ff0",
"code": "sample string 2",
"name": "sample string 3",
"description": "sample string 4",
"db_country_id": "592e0c91-5343-40fc-9ae1-cfffc7183083",
"db_currency_id": "2e08fc31-1fc0-4f05-86f6-ad3a19d44ac1",
"db_language_id": "407c3f91-4e25-408a-a6a7-927d6ed317da",
"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-31T12:18:19.8455077+00:00"
},
"modified_dateutc": "2026-10-31T12:18:19.8455077+00:00"
},
"marketing_segment_id": "a05b6658-e9b4-40ef-8e18-df9d4d1b66f9",
"marketing_segment_code": "sample string 11",
"sales_organization_id": "63c9618e-6873-4304-98f5-8e6e19c56941",
"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": "b6eeeed5-2870-4a87-a0bc-0da8b51ba870",
"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": "a8549481-103d-4ccf-8a51-d78f0c2d27aa",
"db_country_code": "sample string 28",
"feelist_id": "01e18ffe-daf8-472a-9737-cef09e221046",
"feelist_reference_back_office": "sample string 30",
"feelist": {
"id": "7df61609-c5dc-492c-abe2-c612673728f5",
"name": "sample string 2",
"description": "sample string 3",
"is_default": true,
"default_price": 1.0,
"sales_organization_id": "b285c7e8-e5ed-4cd2-86e2-2af499448fdc",
"sales_organization_code": "sample string 6",
"reference_back_office": "sample string 7",
"modified_dateutc": "2026-10-31T12:18:19.8455077+00:00",
"db_currency_id": "66ea6670-d5a2-43f6-bfc4-d30c60e3ba2b",
"db_currency_code": "sample string 10"
},
"company_type_id": "dfde80e9-3221-4eb2-ac36-9170ab414154",
"company_type_name": "sample string 32",
"company_type": {
"id": "f41131bf-84e7-4a6b-b5bf-52866a77e86e",
"name": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "be372d2c-0a86-4c15-8869-bba41b26ffe7",
"sales_organization_code": "sample string 5"
},
"db_language_id": "d6fe605e-55fe-4141-a2bd-f7d2875fe9c0",
"db_language_code": "sample string 34",
"code": "sample string 35",
"article_price_label_id": "577cbd01-9649-48a2-b1d8-45bd738d65dd",
"article_price_label_code": "sample string 37",
"db_payment_method_id": "cf2b546e-c24b-4c93-ad5c-1f13d8f7cc2b",
"db_payment_method_reference_back_office": "sample string 39",
"db_payment_methods": {
"id": "dec764af-a5cc-4803-866b-9b99fd6dc970",
"name": "sample string 2",
"description": "sample string 3",
"reference_back_office": "sample string 4",
"activated": true,
"modified_dateutc": "2026-10-31T12:18:19.859646+00:00"
},
"company_sector_id": "1d76b592-07c4-4ada-8232-fc4f3983fc09",
"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": "c17009f9-00d1-4d45-b326-2cc5c44c485b",
"service_manager_user_code": "sample string 52",
"finance_manager_user_id": "17d23c14-f44a-4c0e-97f3-2a3a9adb3f61",
"finance_manager_user_code": "sample string 54",
"account_manager_user_id": "0fe0a24d-475b-470f-aeb7-7abe6d1abcfc",
"account_manager_user_code": "sample string 56",
"company_status_id": "873e3ec0-7e3b-456e-bfd6-045acdd207c0",
"invoice_email_to": "sample string 58",
"modified_dateutc": "2026-10-31T12:18:19.859646+00:00",
"id2": 60
},
"db_language_id": "64fd5891-6735-48d0-99fa-d09d9fb703b2",
"db_language_code": "sample string 7",
"db_title_id": "dd631357-f33e-489d-be78-0cdabfbf1e63",
"archived": true,
"functions": "sample string 10",
"e_login": "sample string 11",
"e_password": "sample string 12",
"notes": "sample string 13",
"birthdate": "2026-10-31T12:18:19.859646+00:00",
"create_date": "2026-10-31T12:18:19.859646+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-31T12:18:19.859646+00:00"
},
"modified_dateutc": "2026-10-31T12:18:19.859646+00:00",
"id2": 22
}
Response Information
Resource Description :
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample not available.