Creates a new location object

Request Information

URI Parameters :

None.

Body Parameters :

location
NameDescriptionTypeAdditional 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

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

Sample:
{
  "id": "fd5be71c-70f5-408d-afad-b85ada6fff15",
  "_parent_id": "b4b857b0-34ed-49e6-9d19-4de3b045cfda",
  "_parent_reference_back_office": "sample string 3",
  "project_status_id": "8648cb7f-4025-4c28-87e7-9010ccdc07ca",
  "company_id": "d5a95225-7117-4fcc-9a95-be57fcc259fd",
  "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": "dd8ff6cd-aa10-41ba-921b-f5be02edcdd7",
  "db_country_code": "sample string 17",
  "street2": "sample string 18",
  "latitude_decimal": 1.0,
  "longitude_decimal": 1.0,
  "contact_id": "f25c376b-b890-433a-b5ab-e298a6245bcf",
  "contact_reference_back_office": "sample string 20",
  "contact": {
    "id": "62b90966-990d-4e05-a4fa-58dfb5aa30a6",
    "firstname": "sample string 2",
    "lastname": "sample string 3",
    "company_id": "3a20fc6f-9373-4658-9592-7295f8fd2727",
    "company_code": "sample string 5",
    "company": {
      "id": "bb72dadf-9ef2-4d78-a08a-e09ad580f3b4",
      "is_client": true,
      "is_supplier": true,
      "archived": true,
      "name": "sample string 5",
      "notes": "sample string 6",
      "create_date": "2026-12-03T04:51:49.1680984+00:00",
      "sales_territory_id": "da9c18b8-e923-41d3-bea9-34bc7597656a",
      "sales_territory_code": "sample string 9",
      "sales_territory": {
        "id": "e9ed2eb3-3c83-4091-8bf8-c593a1115a29",
        "code": "sample string 2",
        "description": "sample string 3",
        "sales_organization_id": "16765a51-a599-4293-983b-ca959af3c492",
        "sales_organization_code": "sample string 5",
        "sales_organization": {
          "id": "72fecb9c-43a8-44ba-871d-b900d44d3bf0",
          "code": "sample string 2",
          "name": "sample string 3",
          "description": "sample string 4",
          "db_country_id": "31083629-2eb3-491f-871e-8a67e7596e5d",
          "db_currency_id": "ea41d8b2-57c3-40e4-8c86-6d970bd70185",
          "db_language_id": "3a4e0ebb-77d4-444b-87f1-29a80d9e3f96",
          "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-12-03T04:51:49.1680984+00:00"
        },
        "modified_dateutc": "2026-12-03T04:51:49.1680984+00:00"
      },
      "marketing_segment_id": "ca5788d5-9801-4c39-99b2-2211e65c651c",
      "marketing_segment_code": "sample string 11",
      "sales_organization_id": "a1e09ce8-b235-4504-b06a-ce2839be7ce6",
      "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": "9fb2964d-cc5f-457c-aab2-f02057c21fa7",
      "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": "bac71683-9bc8-42a0-a7ec-15d0b468cd0e",
      "db_country_code": "sample string 28",
      "feelist_id": "7243bca2-9ac9-4c72-b421-c955d2d0a717",
      "feelist_reference_back_office": "sample string 30",
      "feelist": {
        "id": "aaa80525-0edc-4223-902a-4921b8a4281c",
        "name": "sample string 2",
        "description": "sample string 3",
        "is_default": true,
        "default_price": 1.0,
        "sales_organization_id": "cd6288da-3716-47bf-8a07-59dfb2c7a4ce",
        "sales_organization_code": "sample string 6",
        "reference_back_office": "sample string 7",
        "modified_dateutc": "2026-12-03T04:51:49.1783062+00:00",
        "db_currency_id": "97cda0e1-5fac-4b08-90e1-3bed17dcbbe7",
        "db_currency_code": "sample string 10"
      },
      "company_type_id": "7ef6e41c-10a0-4ef0-b058-34ea76d4d06f",
      "company_type_name": "sample string 32",
      "company_type": {
        "id": "d637496c-5d64-434a-91ec-ab7c32648538",
        "name": "sample string 2",
        "description": "sample string 3",
        "sales_organization_id": "d6e65a8e-e47e-44ff-93a4-749f8f8c56ca",
        "sales_organization_code": "sample string 5"
      },
      "db_language_id": "d573206d-c626-4266-9bc2-e45150ab355e",
      "db_language_code": "sample string 34",
      "code": "sample string 35",
      "article_price_label_id": "02e79825-a920-4913-887a-afaa375fc729",
      "article_price_label_code": "sample string 37",
      "db_payment_method_id": "abacd641-ca62-45ea-a7a5-bef05294d6c6",
      "db_payment_method_reference_back_office": "sample string 39",
      "db_payment_methods": {
        "id": "42bf1f47-afd2-4cfa-9391-591e38a4a016",
        "name": "sample string 2",
        "description": "sample string 3",
        "reference_back_office": "sample string 4",
        "activated": true,
        "modified_dateutc": "2026-12-03T04:51:49.1783062+00:00"
      },
      "company_sector_id": "634e0379-540a-45b6-8cd4-556fcdd9849a",
      "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": "b151d70d-192c-4a24-8202-777e0395d1fa",
      "service_manager_user_code": "sample string 52",
      "finance_manager_user_id": "eb8ac7a7-9685-47bf-9dc2-d0dcc6c164f4",
      "finance_manager_user_code": "sample string 54",
      "account_manager_user_id": "a63d47ee-a293-49f4-91d5-6b596cd195ee",
      "account_manager_user_code": "sample string 56",
      "company_status_id": "e89f0f3f-920a-44e8-981d-4ae1af4d8c8f",
      "invoice_email_to": "sample string 58",
      "modified_dateutc": "2026-12-03T04:51:49.1783062+00:00",
      "id2": 60
    },
    "db_language_id": "71f97610-b41b-41a2-b03a-81a7f71e827d",
    "db_language_code": "sample string 7",
    "db_title_id": "067295c8-839b-414a-8980-30eae8fde29a",
    "archived": true,
    "functions": "sample string 10",
    "e_login": "sample string 11",
    "e_password": "sample string 12",
    "notes": "sample string 13",
    "birthdate": "2026-12-03T04:51:49.1783062+00:00",
    "create_date": "2026-12-03T04:51:49.1783062+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-12-03T04:51:49.1783062+00:00"
  },
  "modified_dateutc": "2026-12-03T04:51:49.1783062+00:00",
  "id2": 22
}

