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": "69add8d4-2a0c-4865-bd4e-eb4dc7097d54",
  "_parent_id": "a75457f1-bfe3-4628-8cec-24dae709be19",
  "_parent_reference_back_office": "sample string 3",
  "project_status_id": "97ff7e21-2bfc-4ad2-8c8b-5f71be08b15b",
  "company_id": "a2282e0a-63c4-40c6-94d2-7622124b7038",
  "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": "d4e7f5f8-0113-4396-aee9-48c94edc3fad",
  "db_country_code": "sample string 17",
  "street2": "sample string 18",
  "latitude_decimal": 1.0,
  "longitude_decimal": 1.0,
  "contact_id": "dc71aa70-9ffd-4a89-b0a4-955608963d74",
  "contact_reference_back_office": "sample string 20",
  "contact": {
    "id": "cac8d676-569c-4b4d-af45-cdfe095be7d6",
    "firstname": "sample string 2",
    "lastname": "sample string 3",
    "company_id": "b05f3081-6dd4-457e-9bbe-a8804a0f42fb",
    "company_code": "sample string 5",
    "company": {
      "id": "92215eff-7ac4-40f8-a37e-17ef53ad219b",
      "is_client": true,
      "is_supplier": true,
      "archived": true,
      "name": "sample string 5",
      "notes": "sample string 6",
      "create_date": "2026-12-02T04:46:35.4212907+00:00",
      "sales_territory_id": "9c4f6b14-8302-4992-9df3-7ebd86267249",
      "sales_territory_code": "sample string 9",
      "sales_territory": {
        "id": "c294c9e1-b487-447f-8f3e-f4637391f1bf",
        "code": "sample string 2",
        "description": "sample string 3",
        "sales_organization_id": "c0382a9c-c772-4653-92a9-de1837de3a77",
        "sales_organization_code": "sample string 5",
        "sales_organization": {
          "id": "8513ea48-c5fa-444d-8731-e4039dc50fdd",
          "code": "sample string 2",
          "name": "sample string 3",
          "description": "sample string 4",
          "db_country_id": "372eaab8-9444-4328-8d42-4d0900c66dd2",
          "db_currency_id": "4ce3dc36-60dd-4e06-94ea-8f6078cbbb4b",
          "db_language_id": "853bf8e3-5783-4e25-8c6c-d8254b521af9",
          "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-02T04:46:35.4212907+00:00"
        },
        "modified_dateutc": "2026-12-02T04:46:35.4212907+00:00"
      },
      "marketing_segment_id": "33de8caf-a684-4f80-b9e8-c7eaf12c7dc9",
      "marketing_segment_code": "sample string 11",
      "sales_organization_id": "bf9b3f59-6444-47fe-af97-38c381402ab1",
      "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": "c9a69251-c65b-4e6a-b7b1-b2b926f22f90",
      "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": "6c2f622b-cb54-4df2-8b88-3082b8dd45ce",
      "db_country_code": "sample string 28",
      "feelist_id": "1d2af557-449c-4b6b-9473-3edcd3a88111",
      "feelist_reference_back_office": "sample string 30",
      "feelist": {
        "id": "12e464db-07aa-41ab-a985-6430c7345e04",
        "name": "sample string 2",
        "description": "sample string 3",
        "is_default": true,
        "default_price": 1.0,
        "sales_organization_id": "6ac50b61-3993-4506-9ef6-6c8af36f823a",
        "sales_organization_code": "sample string 6",
        "reference_back_office": "sample string 7",
        "modified_dateutc": "2026-12-02T04:46:35.4212907+00:00",
        "db_currency_id": "9ba083ab-f179-47b6-b01c-fdff6f5fabfc",
        "db_currency_code": "sample string 10"
      },
      "company_type_id": "9b8597ef-bed4-4156-a8c3-91c653ec3cd6",
      "company_type_name": "sample string 32",
      "company_type": {
        "id": "64308406-197d-4887-bfe4-4e225433a60a",
        "name": "sample string 2",
        "description": "sample string 3",
        "sales_organization_id": "9d9b437d-aa62-4bc7-9fc3-2c4abf563d6d",
        "sales_organization_code": "sample string 5"
      },
      "db_language_id": "f1be992e-d117-4c34-a527-c711ae523d5e",
      "db_language_code": "sample string 34",
      "code": "sample string 35",
      "article_price_label_id": "2d8ebe5d-13e9-480c-bceb-20d1ee36193a",
      "article_price_label_code": "sample string 37",
      "db_payment_method_id": "a9b9c61b-8dcb-4f49-9cd7-6a093d57e897",
      "db_payment_method_reference_back_office": "sample string 39",
      "db_payment_methods": {
        "id": "2833e773-7592-4610-a0e5-042b528a417f",
        "name": "sample string 2",
        "description": "sample string 3",
        "reference_back_office": "sample string 4",
        "activated": true,
        "modified_dateutc": "2026-12-02T04:46:35.4379796+00:00"
      },
      "company_sector_id": "13b72996-a305-49fa-86a3-666fe286d903",
      "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": "755dcab7-7c94-42cf-b974-f76847197a90",
      "service_manager_user_code": "sample string 52",
      "finance_manager_user_id": "2db837a9-ac90-4dea-8f54-78db89f95671",
      "finance_manager_user_code": "sample string 54",
      "account_manager_user_id": "0af045eb-ca80-4a9d-a9e2-cca634eb9607",
      "account_manager_user_code": "sample string 56",
      "company_status_id": "37615928-c7ab-4af0-af5f-7fd1a231570f",
      "invoice_email_to": "sample string 58",
      "modified_dateutc": "2026-12-02T04:46:35.4379796+00:00",
      "id2": 60
    },
    "db_language_id": "946751f8-044b-4ca4-a640-1498017d7821",
    "db_language_code": "sample string 7",
    "db_title_id": "05a9ec67-c4b5-452f-99fd-b751fe5a83c4",
    "archived": true,
    "functions": "sample string 10",
    "e_login": "sample string 11",
    "e_password": "sample string 12",
    "notes": "sample string 13",
    "birthdate": "2026-12-02T04:46:35.4379796+00:00",
    "create_date": "2026-12-02T04:46:35.4379796+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-02T04:46:35.4379796+00:00"
  },
  "modified_dateutc": "2026-12-02T04:46:35.4379796+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": "64068fbf-e720-4e79-b046-090776c00aaf",
  "_parent_id": "71fa1b54-c81b-492a-985d-1bb89bed2d0f",
  "_parent_reference_back_office": "sample string 3",
  "project_status_id": "6067f1eb-0041-42cc-ac78-7c31e48766e0",
  "company_id": "06b506b5-1b63-4261-9a1f-ebc363d36b5c",
  "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": "086c20e1-0873-4086-9c4e-4b7031322fe3",
  "db_country_code": "sample string 17",
  "street2": "sample string 18",
  "latitude_decimal": 1.0,
  "longitude_decimal": 1.0,
  "contact_id": "6d29c09b-11d6-4e64-af6a-ae621fab90f0",
  "contact_reference_back_office": "sample string 20",
  "contact": {
    "id": "27f7a22e-127f-4860-845b-24ee0851aa7c",
    "firstname": "sample string 2",
    "lastname": "sample string 3",
    "company_id": "6671e585-cd93-4bee-a3ae-5d62978b6bc2",
    "company_code": "sample string 5",
    "company": {
      "id": "f060fc83-bf8f-422d-b697-013d76a4a0d0",
      "is_client": true,
      "is_supplier": true,
      "archived": true,
      "name": "sample string 5",
      "notes": "sample string 6",
      "create_date": "2026-12-02T04:46:35.5184678+00:00",
      "sales_territory_id": "3c07ab64-5ec0-42f3-8754-fdfda2fd7002",
      "sales_territory_code": "sample string 9",
      "sales_territory": {
        "id": "9e0b4f7d-38a0-46ec-9441-1b74b1cd18bd",
        "code": "sample string 2",
        "description": "sample string 3",
        "sales_organization_id": "507eed02-e5c1-43bf-8e19-aac028651c75",
        "sales_organization_code": "sample string 5",
        "sales_organization": {
          "id": "bd9c2ebd-87c4-4569-b8e5-fd5e17dc3c63",
          "code": "sample string 2",
          "name": "sample string 3",
          "description": "sample string 4",
          "db_country_id": "83bc0405-42bd-4e50-9a90-f85acd54be76",
          "db_currency_id": "d4095383-ce44-458c-b080-788312c2f31b",
          "db_language_id": "c268f659-01af-4fa3-bd9c-aac18f056e31",
          "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-02T04:46:35.5184678+00:00"
        },
        "modified_dateutc": "2026-12-02T04:46:35.5184678+00:00"
      },
      "marketing_segment_id": "e70250d8-272e-42f7-a045-cd8f6990b317",
      "marketing_segment_code": "sample string 11",
      "sales_organization_id": "388db37b-a5b7-4811-b80b-b7e1588399f8",
      "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": "85e5a3ae-af61-49b9-b4ef-0fc31a19fcc7",
      "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": "f870ed82-35ed-46d3-9fd9-19610eee5f44",
      "db_country_code": "sample string 28",
      "feelist_id": "507c12fc-2a70-4fa6-bbd8-803850b944a6",
      "feelist_reference_back_office": "sample string 30",
      "feelist": {
        "id": "5c6d07a9-0337-41fb-a39a-36e5abfb5b00",
        "name": "sample string 2",
        "description": "sample string 3",
        "is_default": true,
        "default_price": 1.0,
        "sales_organization_id": "89ddba1b-fd45-406a-a7a9-c01d0895f9a3",
        "sales_organization_code": "sample string 6",
        "reference_back_office": "sample string 7",
        "modified_dateutc": "2026-12-02T04:46:35.5184678+00:00",
        "db_currency_id": "70d56fff-e457-4e64-bf6f-9e5bff01789c",
        "db_currency_code": "sample string 10"
      },
      "company_type_id": "cb10b705-ce75-4d90-ade1-707e9fe03288",
      "company_type_name": "sample string 32",
      "company_type": {
        "id": "da1d5135-638b-4d9c-9c98-705d82a015b4",
        "name": "sample string 2",
        "description": "sample string 3",
        "sales_organization_id": "99020c75-c396-45fd-ba28-ea5d6fad90cc",
        "sales_organization_code": "sample string 5"
      },
      "db_language_id": "ad3654fd-2bb2-4239-8401-47eb7561da5d",
      "db_language_code": "sample string 34",
      "code": "sample string 35",
      "article_price_label_id": "c1c76f22-d180-4aaa-b422-7cdcbb7626a0",
      "article_price_label_code": "sample string 37",
      "db_payment_method_id": "4de70af0-6fcb-4ca8-a739-749868b63936",
      "db_payment_method_reference_back_office": "sample string 39",
      "db_payment_methods": {
        "id": "11f86382-1ede-4744-99c3-16ec2e1c28c7",
        "name": "sample string 2",
        "description": "sample string 3",
        "reference_back_office": "sample string 4",
        "activated": true,
        "modified_dateutc": "2026-12-02T04:46:35.5184678+00:00"
      },
      "company_sector_id": "6fe4b684-41f2-44a7-a78f-8decb5e7ecfa",
      "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": "4a35fb45-c6b6-484e-8d07-787b53cd0f5b",
      "service_manager_user_code": "sample string 52",
      "finance_manager_user_id": "ec282fa4-63f1-4917-bfb2-75930265cfc0",
      "finance_manager_user_code": "sample string 54",
      "account_manager_user_id": "6d554581-ef85-47c7-9ee1-3671253e2820",
      "account_manager_user_code": "sample string 56",
      "company_status_id": "d4d5f7ad-6136-4698-a427-1ce1dd8c8cfa",
      "invoice_email_to": "sample string 58",
      "modified_dateutc": "2026-12-02T04:46:35.5184678+00:00",
      "id2": 60
    },
    "db_language_id": "4d89e740-2485-4c8f-b08d-f5615b777d97",
    "db_language_code": "sample string 7",
    "db_title_id": "15e843e5-711f-43e1-95b1-ce6c84b32334",
    "archived": true,
    "functions": "sample string 10",
    "e_login": "sample string 11",
    "e_password": "sample string 12",
    "notes": "sample string 13",
    "birthdate": "2026-12-02T04:46:35.5184678+00:00",
    "create_date": "2026-12-02T04:46:35.5184678+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-02T04:46:35.5184678+00:00"
  },
  "modified_dateutc": "2026-12-02T04:46:35.5184678+00:00",
  "id2": 22
}