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": "9037b1c9-d30a-4989-ae48-d7c67bf12404",
"_parent_id": "ef11fef8-f8a1-4a36-a8fe-71810123f77b",
"_parent_reference_back_office": "sample string 3",
"project_status_id": "691a1ebd-ce95-4d94-a1a6-feb32628acc4",
"company_id": "30333c5e-1ccc-48e8-b6d1-ea045b9f2114",
"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": "0a068158-d13a-442c-9a75-3bd20b2faebe",
"db_country_code": "sample string 17",
"street2": "sample string 18",
"latitude_decimal": 1.0,
"longitude_decimal": 1.0,
"contact_id": "18d4caf8-c8ca-408c-baea-23123ec8c06b",
"contact_reference_back_office": "sample string 20",
"contact": {
"id": "70e85a1f-644a-4a31-870b-cf8f31e86f49",
"firstname": "sample string 2",
"lastname": "sample string 3",
"company_id": "262b3f57-b079-4a1a-80d3-aaf30e4337d5",
"company_code": "sample string 5",
"company": {
"id": "8dfd7a0b-6c5d-47fa-b75c-db3a6786493c",
"is_client": true,
"is_supplier": true,
"archived": true,
"name": "sample string 5",
"notes": "sample string 6",
"create_date": "2026-11-25T08:14:45.0421786+00:00",
"sales_territory_id": "df26249a-0f56-4551-9d3f-450717d2deb1",
"sales_territory_code": "sample string 9",
"sales_territory": {
"id": "a07ff4e0-8476-4223-bbf3-5b0c343a62c3",
"code": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "2cb8f98e-141b-4856-8bf5-62c7e42a1c81",
"sales_organization_code": "sample string 5",
"sales_organization": {
"id": "7ec23bc6-cf5f-40d8-8d17-2da5a12a3ea0",
"code": "sample string 2",
"name": "sample string 3",
"description": "sample string 4",
"db_country_id": "8e16760b-e230-4402-a781-a555bbe1d1cf",
"db_currency_id": "d2ac417f-1de8-47e8-a44d-c194f95d2fa0",
"db_language_id": "139df1e6-a4b2-4681-bcd1-d60f69c4c359",
"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-25T08:14:45.0421786+00:00"
},
"modified_dateutc": "2026-11-25T08:14:45.0587892+00:00"
},
"marketing_segment_id": "ea1bc0e8-9161-49ed-9b7b-cb71d075835f",
"marketing_segment_code": "sample string 11",
"sales_organization_id": "d8a5644f-ef1e-4ff8-af94-488fcff4717b",
"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": "5b471cb0-c012-41da-9bb5-f5e1e6bf5473",
"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": "907c114f-06e1-4bbc-8323-35fea8422a6f",
"db_country_code": "sample string 28",
"feelist_id": "27cc5f40-b57d-4dba-9846-5c740a838343",
"feelist_reference_back_office": "sample string 30",
"feelist": {
"id": "9aea526f-551f-4290-8fc6-9389a4732c84",
"name": "sample string 2",
"description": "sample string 3",
"is_default": true,
"default_price": 1.0,
"sales_organization_id": "a87bdf54-92b2-429b-87f1-7e3ddc98c5b6",
"sales_organization_code": "sample string 6",
"reference_back_office": "sample string 7",
"modified_dateutc": "2026-11-25T08:14:45.0587892+00:00",
"db_currency_id": "75347f84-edbb-4f6c-8328-c75df4adb6b6",
"db_currency_code": "sample string 10"
},
"company_type_id": "b94a097e-e7ef-4b3b-8de9-1154f463857f",
"company_type_name": "sample string 32",
"company_type": {
"id": "1b1fdd8b-7beb-4921-a8e2-50a4781e23f8",
"name": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "8f0691b1-e738-433f-91f1-8a7464c95313",
"sales_organization_code": "sample string 5"
},
"db_language_id": "a28875a9-188c-4db3-89a4-4f8ba7b288be",
"db_language_code": "sample string 34",
"code": "sample string 35",
"article_price_label_id": "5823ffa1-d155-462c-8ef3-1a18915ab7a7",
"article_price_label_code": "sample string 37",
"db_payment_method_id": "80d535f8-eb5c-42c4-b196-042041811160",
"db_payment_method_reference_back_office": "sample string 39",
"db_payment_methods": {
"id": "ffb3fd26-6e03-466c-9083-4d91d3501e31",
"name": "sample string 2",
"description": "sample string 3",
"reference_back_office": "sample string 4",
"activated": true,
"modified_dateutc": "2026-11-25T08:14:45.0587892+00:00"
},
"company_sector_id": "f6463b95-ebbd-4dcc-b9c5-683112b3a59b",
"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": "b00a7966-f438-4f03-9f09-34e8a76768ef",
"service_manager_user_code": "sample string 52",
"finance_manager_user_id": "0918044d-9650-44c3-b391-501d44f0421c",
"finance_manager_user_code": "sample string 54",
"account_manager_user_id": "e93fc0c9-f7c0-4244-9a43-8d4bc91b7b56",
"account_manager_user_code": "sample string 56",
"company_status_id": "b722f38f-0030-4e80-ae53-84325c5b01cc",
"invoice_email_to": "sample string 58",
"modified_dateutc": "2026-11-25T08:14:45.0587892+00:00",
"id2": 60
},
"db_language_id": "61424365-aadf-4e24-ad8b-998e8f749b0f",
"db_language_code": "sample string 7",
"db_title_id": "596356ef-2e78-4163-ba31-fad3f1b83f2b",
"archived": true,
"functions": "sample string 10",
"e_login": "sample string 11",
"e_password": "sample string 12",
"notes": "sample string 13",
"birthdate": "2026-11-25T08:14:45.0587892+00:00",
"create_date": "2026-11-25T08:14:45.0587892+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-25T08:14:45.0587892+00:00"
},
"modified_dateutc": "2026-11-25T08:14:45.0587892+00:00",
"id2": 22
}