Response Information

Resource Description :

location
NameDescriptionTypeAdditional 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

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

Sample:
{
  "id": "a7123163-f4a7-4ccc-9176-65357361449d",
  "_parent_id": "2698a5f8-d566-4c52-ab2f-7af9fe37f56d",
  "_parent_reference_back_office": "sample string 3",
  "project_status_id": "d3c22af3-6a21-493b-a597-0c9f62960fc6",
  "company_id": "9a3d8fe1-8871-4ccc-aa26-6fc336e3724d",
  "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": "5c6bfeab-90ff-4714-a32f-7da67d1d9a2d",
  "db_country_code": "sample string 17",
  "street2": "sample string 18",
  "latitude_decimal": 1.0,
  "longitude_decimal": 1.0,
  "contact_id": "75ebd86f-190d-46a7-933e-646dc1ae5aab",
  "contact_reference_back_office": "sample string 20",
  "contact": {
    "id": "50465265-ed6b-4ab5-a4d4-90faf9a11049",
    "firstname": "sample string 2",
    "lastname": "sample string 3",
    "company_id": "102d0da0-be4e-4452-b377-02f7493a1cbb",
    "company_code": "sample string 5",
    "company": {
      "id": "5ace4686-2a3a-4278-9891-92228c5e0805",
      "is_client": true,
      "is_supplier": true,
      "archived": true,
      "name": "sample string 5",
      "notes": "sample string 6",
      "create_date": "2026-12-03T04:51:49.2581506+00:00",
      "sales_territory_id": "3cbd7d19-066d-4eec-98a4-af829a87fc51",
      "sales_territory_code": "sample string 9",
      "sales_territory": {
        "id": "4acc3488-5196-4c64-b164-3c4a9c471e6a",
        "code": "sample string 2",
        "description": "sample string 3",
        "sales_organization_id": "56ea3765-3885-4c62-9e23-d481763dc2c9",
        "sales_organization_code": "sample string 5",
        "sales_organization": {
          "id": "4f7d5a1b-48a4-4260-ac67-878970ea39c9",
          "code": "sample string 2",
          "name": "sample string 3",
          "description": "sample string 4",
          "db_country_id": "dad6b274-a3a2-47b3-90cd-9314ae8101c0",
          "db_currency_id": "8cbd19a6-f094-455b-8a6e-5bc863711237",
          "db_language_id": "90e69357-f408-453f-9b86-09d2901bfc58",
          "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-12-03T04:51:49.2581506+00:00"
        },
        "modified_dateutc": "2026-12-03T04:51:49.2581506+00:00"
      },
      "marketing_segment_id": "878ed537-5a13-409e-b003-b5b56a3ddaf0",
      "marketing_segment_code": "sample string 11",
      "sales_organization_id": "bcee79fc-bf25-4bda-ab25-6257e7874957",
      "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": "3258fbe1-c7dc-4057-ae88-ac4335b2b470",
      "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": "62a4ba23-161a-49ef-9721-5c24e3d82b54",
      "db_country_code": "sample string 28",
      "feelist_id": "49492730-3c75-4efe-a9a1-8b73859f595b",
      "feelist_reference_back_office": "sample string 30",
      "feelist": {
        "id": "642936c9-d799-439a-8c41-deb0b0b66712",
        "name": "sample string 2",
        "description": "sample string 3",
        "is_default": true,
        "default_price": 1.0,
        "sales_organization_id": "aa9ee012-5e0b-4451-a263-719f42d7404a",
        "sales_organization_code": "sample string 6",
        "reference_back_office": "sample string 7",
        "modified_dateutc": "2026-12-03T04:51:49.2581506+00:00",
        "db_currency_id": "5ebd416b-e5a5-441b-82d3-b9a95f54a34b",
        "db_currency_code": "sample string 10"
      },
      "company_type_id": "9bf26fe6-1682-4cc5-936a-15027521e6f4",
      "company_type_name": "sample string 32",
      "company_type": {
        "id": "3888df0b-7cc9-4060-9795-ab44271dbb60",
        "name": "sample string 2",
        "description": "sample string 3",
        "sales_organization_id": "951bd98e-44c5-4d89-b510-ea0bb0fc4479",
        "sales_organization_code": "sample string 5"
      },
      "db_language_id": "78633865-d1d4-41c8-b8aa-97969baac7a8",
      "db_language_code": "sample string 34",
      "code": "sample string 35",
      "article_price_label_id": "33d19b0a-1038-4966-bb31-6e6e26275346",
      "article_price_label_code": "sample string 37",
      "db_payment_method_id": "8c5ae796-1edb-42e3-89fb-51b47ad4be0e",
      "db_payment_method_reference_back_office": "sample string 39",
      "db_payment_methods": {
        "id": "46ae6537-1649-4616-ae41-d930ee4c1770",
        "name": "sample string 2",
        "description": "sample string 3",
        "reference_back_office": "sample string 4",
        "activated": true,
        "modified_dateutc": "2026-12-03T04:51:49.2581506+00:00"
      },
      "company_sector_id": "e55d6791-e7a4-489f-97f8-2bf5e05debde",
      "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": "8ade5508-d96d-44af-b7a7-7638673a38b9",
      "service_manager_user_code": "sample string 52",
      "finance_manager_user_id": "6bf4226d-d1cf-483f-b04b-a02aa3d15279",
      "finance_manager_user_code": "sample string 54",
      "account_manager_user_id": "4fb241ed-4c4d-47ac-8586-1740f83eaa74",
      "account_manager_user_code": "sample string 56",
      "company_status_id": "209744bf-1882-41c7-89a0-6018626dd9b9",
      "invoice_email_to": "sample string 58",
      "modified_dateutc": "2026-12-03T04:51:49.2581506+00:00",
      "id2": 60
    },
    "db_language_id": "b4e35472-a6d6-4eeb-b34d-085386d137ae",
    "db_language_code": "sample string 7",
    "db_title_id": "c0125a3f-a664-4369-9cc3-020372df8b1f",
    "archived": true,
    "functions": "sample string 10",
    "e_login": "sample string 11",
    "e_password": "sample string 12",
    "notes": "sample string 13",
    "birthdate": "2026-12-03T04:51:49.2581506+00:00",
    "create_date": "2026-12-03T04:51:49.2581506+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-12-03T04:51:49.2581506+00:00"
  },
  "modified_dateutc": "2026-12-03T04:51:49.2581506+00:00",
  "id2": 22
}