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": "00e486c4-c07b-4f96-a5fe-018cdd3074d6",
"_parent_id": "4af2e0c6-107d-4021-bea9-ce1cf106bd41",
"_parent_reference_back_office": "sample string 3",
"project_status_id": "610a55fd-7897-4bb5-a9a7-939142f6987c",
"company_id": "4f7b1c4a-ff5f-47ab-bea8-6a0854d27708",
"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": "9ab309f4-905e-4b27-b989-5256ebc33414",
"db_country_code": "sample string 17",
"street2": "sample string 18",
"latitude_decimal": 1.0,
"longitude_decimal": 1.0,
"contact_id": "b20ee353-b39a-49ec-8a07-ea59b8f5804c",
"contact_reference_back_office": "sample string 20",
"contact": {
"id": "948f918b-212d-4ec9-8802-5d4fd41261e9",
"firstname": "sample string 2",
"lastname": "sample string 3",
"company_id": "7910092c-ba71-4a78-9e2e-88a9271d1c74",
"company_code": "sample string 5",
"company": {
"id": "622e94f9-0fa4-4b55-afdc-f3c315b781cb",
"is_client": true,
"is_supplier": true,
"archived": true,
"name": "sample string 5",
"notes": "sample string 6",
"create_date": "2025-12-05T20:49:32.523721+00:00",
"sales_territory_id": "c26e1135-e95a-4855-8306-073be2ad775e",
"sales_territory_code": "sample string 9",
"sales_territory": {
"id": "9d363788-9978-4393-8036-e012a29278f2",
"code": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "52caa0d9-2c47-41b7-ab23-69ab19e89cb8",
"sales_organization_code": "sample string 5",
"sales_organization": {
"id": "4983c992-f3ee-4252-83ef-7f6326f28884",
"code": "sample string 2",
"name": "sample string 3",
"description": "sample string 4",
"db_country_id": "5109062a-f6e3-432f-9254-9e2591b072a5",
"db_currency_id": "565e9f03-934a-4fdd-8157-4f85cb4f1f4b",
"db_language_id": "95811df0-cc23-4e5a-9dc7-0d34c3fa4447",
"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-12-05T20:49:32.523721+00:00"
},
"modified_dateutc": "2025-12-05T20:49:32.523721+00:00"
},
"marketing_segment_id": "6b97d48a-a5c0-4b98-ba1c-1aeaa21fa698",
"marketing_segment_code": "sample string 11",
"sales_organization_id": "ece43eb6-dc34-440d-a135-92b9677f81fc",
"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": "bbe51bcd-b90b-4fa2-8f6d-5b967a0e1dec",
"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": "42270e12-e7cf-42f2-b98b-e8652890e1e0",
"db_country_code": "sample string 28",
"feelist_id": "e85c07bb-9bc9-4e81-a478-e1971c0b731e",
"feelist_reference_back_office": "sample string 30",
"feelist": {
"id": "4f5af289-e07d-42b7-beeb-abe99328d065",
"name": "sample string 2",
"description": "sample string 3",
"is_default": true,
"default_price": 1.0,
"sales_organization_id": "5d079142-4934-434d-afa4-ffecc2a0c94e",
"sales_organization_code": "sample string 6",
"reference_back_office": "sample string 7",
"modified_dateutc": "2025-12-05T20:49:32.523721+00:00",
"db_currency_id": "bdf6c7ff-c927-4fc4-b319-601228250b86",
"db_currency_code": "sample string 10"
},
"company_type_id": "c8a3315f-e4a0-4e51-b08b-c1d404ceda18",
"company_type_name": "sample string 32",
"company_type": {
"id": "b3f5382d-3caf-41f6-9c19-20f7b787a2dc",
"name": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "f29be7c4-025d-49b7-bf01-593ab905c5ee",
"sales_organization_code": "sample string 5"
},
"db_language_id": "f47aaf4f-d770-43a8-9378-e03284b4a733",
"db_language_code": "sample string 34",
"code": "sample string 35",
"article_price_label_id": "2c1fa17f-7063-436d-8022-74b97c847f41",
"article_price_label_code": "sample string 37",
"db_payment_method_id": "517b797f-c136-4889-98c0-d253b0bacca1",
"db_payment_method_reference_back_office": "sample string 39",
"db_payment_methods": {
"id": "3ba8b8d4-5a4c-499e-aaa3-2104cc2f9f1f",
"name": "sample string 2",
"description": "sample string 3",
"reference_back_office": "sample string 4",
"activated": true,
"modified_dateutc": "2025-12-05T20:49:32.523721+00:00"
},
"company_sector_id": "208ea567-6b7a-426f-a2e7-a1bfa50658d9",
"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": "f67cd380-087d-44b0-8df7-2ea11cd86508",
"service_manager_user_code": "sample string 52",
"finance_manager_user_id": "74892f43-b5c3-44fa-9300-9813039a4b39",
"finance_manager_user_code": "sample string 54",
"account_manager_user_id": "09dd508d-a286-4c41-9dc4-f632f6b83a88",
"account_manager_user_code": "sample string 56",
"company_status_id": "d859d90f-11de-434f-ac46-ba7fe226b272",
"invoice_email_to": "sample string 58",
"modified_dateutc": "2025-12-05T20:49:32.523721+00:00",
"id2": 60
},
"db_language_id": "de3e631c-6298-444a-b7ad-2d4737a87451",
"db_language_code": "sample string 7",
"db_title_id": "8ef6af1e-9a60-458e-bc96-177a810512bb",
"archived": true,
"functions": "sample string 10",
"e_login": "sample string 11",
"e_password": "sample string 12",
"notes": "sample string 13",
"birthdate": "2025-12-05T20:49:32.523721+00:00",
"create_date": "2025-12-05T20:49:32.523721+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-12-05T20:49:32.523721+00:00"
},
"modified_dateutc": "2025-12-05T20:49:32.523721+00:00",
"id2": 22
}
Response Information
Resource Description :
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample not available.