Updates the project with the specified key
Request Information
URI Parameters :
Name | Description | Type | Additional information |
---|---|---|---|
id | globally unique identifier |
Required |
Body Parameters :
projectName | Description | Type | Additional 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
{ "id": "280d9c8f-b8fe-4799-8916-be78acd1a1f3", "_parent_id": "d71f5ec3-a1af-4ff5-9ab1-f5612b3d2bff", "root_parent_id": "95543e44-ddb5-4b7b-ae87-5606b466ff7a", "_parent_reference_back_office": "sample string 4", "equipment_family_id": "d9510718-24ab-4c29-a7d5-e8d58ad444ba", "equipment_family_code": "sample string 6", "equipment_family": { "id": "5e374c68-c978-4726-aafe-c98e7910ca7f", "name": "sample string 2", "description": "sample string 3", "code": "sample string 4", "_parent_id": "5405264d-395a-4e7f-b8eb-6e6bce1cdd52", "_parent_code": "sample string 6", "sales_organization_id": "a6ecc68e-d9b3-4abb-90e9-ad876a366889", "sales_organization_code": "sample string 8", "sales_organization": { "id": "fa698c54-9078-4839-9acf-c8b919f17575", "code": "sample string 2", "name": "sample string 3", "description": "sample string 4", "db_country_id": "741dcd3a-0b60-4be4-b0ba-d7cd3e0a0616", "db_currency_id": "f8cf5145-4ec4-4fab-a4a7-e40ed43c7d87", "db_language_id": "33f9d270-75cf-4c3f-9ce5-583c7487a466", "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-20T18:24:03.7905941+00:00" }, "modified_dateutc": "2024-11-20T18:24:03.7905941+00:00" }, "equipment_model_id": "ccb3eb61-4bc4-40dc-96e1-3c7ffe37794b", "equipment_model_code": "sample string 8", "equipment_model": { "id": "485fa11d-3934-410a-8c65-b7876dc4d75a", "code": "sample string 2", "name": "sample string 3", "description": "sample string 4", "equipment_brand_id": "39b352e5-dcb3-4260-9c81-34239a3deb85", "equipment_brand_code": "sample string 6", "equipment_brand": { "id": "33005df6-efbf-4344-994f-3d50fe804368", "name": "sample string 2", "code": "sample string 3", "sales_organization_id": "3db2b064-2812-4a79-a868-034c0d6bd58b", "sales_organization_code": "sample string 5", "sales_organization": { "id": "fa698c54-9078-4839-9acf-c8b919f17575", "code": "sample string 2", "name": "sample string 3", "description": "sample string 4", "db_country_id": "741dcd3a-0b60-4be4-b0ba-d7cd3e0a0616", "db_currency_id": "f8cf5145-4ec4-4fab-a4a7-e40ed43c7d87", "db_language_id": "33f9d270-75cf-4c3f-9ce5-583c7487a466", "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-20T18:24:03.7905941+00:00" }, "modified_dateutc": "2024-11-20T18:24:03.7905941+00:00" }, "equipment_family_id": "4a5cad2d-31a2-43fd-91e2-ad246c803928", "equipment_family_code": "sample string 8", "equipment_family": { "id": "5e374c68-c978-4726-aafe-c98e7910ca7f", "name": "sample string 2", "description": "sample string 3", "code": "sample string 4", "_parent_id": "5405264d-395a-4e7f-b8eb-6e6bce1cdd52", "_parent_code": "sample string 6", "sales_organization_id": "a6ecc68e-d9b3-4abb-90e9-ad876a366889", "sales_organization_code": "sample string 8", "sales_organization": { "id": "fa698c54-9078-4839-9acf-c8b919f17575", "code": "sample string 2", "name": "sample string 3", "description": "sample string 4", "db_country_id": "741dcd3a-0b60-4be4-b0ba-d7cd3e0a0616", "db_currency_id": "f8cf5145-4ec4-4fab-a4a7-e40ed43c7d87", "db_language_id": "33f9d270-75cf-4c3f-9ce5-583c7487a466", "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-20T18:24:03.7905941+00:00" }, "modified_dateutc": "2024-11-20T18:24:03.7905941+00:00" }, "date_in_production_since": "2024-11-20T18:24:03.7905941+00:00", "date_out_of_production_since": "2024-11-20T18:24:03.7905941+00:00", "date_end_support": "2024-11-20T18:24:03.7905941+00:00", "sales_organization_id": "a197b918-1457-49ce-b33c-3e0a313f69bf", "sales_organization_code": "sample string 13", "sales_organization": { "id": "fa698c54-9078-4839-9acf-c8b919f17575", "code": "sample string 2", "name": "sample string 3", "description": "sample string 4", "db_country_id": "741dcd3a-0b60-4be4-b0ba-d7cd3e0a0616", "db_currency_id": "f8cf5145-4ec4-4fab-a4a7-e40ed43c7d87", "db_language_id": "33f9d270-75cf-4c3f-9ce5-583c7487a466", "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-20T18:24:03.7905941+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-20T18:24:03.7905941+00:00" }, "project_status_id": "62b0864d-a31e-4cce-bcaa-f78973a821dc", "project_status_code": "sample string 10", "project_status": { "id": "d315cfef-cfa4-4d54-bff8-e881a4c5e3cb", "name": "sample string 2", "is_default": true, "is_closed": true, "sales_organization_id": "a24430c2-6349-4486-8f88-95db02187325", "sales_organization_code": "sample string 6", "sales_organization": { "id": "fa698c54-9078-4839-9acf-c8b919f17575", "code": "sample string 2", "name": "sample string 3", "description": "sample string 4", "db_country_id": "741dcd3a-0b60-4be4-b0ba-d7cd3e0a0616", "db_currency_id": "f8cf5145-4ec4-4fab-a4a7-e40ed43c7d87", "db_language_id": "33f9d270-75cf-4c3f-9ce5-583c7487a466", "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-20T18:24:03.7905941+00:00" }, "code": "sample string 7", "modified_dateutc": "2024-11-20T18:24:03.7905941+00:00" }, "company_id": "21b25294-341d-4375-b7e1-14cdcb6b3bd0", "company_code": "sample string 12", "db_address_id": "165e64b3-3518-49a6-b52a-55d411f1a631", "db_address_code": "sample string 14", "location": "sample string 15", "contact_id": "5424ad1d-232f-4890-98e4-54f01c271f6c", "contact_reference_back_office": "sample string 17", "owner_user_id": "310aaa4a-679e-4d19-a0f0-434f95420e1e", "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-20T18:24:03.7905941+00:00", "date_create": "2024-11-20T18:24:03.7905941+00:00", "date_update": "2024-11-20T18:24:03.7905941+00:00", "updated_by_user_id": "a4701c65-2ec1-4d04-a3e5-ee9f14eea0c5", "customer_reference": "sample string 28", "warranty_date_until": "2024-11-20T18:24:03.7905941+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-20T00:00:00+00:00", "shutdown_consequence": "sample string 35", "id2": 36, "nb_open_jobs": 37, "date_next_job": "2024-11-20T18:24:03.7905941+00:00", "date_last_job": "2024-11-20T18:24:03.7905941+00:00", "nb_jobs_planned": 40, "nb_jobs_tobeplanned": 41, "nb_jobs_waitingfurtheraction": 42, "back_office_timestamp": "2024-11-20T18:24:03.7905941+00:00", "modified_dateutc": "2024-11-20T18:24:03.7905941+00:00", "is_mobile_installation": true }
Response Information
Resource Description :
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample not available.