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": "752d68de-d1aa-45a7-8d0e-fbb679bde251",
  "_parent_id": "3dca1a1f-14fc-48e2-bc6a-cdf64faf99bf",
  "root_parent_id": "31eedb02-c353-4819-ba8d-f4817952dfc0",
  "_parent_reference_back_office": "sample string 4",
  "equipment_family_id": "161cab29-0b7b-4e7f-99b6-6c33dd76784d",
  "equipment_family_code": "sample string 6",
  "equipment_family": {
    "id": "ca715306-a541-4f60-9a9c-87a4a0a1ce1e",
    "name": "sample string 2",
    "description": "sample string 3",
    "code": "sample string 4",
    "_parent_id": "3f68837f-38a0-482e-a805-e3795d624a19",
    "_parent_code": "sample string 6",
    "sales_organization_id": "d3084e0a-e300-4d2d-8281-6fba8d9b5db2",
    "sales_organization_code": "sample string 8",
    "sales_organization": {
      "id": "0d90da0e-6bea-4bb9-a7d3-5f4746db6937",
      "code": "sample string 2",
      "name": "sample string 3",
      "description": "sample string 4",
      "db_country_id": "8cf5185c-a9d0-4212-8558-11a421fa7d27",
      "db_currency_id": "96880d10-b518-45de-9fa1-34b115c20dc8",
      "db_language_id": "0facbcce-eaea-48bf-831e-a086a113ae75",
      "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": "2024-11-21T09:40:12.0331879+00:00"
    },
    "modified_dateutc": "2024-11-21T09:40:12.0331879+00:00"
  },
  "equipment_model_id": "932e6e52-74ab-45a8-9ce6-6fa0b695a246",
  "equipment_model_code": "sample string 8",
  "equipment_model": {
    "id": "c510617e-22d8-4dfc-876e-1564c23fce22",
    "code": "sample string 2",
    "name": "sample string 3",
    "description": "sample string 4",
    "equipment_brand_id": "45c65550-203d-4350-88ec-638e48885e54",
    "equipment_brand_code": "sample string 6",
    "equipment_brand": {
      "id": "ea3dfe4c-3d1b-4f87-8cf3-da2ad64c64bd",
      "name": "sample string 2",
      "code": "sample string 3",
      "sales_organization_id": "ecc26512-8084-4e29-8bf7-729901c4f75b",
      "sales_organization_code": "sample string 5",
      "sales_organization": {
        "id": "0d90da0e-6bea-4bb9-a7d3-5f4746db6937",
        "code": "sample string 2",
        "name": "sample string 3",
        "description": "sample string 4",
        "db_country_id": "8cf5185c-a9d0-4212-8558-11a421fa7d27",
        "db_currency_id": "96880d10-b518-45de-9fa1-34b115c20dc8",
        "db_language_id": "0facbcce-eaea-48bf-831e-a086a113ae75",
        "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": "2024-11-21T09:40:12.0331879+00:00"
      },
      "modified_dateutc": "2024-11-21T09:40:12.0331879+00:00"
    },
    "equipment_family_id": "04ca401b-cecd-43cf-bbff-e72c08d1fd73",
    "equipment_family_code": "sample string 8",
    "equipment_family": {
      "id": "ca715306-a541-4f60-9a9c-87a4a0a1ce1e",
      "name": "sample string 2",
      "description": "sample string 3",
      "code": "sample string 4",
      "_parent_id": "3f68837f-38a0-482e-a805-e3795d624a19",
      "_parent_code": "sample string 6",
      "sales_organization_id": "d3084e0a-e300-4d2d-8281-6fba8d9b5db2",
      "sales_organization_code": "sample string 8",
      "sales_organization": {
        "id": "0d90da0e-6bea-4bb9-a7d3-5f4746db6937",
        "code": "sample string 2",
        "name": "sample string 3",
        "description": "sample string 4",
        "db_country_id": "8cf5185c-a9d0-4212-8558-11a421fa7d27",
        "db_currency_id": "96880d10-b518-45de-9fa1-34b115c20dc8",
        "db_language_id": "0facbcce-eaea-48bf-831e-a086a113ae75",
        "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": "2024-11-21T09:40:12.0331879+00:00"
      },
      "modified_dateutc": "2024-11-21T09:40:12.0331879+00:00"
    },
    "date_in_production_since": "2024-11-21T09:40:12.0331879+00:00",
    "date_out_of_production_since": "2024-11-21T09:40:12.0331879+00:00",
    "date_end_support": "2024-11-21T09:40:12.0331879+00:00",
    "sales_organization_id": "4b88e14a-f1ff-4bdb-a4a0-41a4e1b6c287",
    "sales_organization_code": "sample string 13",
    "sales_organization": {
      "id": "0d90da0e-6bea-4bb9-a7d3-5f4746db6937",
      "code": "sample string 2",
      "name": "sample string 3",
      "description": "sample string 4",
      "db_country_id": "8cf5185c-a9d0-4212-8558-11a421fa7d27",
      "db_currency_id": "96880d10-b518-45de-9fa1-34b115c20dc8",
      "db_language_id": "0facbcce-eaea-48bf-831e-a086a113ae75",
      "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": "2024-11-21T09:40:12.0331879+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": "2024-11-21T09:40:12.0331879+00:00"
  },
  "project_status_id": "e8c10ade-f711-4103-a7ea-d91561c34ed4",
  "project_status_code": "sample string 10",
  "project_status": {
    "id": "73c9d6e6-7458-4924-b972-1ac5d8bd0270",
    "name": "sample string 2",
    "is_default": true,
    "is_closed": true,
    "sales_organization_id": "6f58eb00-41ee-49da-88d9-8a91278c8718",
    "sales_organization_code": "sample string 6",
    "sales_organization": {
      "id": "0d90da0e-6bea-4bb9-a7d3-5f4746db6937",
      "code": "sample string 2",
      "name": "sample string 3",
      "description": "sample string 4",
      "db_country_id": "8cf5185c-a9d0-4212-8558-11a421fa7d27",
      "db_currency_id": "96880d10-b518-45de-9fa1-34b115c20dc8",
      "db_language_id": "0facbcce-eaea-48bf-831e-a086a113ae75",
      "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": "2024-11-21T09:40:12.0331879+00:00"
    },
    "code": "sample string 7",
    "modified_dateutc": "2024-11-21T09:40:12.0331879+00:00"
  },
  "company_id": "2401c3e8-d477-438d-85ea-aa0548ee9e2f",
  "company_code": "sample string 12",
  "db_address_id": "bdbeb66d-3a4f-4cdf-acf6-24197d1c5d9b",
  "db_address_code": "sample string 14",
  "location": "sample string 15",
  "contact_id": "89dd8373-8e56-48ea-b92f-90748cd2ec2c",
  "contact_reference_back_office": "sample string 17",
  "owner_user_id": "6ddf42d1-f841-4ac8-ba9c-611031d55aa6",
  "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": "2024-11-21T09:40:12.0331879+00:00",
  "date_create": "2024-11-21T09:40:12.0331879+00:00",
  "date_update": "2024-11-21T09:40:12.0331879+00:00",
  "updated_by_user_id": "79a87c3e-abd8-4c34-9f81-8272a8f76437",
  "customer_reference": "sample string 28",
  "warranty_date_until": "2024-11-21T09:40:12.0331879+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": "2024-11-21T00:00:00+00:00",
  "shutdown_consequence": "sample string 35",
  "id2": 36,
  "nb_open_jobs": 37,
  "date_next_job": "2024-11-21T09:40:12.0331879+00:00",
  "date_last_job": "2024-11-21T09:40:12.0331879+00:00",
  "nb_jobs_planned": 40,
  "nb_jobs_tobeplanned": 41,
  "nb_jobs_waitingfurtheraction": 42,
  "back_office_timestamp": "2024-11-21T09:40:12.0331879+00:00",
  "modified_dateutc": "2024-11-21T09:40:12.0331879+00:00",
  "is_mobile_installation": true
}

Response Information

Resource Description :

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.