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": "7c5a6c50-cc69-472e-94a8-1a3af8bc8cdb", "_parent_id": "71068a32-e182-4d5f-bd43-8a8b122908cd", "root_parent_id": "76348b20-f1cd-4a13-92ee-18c44ea2d088", "_parent_reference_back_office": "sample string 4", "equipment_family_id": "382ef0d6-bb23-4957-bf0a-5904e8c9aac6", "equipment_family_code": "sample string 6", "equipment_family": { "id": "861b742d-376c-49ef-9ec1-45481d36f7ec", "name": "sample string 2", "description": "sample string 3", "code": "sample string 4", "_parent_id": "fcd20131-bc45-49a9-b465-2e344abdf42b", "_parent_code": "sample string 6", "sales_organization_id": "0d58629a-c376-4bdf-ae98-a178fdb30548", "sales_organization_code": "sample string 8", "sales_organization": { "id": "c5ba4c9a-31aa-416b-93fe-283271b7893b", "code": "sample string 2", "name": "sample string 3", "description": "sample string 4", "db_country_id": "c9052117-46cc-43f6-a36e-5e6b80b3c767", "db_currency_id": "c0c78486-51c1-4162-af86-048a047f9f72", "db_language_id": "da0fba16-2d5f-4b15-b17e-be4e71006e7a", "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-01-22T01:14:37.5583715+00:00" }, "modified_dateutc": "2025-01-22T01:14:37.5583715+00:00" }, "equipment_model_id": "4e98e2af-bd34-4418-ab40-6f9fb9c2eadd", "equipment_model_code": "sample string 8", "equipment_model": { "id": "e94fd980-bac4-48a5-957f-082813125a85", "code": "sample string 2", "name": "sample string 3", "description": "sample string 4", "equipment_brand_id": "2068f4af-9289-4c3e-aabc-fcd924568d0a", "equipment_brand_code": "sample string 6", "equipment_brand": { "id": "ec977b90-ef96-4550-986f-08a1394a2159", "name": "sample string 2", "code": "sample string 3", "sales_organization_id": "cba65a2f-699a-49ea-bd65-552875652ede", "sales_organization_code": "sample string 5", "sales_organization": { "id": "c5ba4c9a-31aa-416b-93fe-283271b7893b", "code": "sample string 2", "name": "sample string 3", "description": "sample string 4", "db_country_id": "c9052117-46cc-43f6-a36e-5e6b80b3c767", "db_currency_id": "c0c78486-51c1-4162-af86-048a047f9f72", "db_language_id": "da0fba16-2d5f-4b15-b17e-be4e71006e7a", "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-01-22T01:14:37.5583715+00:00" }, "modified_dateutc": "2025-01-22T01:14:37.5583715+00:00" }, "equipment_family_id": "550f0848-64f6-44a3-9c00-f299d8dcbca0", "equipment_family_code": "sample string 8", "equipment_family": { "id": "861b742d-376c-49ef-9ec1-45481d36f7ec", "name": "sample string 2", "description": "sample string 3", "code": "sample string 4", "_parent_id": "fcd20131-bc45-49a9-b465-2e344abdf42b", "_parent_code": "sample string 6", "sales_organization_id": "0d58629a-c376-4bdf-ae98-a178fdb30548", "sales_organization_code": "sample string 8", "sales_organization": { "id": "c5ba4c9a-31aa-416b-93fe-283271b7893b", "code": "sample string 2", "name": "sample string 3", "description": "sample string 4", "db_country_id": "c9052117-46cc-43f6-a36e-5e6b80b3c767", "db_currency_id": "c0c78486-51c1-4162-af86-048a047f9f72", "db_language_id": "da0fba16-2d5f-4b15-b17e-be4e71006e7a", "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-01-22T01:14:37.5583715+00:00" }, "modified_dateutc": "2025-01-22T01:14:37.5583715+00:00" }, "date_in_production_since": "2025-01-22T01:14:37.5583715+00:00", "date_out_of_production_since": "2025-01-22T01:14:37.5583715+00:00", "date_end_support": "2025-01-22T01:14:37.5583715+00:00", "sales_organization_id": "d9184fbf-72eb-4cfa-a12a-191f3ac316fd", "sales_organization_code": "sample string 13", "sales_organization": { "id": "c5ba4c9a-31aa-416b-93fe-283271b7893b", "code": "sample string 2", "name": "sample string 3", "description": "sample string 4", "db_country_id": "c9052117-46cc-43f6-a36e-5e6b80b3c767", "db_currency_id": "c0c78486-51c1-4162-af86-048a047f9f72", "db_language_id": "da0fba16-2d5f-4b15-b17e-be4e71006e7a", "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-01-22T01:14:37.5583715+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-01-22T01:14:37.5583715+00:00" }, "project_status_id": "8de92462-9d0e-444d-8c4b-c5b4914dfa1d", "project_status_code": "sample string 10", "project_status": { "id": "a4ebd297-cc5c-4145-9a0a-0b02a2b2fe8b", "name": "sample string 2", "is_default": true, "is_closed": true, "sales_organization_id": "618d8865-3ec1-47fd-9470-77654806ae22", "sales_organization_code": "sample string 6", "sales_organization": { "id": "c5ba4c9a-31aa-416b-93fe-283271b7893b", "code": "sample string 2", "name": "sample string 3", "description": "sample string 4", "db_country_id": "c9052117-46cc-43f6-a36e-5e6b80b3c767", "db_currency_id": "c0c78486-51c1-4162-af86-048a047f9f72", "db_language_id": "da0fba16-2d5f-4b15-b17e-be4e71006e7a", "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-01-22T01:14:37.5583715+00:00" }, "code": "sample string 7", "modified_dateutc": "2025-01-22T01:14:37.5583715+00:00" }, "company_id": "e1e939c9-00a0-4432-a202-fc033527d1eb", "company_code": "sample string 12", "db_address_id": "0e6a60e0-bb16-4427-b1a0-9427052b2f32", "db_address_code": "sample string 14", "location": "sample string 15", "contact_id": "0d56e1c7-04cf-4020-a6e6-8633a6818bef", "contact_reference_back_office": "sample string 17", "owner_user_id": "c6d924c6-bded-463a-bc5e-9ca4188a8070", "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-01-22T01:14:37.5583715+00:00", "date_create": "2025-01-22T01:14:37.5583715+00:00", "date_update": "2025-01-22T01:14:37.5583715+00:00", "updated_by_user_id": "bd61b331-04ae-4d23-9a0b-05b267a663ff", "customer_reference": "sample string 28", "warranty_date_until": "2025-01-22T01:14:37.5583715+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-01-22T00:00:00+00:00", "shutdown_consequence": "sample string 35", "id2": 36, "nb_open_jobs": 37, "date_next_job": "2025-01-22T01:14:37.5583715+00:00", "date_last_job": "2025-01-22T01:14:37.5583715+00:00", "nb_jobs_planned": 40, "nb_jobs_tobeplanned": 41, "nb_jobs_waitingfurtheraction": 42, "back_office_timestamp": "2025-01-22T01:14:37.5583715+00:00", "modified_dateutc": "2025-01-22T01:14:37.5583715+00:00", "is_mobile_installation": true }
Response Information
Resource Description :
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample not available.