Updates the project with the specified key

Request Information

URI Parameters :

NameDescriptionTypeAdditional information
id

globally unique identifier

Required

Body Parameters :

project
NameDescriptionTypeAdditional information
id

Primary Key

globally unique identifier

Required

_parent_id

Reference to a parent installation

globally unique identifier
root_parent_id

This field will be filled automatically based on the parent_id

globally unique identifier
_parent_reference_back_office

Embedded entity "project" for parent installation using ERP PK when adding/updating project

string
_parent_project

Embedded entity "project" for parent installation when adding/updating project

project
equipment_family_id

Foreign key to equipment_family. It can be taken via equipment_family_code, equipment_family or equipment model that links to a valid equipment family

globally unique identifier
equipment_family_code

Embedded entity "equipment_family" using ERP PK when adding/updating project

string
equipment_family

Embedded entity "equipment_family" when adding/updating project

equipment_family
equipment_model_id

Foreign key to equipment model. It can get via equipment_family_code, equipment_family or equipment_model

globally unique identifier
equipment_model_code

Embedded entity "equipment_model" using ERP PK when adding/updating project

string
equipment_model

Embedded entity "equipment_model" when adding/updating project

equipment_model
project_status_id

Foreign key to project_status

globally unique identifier

Optionally required : project_status_id, project_status_code or project_status must be provided

project_status_code

Embedded entity "project_status" using ERP PK when adding/updating project

string

Optionally required : project_status_id, project_status_code or project_status must be provided

project_status

Embedded entity "project_status" when adding/updating project

project_status

Optionally required : project_status_id, project_status_code or project_status must be provided

company_id

The company owner of this project/installation

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 project

string

Optionally required : company_id, company_code or company must be provided

company

Embedded entity "company" when adding/updating project

company

Optionally required : company_id, company_code or company must be provided

db_address_id

Specific db_address_id of the %company_id% if different than the company default address

globally unique identifier
db_address_code

Embedded entity "db_address" using ERP PK when adding/updating project

string
db_address

Embedded entity "db_address" when adding/updating project

db_address
location

Additional text to describe the location

string

Max length: 255

contact_id

Main contact for this project/installation

globally unique identifier
contact_reference_back_office

Embedded entity "contact" using ERP PK when adding/updating project

string
contact

Embedded entity "contact" when adding/updating project

contact
owner_user_id

User owner/manager of this project/installation

globally unique identifier
name

Name of the project/installation

string

Required

Max length: 50

description

Long description

string
reference_back_office

The Id/Ref of the back office for this project/installation. Used by Embedded entity

string

Max length: 255

serial_number

Serial number

string

Max length: 255

barcode

Barcode

string

Max length: 50

date_start_production

Date project/installation becomes active

date
date_create

Creation date+time

date
date_update

Update date+time

date
updated_by_user_id

Last User that updates the object

globally unique identifier
customer_reference

Reference of this project/installation for the customer

string

Max length: 50

warranty_date_until

End date of the warranty (if applicable)

date
last_standard_result_score_1

Last result score 1 (CF Standard module)

string

Max length: 50

last_standard_result_score_2

Last result score 2 (CF Standard module)

string
target_standard_result_score_1

Target result score 1 (CF Standard module)

string

Max length: 50

target_standard_result_score_2

Target result score 2 (CF Standard module)

string

Max length: 50

date_built

Build date of the installation (if applicable)

date
shutdown_consequence

Consequence of the installation is shut down (CEO has no air cooling anymore,..)

string

Max length: 4000

id2

Internal ID (numeric). Will be used if reference_back_office is empty

integer
nb_open_jobs

Readonly - Number of open jobs

integer
date_next_job

Date+time of the next job planned

date
date_last_job

Date+time of the last job completed

date
nb_jobs_planned

Number of jobs with status Planned

integer
nb_jobs_tobeplanned

Number of jobs with status To Be Planned

integer
nb_jobs_waitingfurtheraction

Number of jobs with status Waiting Further Action

integer
back_office_timestamp

Back Office timestamp value (conflict detection purpose)

date
modified_dateutc

Readonly system field managed by database, filled with GetUtcDate when adding,updating

date
is_mobile_installation

Set it TRUE if this is a mobile installation.

boolean

Request Formats :

application/json, text/json

