Retrieves all the locations
Request Information
URI Parameters :
None.
Body Parameters :
None.
Response Information
Resource Description :
IHttpActionResult
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 |
Response Formats
application/json, text/json
{
"id": "0d4c29e1-4caa-472d-ab0b-5107a8e351d9",
"_parent_id": "86dfdfb8-9f46-4259-9414-d6a9b337b6eb",
"_parent_reference_back_office": "sample string 3",
"project_status_id": "3f6392b8-f82d-4a40-9afd-6046cb53de32",
"company_id": "9a89da2f-448e-44a6-8e8c-644ba503e6ab",
"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": "a18ed12b-a5fa-4232-966d-432d2d24a568",
"db_country_code": "sample string 17",
"street2": "sample string 18",
"latitude_decimal": 1.0,
"longitude_decimal": 1.0,
"contact_id": "16fd3243-40c2-48b7-8350-b71efb6d92de",
"contact_reference_back_office": "sample string 20",
"contact": {
"id": "84f09047-3f88-420a-b5aa-2b2dcd0a0d3a",
"firstname": "sample string 2",
"lastname": "sample string 3",
"company_id": "4c1fb486-cb0e-4866-9492-13c4538f2b83",
"company_code": "sample string 5",
"company": {
"id": "e52e7bee-4b03-4be1-ac7c-141a5f1441a5",
"is_client": true,
"is_supplier": true,
"archived": true,
"name": "sample string 5",
"notes": "sample string 6",
"create_date": "2026-11-28T10:09:02.6751817+00:00",
"sales_territory_id": "f1c5cc31-91fa-41a0-9727-5615e28cc909",
"sales_territory_code": "sample string 9",
"sales_territory": {
"id": "e864a582-1793-4632-91c4-a4507cd3b0ea",
"code": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "f4b09245-1115-4f91-a778-f4f42c3098cc",
"sales_organization_code": "sample string 5",
"sales_organization": {
"id": "b512aa85-f4d5-4796-ab9a-22f945d8b1f7",
"code": "sample string 2",
"name": "sample string 3",
"description": "sample string 4",
"db_country_id": "884b45f7-a4e2-4dec-a245-51188763b73f",
"db_currency_id": "bbeffae4-6aa9-4f2c-84a3-204d2494ad83",
"db_language_id": "14293ae1-5e65-4caf-83ef-cd6f11fd82ac",
"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-28T10:09:02.6751817+00:00"
},
"modified_dateutc": "2026-11-28T10:09:02.6751817+00:00"
},
"marketing_segment_id": "88074b53-074c-4024-87ab-255bc33b6473",
"marketing_segment_code": "sample string 11",
"sales_organization_id": "c8042221-5180-4208-ab4d-ffda9e588662",
"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": "81b8cb71-f871-464e-9fc1-56795ba72d21",
"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": "02b16985-23a7-47ae-affc-ca7673acd206",
"db_country_code": "sample string 28",
"feelist_id": "2830dfb0-e180-4406-aedd-45bc6636398f",
"feelist_reference_back_office": "sample string 30",
"feelist": {
"id": "4bf1482f-1234-48be-914c-5e48f67e78cd",
"name": "sample string 2",
"description": "sample string 3",
"is_default": true,
"default_price": 1.0,
"sales_organization_id": "32088daf-7609-42ee-aa74-8dc535106f13",
"sales_organization_code": "sample string 6",
"reference_back_office": "sample string 7",
"modified_dateutc": "2026-11-28T10:09:02.6751817+00:00",
"db_currency_id": "657a95d3-a8cf-4bc4-bd0b-b3f0eb7c1e92",
"db_currency_code": "sample string 10"
},
"company_type_id": "5421f093-f0e0-47f5-9c00-f2b4983cfc21",
"company_type_name": "sample string 32",
"company_type": {
"id": "b269458c-cf52-4df3-9d6f-1dcd7644d757",
"name": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "19372182-2cbc-4795-9d38-a67ba7db1bc4",
"sales_organization_code": "sample string 5"
},
"db_language_id": "f7b1b065-0ed7-4cf6-bfeb-a7a8b98bc9f9",
"db_language_code": "sample string 34",
"code": "sample string 35",
"article_price_label_id": "7956b3a5-a8f2-4fd4-a9fa-407b20d18fcd",
"article_price_label_code": "sample string 37",
"db_payment_method_id": "31ce668c-1a61-4c10-9aaa-82bf81817608",
"db_payment_method_reference_back_office": "sample string 39",
"db_payment_methods": {
"id": "0622b2c1-a021-44de-9a6b-77f2b4116f1b",
"name": "sample string 2",
"description": "sample string 3",
"reference_back_office": "sample string 4",
"activated": true,
"modified_dateutc": "2026-11-28T10:09:02.6751817+00:00"
},
"company_sector_id": "f4e14479-3d90-4e3e-86cc-fe0882d94c40",
"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": "1228763b-1ea8-40f3-a8ca-cee543c2c705",
"service_manager_user_code": "sample string 52",
"finance_manager_user_id": "dc57ca59-960f-48c5-89a2-b3ab3db889ab",
"finance_manager_user_code": "sample string 54",
"account_manager_user_id": "142d759c-b113-417c-9a6e-dd8b533a2610",
"account_manager_user_code": "sample string 56",
"company_status_id": "5b7e3fc4-fbe7-4cfa-b55c-3dfaf7011b6c",
"invoice_email_to": "sample string 58",
"modified_dateutc": "2026-11-28T10:09:02.6751817+00:00",
"id2": 60
},
"db_language_id": "7af81ed9-04f6-44fd-81d7-f14961c193a1",
"db_language_code": "sample string 7",
"db_title_id": "8a352f46-c6bd-4d44-9c4c-ab1da030a666",
"archived": true,
"functions": "sample string 10",
"e_login": "sample string 11",
"e_password": "sample string 12",
"notes": "sample string 13",
"birthdate": "2026-11-28T10:09:02.6751817+00:00",
"create_date": "2026-11-28T10:09:02.6751817+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-28T10:09:02.6751817+00:00"
},
"modified_dateutc": "2026-11-28T10:09:02.6751817+00:00",
"id2": 22
}