Updates the equipment_model object with the specified key

Request Information

URI Parameters :

NameDescriptionTypeAdditional information
id

globally unique identifier

Required

Body Parameters :

equipment_model
NameDescriptionTypeAdditional information
id

Primary Key

globally unique identifier
code

The Id/Ref of the back office. Used by Embedded entity

string

Max length: 50

name

Name of the equipment model

string

Required

Max length: 50

description

Description of the equipment model

string
equipment_brand_id

FK Of Equipment brand

globally unique identifier
equipment_brand_code

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

string
equipment_brand

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

equipment_brand
equipment_family_id

FK Of equipment_family

globally unique identifier
equipment_family_code

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

string
equipment_family

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

equipment_family
date_in_production_since

Date in production since

date
date_out_of_production_since

Date Out Of production since

date
date_end_support

Date end support

date
sales_organization_id

FK of sales_organization. Filled if specific of one SO, empty if can be used by all

globally unique identifier
sales_organization_code

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

string
sales_organization

Embedded entity "sales_organization" when adding/updating equipment_model

sales_organization
replacement_period_nb_months

replacement_period_nb_months

integer
warranty_period_nb_months

warranty_period_nb_months

integer
translations

List of translation of specific field name

Collection of translation
modified_dateutc

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

date

Request Formats :

application/json, text/json

Sample:
{
  "id": "fbb5a57d-1431-4df8-a930-516387b690b6",
  "code": "sample string 2",
  "name": "sample string 3",
  "description": "sample string 4",
  "equipment_brand_id": "1b7069bb-ba5a-458f-9e79-32c9762b6928",
  "equipment_brand_code": "sample string 6",
  "equipment_brand": {
    "id": "e263e9f6-d7b6-4360-b3f1-0f669c6ea8e7",
    "name": "sample string 2",
    "code": "sample string 3",
    "sales_organization_id": "5975e700-c3c9-4735-bc8a-1928df786ad9",
    "sales_organization_code": "sample string 5",
    "sales_organization": {
      "id": "158a3319-606f-4aae-ad21-5fab6091e423",
      "code": "sample string 2",
      "name": "sample string 3",
      "description": "sample string 4",
      "db_country_id": "3354c314-c74d-4722-8e13-1328cf482aa1",
      "db_currency_id": "3999da87-c8e9-441d-8837-f2e7e183c0e7",
      "db_language_id": "caa92019-991d-49b7-8070-b970485ca693",
      "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-04-02T01:51:51.1449345+00:00"
    },
    "modified_dateutc": "2025-04-02T01:51:51.1449345+00:00"
  },
  "equipment_family_id": "caeebb16-7789-4930-a145-869d251264b3",
  "equipment_family_code": "sample string 8",
  "equipment_family": {
    "id": "b031b8b4-512e-4760-b434-c44d0f75ed13",
    "name": "sample string 2",
    "description": "sample string 3",
    "code": "sample string 4",
    "_parent_id": "4b14040c-f155-48cc-8323-736e48dfc5ad",
    "_parent_code": "sample string 6",
    "sales_organization_id": "29d16d72-fc66-4a3c-8729-1ee7198baa77",
    "sales_organization_code": "sample string 8",
    "sales_organization": {
      "id": "158a3319-606f-4aae-ad21-5fab6091e423",
      "code": "sample string 2",
      "name": "sample string 3",
      "description": "sample string 4",
      "db_country_id": "3354c314-c74d-4722-8e13-1328cf482aa1",
      "db_currency_id": "3999da87-c8e9-441d-8837-f2e7e183c0e7",
      "db_language_id": "caa92019-991d-49b7-8070-b970485ca693",
      "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-04-02T01:51:51.1449345+00:00"
    },
    "modified_dateutc": "2025-04-02T01:51:51.1449345+00:00"
  },
  "date_in_production_since": "2025-04-02T01:51:51.1449345+00:00",
  "date_out_of_production_since": "2025-04-02T01:51:51.1449345+00:00",
  "date_end_support": "2025-04-02T01:51:51.1449345+00:00",
  "sales_organization_id": "a4fa52cf-87fa-4a52-b564-8d914bf2402f",
  "sales_organization_code": "sample string 13",
  "sales_organization": {
    "id": "158a3319-606f-4aae-ad21-5fab6091e423",
    "code": "sample string 2",
    "name": "sample string 3",
    "description": "sample string 4",
    "db_country_id": "3354c314-c74d-4722-8e13-1328cf482aa1",
    "db_currency_id": "3999da87-c8e9-441d-8837-f2e7e183c0e7",
    "db_language_id": "caa92019-991d-49b7-8070-b970485ca693",
    "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-04-02T01:51:51.1449345+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-04-02T01:51:51.1449345+00:00"
}

Response Information

Resource Description :

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.