Sample:
{
  "id": "a7fbd788-d003-44fa-ac4f-f33232c11c6b",
  "_parent_id": "e66d6d98-f57c-4cd8-a633-0f151f33e93b",
  "root_parent_id": "74ebb439-5e00-4f8d-bd5c-d6331f88f086",
  "_parent_reference_back_office": "sample string 4",
  "equipment_family_id": "d23c2006-7de1-4753-bd3f-8544ec7297ab",
  "equipment_family_code": "sample string 6",
  "equipment_family": {
    "id": "0b21206d-1b4d-46de-b294-758d9853af5c",
    "name": "sample string 2",
    "description": "sample string 3",
    "code": "sample string 4",
    "_parent_id": "2360fbc3-e1ec-4191-bf83-a8eb392761fc",
    "_parent_code": "sample string 6",
    "sales_organization_id": "bc0c3168-8168-4944-a0d3-0cf243fdb578",
    "sales_organization_code": "sample string 8",
    "sales_organization": {
      "id": "3a9dfab0-e61d-468c-9bfc-cc1bfa972037",
      "code": "sample string 2",
      "name": "sample string 3",
      "description": "sample string 4",
      "db_country_id": "3f9e13fc-97fa-4405-9433-f1870c0b565e",
      "db_currency_id": "04c226e2-a02d-4513-9458-8b989f7eca08",
      "db_language_id": "17b165ff-bd94-4130-9952-69fd731ef733",
      "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-05-17T16:51:47.8415052+00:00"
    },
    "modified_dateutc": "2025-05-17T16:51:47.8415052+00:00"
  },
  "equipment_model_id": "96bdb49b-b677-407d-9b73-abf92cb346e7",
  "equipment_model_code": "sample string 8",
  "equipment_model": {
    "id": "e5d3effe-8256-4420-b959-9c7fb9b08a85",
    "code": "sample string 2",
    "name": "sample string 3",
    "description": "sample string 4",
    "equipment_brand_id": "67c2bf6c-5831-4171-bd77-8e77175439a9",
    "equipment_brand_code": "sample string 6",
    "equipment_brand": {
      "id": "58158c0e-a4ce-45a3-b300-f10bb50b9725",
      "name": "sample string 2",
      "code": "sample string 3",
      "sales_organization_id": "c5df511e-d775-4456-a8f6-2cdc18918fe7",
      "sales_organization_code": "sample string 5",
      "sales_organization": {
        "id": "3a9dfab0-e61d-468c-9bfc-cc1bfa972037",
        "code": "sample string 2",
        "name": "sample string 3",
        "description": "sample string 4",
        "db_country_id": "3f9e13fc-97fa-4405-9433-f1870c0b565e",
        "db_currency_id": "04c226e2-a02d-4513-9458-8b989f7eca08",
        "db_language_id": "17b165ff-bd94-4130-9952-69fd731ef733",
        "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-05-17T16:51:47.8415052+00:00"
      },
      "modified_dateutc": "2025-05-17T16:51:47.8415052+00:00"
    },
    "equipment_family_id": "a7bcc9d3-0ef0-42ca-ab68-8a7755b30847",
    "equipment_family_code": "sample string 8",
    "equipment_family": {
      "id": "0b21206d-1b4d-46de-b294-758d9853af5c",
      "name": "sample string 2",
      "description": "sample string 3",
      "code": "sample string 4",
      "_parent_id": "2360fbc3-e1ec-4191-bf83-a8eb392761fc",
      "_parent_code": "sample string 6",
      "sales_organization_id": "bc0c3168-8168-4944-a0d3-0cf243fdb578",
      "sales_organization_code": "sample string 8",
      "sales_organization": {
        "id": "3a9dfab0-e61d-468c-9bfc-cc1bfa972037",
        "code": "sample string 2",
        "name": "sample string 3",
        "description": "sample string 4",
        "db_country_id": "3f9e13fc-97fa-4405-9433-f1870c0b565e",
        "db_currency_id": "04c226e2-a02d-4513-9458-8b989f7eca08",
        "db_language_id": "17b165ff-bd94-4130-9952-69fd731ef733",
        "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-05-17T16:51:47.8415052+00:00"
      },
      "modified_dateutc": "2025-05-17T16:51:47.8415052+00:00"
    },
    "date_in_production_since": "2025-05-17T16:51:47.8415052+00:00",
    "date_out_of_production_since": "2025-05-17T16:51:47.8415052+00:00",
    "date_end_support": "2025-05-17T16:51:47.8415052+00:00",
    "sales_organization_id": "c217a704-5245-4e31-bbec-ea9d3c9dc759",
    "sales_organization_code": "sample string 13",
    "sales_organization": {
      "id": "3a9dfab0-e61d-468c-9bfc-cc1bfa972037",
      "code": "sample string 2",
      "name": "sample string 3",
      "description": "sample string 4",
      "db_country_id": "3f9e13fc-97fa-4405-9433-f1870c0b565e",
      "db_currency_id": "04c226e2-a02d-4513-9458-8b989f7eca08",
      "db_language_id": "17b165ff-bd94-4130-9952-69fd731ef733",
      "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-05-17T16:51:47.8415052+00:00"
    },
    "replacement_period_nb_months": 14,
    "warranty_period_nb_months": 15,
    "translations": [
      {
        "field_name": "sample string 1",
        "language_code": "sample string 2",
        "value_translated": "sample string 3"
      },
      {
        "field_name": "sample string 1",
        "language_code": "sample string 2",
        "value_translated": "sample string 3"
      }
    ],
    "modified_dateutc": "2025-05-17T16:51:47.8415052+00:00"
  },
  "project_status_id": "49b4d2f0-aea3-4727-a2e5-3f60dd6183dc",
  "project_status_code": "sample string 10",
  "project_status": {
    "id": "2d7b14cf-a747-437b-beca-09e69573cd5b",
    "name": "sample string 2",
    "is_default": true,
    "is_closed": true,
    "sales_organization_id": "e78fc11b-3f7f-4894-b3f6-ba2b28e6e018",
    "sales_organization_code": "sample string 6",
    "sales_organization": {
      "id": "3a9dfab0-e61d-468c-9bfc-cc1bfa972037",
      "code": "sample string 2",
      "name": "sample string 3",
      "description": "sample string 4",
      "db_country_id": "3f9e13fc-97fa-4405-9433-f1870c0b565e",
      "db_currency_id": "04c226e2-a02d-4513-9458-8b989f7eca08",
      "db_language_id": "17b165ff-bd94-4130-9952-69fd731ef733",
      "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-05-17T16:51:47.8415052+00:00"
    },
    "code": "sample string 7",
    "modified_dateutc": "2025-05-17T16:51:47.8415052+00:00"
  },
  "company_id": "0c3adbdf-44a7-442c-a75d-37f669983246",
  "company_code": "sample string 12",
  "db_address_id": "69e1a4b7-fb93-4397-9bf2-28a07d53351d",
  "db_address_code": "sample string 14",
  "location": "sample string 15",
  "contact_id": "f00ee350-09b5-48f5-90a5-97c5cad8440a",
  "contact_reference_back_office": "sample string 17",
  "owner_user_id": "dd833dcf-ef9f-44ad-92e9-bf72ecc48cc6",
  "name": "sample string 19",
  "description": "sample string 20",
  "reference_back_office": "sample string 21",
  "serial_number": "sample string 22",
  "barcode": "sample string 23",
  "date_start_production": "2025-05-17T16:51:47.8415052+00:00",
  "date_create": "2025-05-17T16:51:47.8415052+00:00",
  "date_update": "2025-05-17T16:51:47.8415052+00:00",
  "updated_by_user_id": "13d1cdc7-1fd7-4600-8c1f-8f5e75f57f9d",
  "customer_reference": "sample string 28",
  "warranty_date_until": "2025-05-17T16:51:47.8415052+00:00",
  "last_standard_result_score_1": "sample string 30",
  "last_standard_result_score_2": "sample string 31",
  "target_standard_result_score_1": "sample string 32",
  "target_standard_result_score_2": "sample string 33",
  "date_built": "2025-05-17T00:00:00+00:00",
  "shutdown_consequence": "sample string 35",
  "id2": 36,
  "nb_open_jobs": 37,
  "date_next_job": "2025-05-17T16:51:47.8415052+00:00",
  "date_last_job": "2025-05-17T16:51:47.8415052+00:00",
  "nb_jobs_planned": 40,
  "nb_jobs_tobeplanned": 41,
  "nb_jobs_waitingfurtheraction": 42,
  "back_office_timestamp": "2025-05-17T16:51:47.8415052+00:00",
  "modified_dateutc": "2025-05-17T16:51:47.8415052+00:00",
  "is_mobile_installation": true
}

Response Information

Resource Description :

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.