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": "9b15dc27-9e37-4d51-8ed2-2b89cdad0ff1",
"_parent_id": "2b4bc20c-1e0b-44cd-8963-835d17c12638",
"_parent_reference_back_office": "sample string 3",
"project_status_id": "ab440fae-866c-4a73-84a9-bd7bfd656fb2",
"company_id": "df44acaa-5111-4303-85c6-604d2b6b6c90",
"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": "8d52a9ff-eafc-485f-bc56-e237742500ad",
"db_country_code": "sample string 17",
"street2": "sample string 18",
"latitude_decimal": 1.0,
"longitude_decimal": 1.0,
"contact_id": "ecde6fdf-2191-4a0b-b9f5-2a144562c4ad",
"contact_reference_back_office": "sample string 20",
"contact": {
"id": "4132a0fc-4e68-45f8-9f65-edc45be12f9e",
"firstname": "sample string 2",
"lastname": "sample string 3",
"company_id": "9a344ccd-7b81-49bc-b124-96dba82dbf7b",
"company_code": "sample string 5",
"company": {
"id": "bd9bec80-1009-4b63-a5ae-6abaa15ef17a",
"is_client": true,
"is_supplier": true,
"archived": true,
"name": "sample string 5",
"notes": "sample string 6",
"create_date": "2026-11-28T18:49:57.6596031+00:00",
"sales_territory_id": "ab359260-1d88-4245-adcb-44c398fc7eb9",
"sales_territory_code": "sample string 9",
"sales_territory": {
"id": "e9e830db-0151-4adb-8c19-758a91ea8c88",
"code": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "7198e8f2-9471-4fa6-9c56-c6666055f720",
"sales_organization_code": "sample string 5",
"sales_organization": {
"id": "9c685fbc-72e9-4eb0-b302-07d50e54d7d6",
"code": "sample string 2",
"name": "sample string 3",
"description": "sample string 4",
"db_country_id": "3067a83c-7018-4863-98b2-9f8f92a01862",
"db_currency_id": "0cb7d79c-5d70-45a3-afe9-c3c63f928e8f",
"db_language_id": "89871afc-6c82-4986-b234-b981f8e6df7b",
"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-11-28T18:49:57.6596031+00:00"
},
"modified_dateutc": "2026-11-28T18:49:57.6596031+00:00"
},
"marketing_segment_id": "c488b105-6286-43b2-81f8-016609c871ec",
"marketing_segment_code": "sample string 11",
"sales_organization_id": "7ccb8646-3ac1-41a6-bd31-db00e6c4c86a",
"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": "f87cfadd-e0bd-4a7d-8429-030fe379f81a",
"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": "e2cd0e5c-5615-4665-b2fe-1dc21cbfb748",
"db_country_code": "sample string 28",
"feelist_id": "773a16e1-db8d-4c65-b4af-9c6af2b116bf",
"feelist_reference_back_office": "sample string 30",
"feelist": {
"id": "b6605b26-6b6d-4179-8f8f-5351aff7f3a1",
"name": "sample string 2",
"description": "sample string 3",
"is_default": true,
"default_price": 1.0,
"sales_organization_id": "2967a211-866b-4d87-8069-7ed1527818da",
"sales_organization_code": "sample string 6",
"reference_back_office": "sample string 7",
"modified_dateutc": "2026-11-28T18:49:57.6596031+00:00",
"db_currency_id": "273e7ed2-818e-461e-b8fb-29e5ca83a24b",
"db_currency_code": "sample string 10"
},
"company_type_id": "ea5162fa-c85e-4a98-ac26-c4c97f18e060",
"company_type_name": "sample string 32",
"company_type": {
"id": "c43343dd-9338-412d-8a9e-64027ce5f7e2",
"name": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "59bacb5d-2f1c-4b07-a7d4-3cce21b66ebe",
"sales_organization_code": "sample string 5"
},
"db_language_id": "7c2f6bd7-0833-42f5-90c3-46585bf6de66",
"db_language_code": "sample string 34",
"code": "sample string 35",
"article_price_label_id": "ab7d5070-e793-4ae3-87e5-5a6c66671994",
"article_price_label_code": "sample string 37",
"db_payment_method_id": "c9a0c3b0-4a57-423c-acc6-5776e10c4799",
"db_payment_method_reference_back_office": "sample string 39",
"db_payment_methods": {
"id": "e144ac30-cafb-4f3e-820a-bfa7ad546a75",
"name": "sample string 2",
"description": "sample string 3",
"reference_back_office": "sample string 4",
"activated": true,
"modified_dateutc": "2026-11-28T18:49:57.6596031+00:00"
},
"company_sector_id": "a011a19e-6be0-4454-9dd2-83c0f6b9c9c1",
"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": "63a92f0d-f756-43d7-b8b0-84f44d8988ca",
"service_manager_user_code": "sample string 52",
"finance_manager_user_id": "b589e155-cc5a-4966-bfb1-2784d2203fbd",
"finance_manager_user_code": "sample string 54",
"account_manager_user_id": "e4b99d73-0b2c-4230-a11b-f95341cee805",
"account_manager_user_code": "sample string 56",
"company_status_id": "57f7d7bc-dff4-45c5-9b25-3895cf954466",
"invoice_email_to": "sample string 58",
"modified_dateutc": "2026-11-28T18:49:57.6596031+00:00",
"id2": 60
},
"db_language_id": "5ff5f997-1ef8-4b32-a5d0-9b26a0832277",
"db_language_code": "sample string 7",
"db_title_id": "830dc144-7c69-45b8-80bf-ae73b523092f",
"archived": true,
"functions": "sample string 10",
"e_login": "sample string 11",
"e_password": "sample string 12",
"notes": "sample string 13",
"birthdate": "2026-11-28T18:49:57.6596031+00:00",
"create_date": "2026-11-28T18:49:57.6596031+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-11-28T18:49:57.6596031+00:00"
},
"modified_dateutc": "2026-11-28T18:49:57.6596031+00:00",
"id2": 22
}
Response Information
Resource Description :
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample not available.