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": "5192ffb1-af8e-4da6-8247-24058da7b327",
  "code": "sample string 2",
  "name": "sample string 3",
  "description": "sample string 4",
  "equipment_brand_id": "ea21c8d8-66b5-4df4-b738-5b4e745deccd",
  "equipment_brand_code": "sample string 6",
  "equipment_brand": {
    "id": "769a3f13-272b-4a7b-860b-de0e2896f9c3",
    "name": "sample string 2",
    "code": "sample string 3",
    "sales_organization_id": "7a42938d-40e0-4b9b-a8e1-01aa8e6dcde6",
    "sales_organization_code": "sample string 5",
    "sales_organization": {
      "id": "2519efbd-7550-45d6-87c0-800c59949d46",
      "code": "sample string 2",
      "name": "sample string 3",
      "description": "sample string 4",
      "db_country_id": "86fd5a07-f3d9-415a-b075-11f0a8732579",
      "db_currency_id": "0551244c-60d5-4ccb-b2bb-50331801b25f",
      "db_language_id": "1c53017a-950e-46b3-b85e-c1b3b5a564f3",
      "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": "2023-03-31T21:31:22.9118766+00:00"
    },
    "modified_dateutc": "2023-03-31T21:31:22.9118766+00:00"
  },
  "equipment_family_id": "835dc228-86e4-4a22-aef3-895f2436d378",
  "equipment_family_code": "sample string 8",
  "equipment_family": {
    "id": "01ba6e38-4d3d-411c-bf95-391e9e39b787",
    "name": "sample string 2",
    "description": "sample string 3",
    "code": "sample string 4",
    "_parent_id": "0973a756-c013-4eea-b6df-7355093327c5",
    "_parent_code": "sample string 6",
    "sales_organization_id": "3357cf12-3a7f-4fae-8fa6-416dbfb33fef",
    "sales_organization_code": "sample string 8",
    "sales_organization": {
      "id": "2519efbd-7550-45d6-87c0-800c59949d46",
      "code": "sample string 2",
      "name": "sample string 3",
      "description": "sample string 4",
      "db_country_id": "86fd5a07-f3d9-415a-b075-11f0a8732579",
      "db_currency_id": "0551244c-60d5-4ccb-b2bb-50331801b25f",
      "db_language_id": "1c53017a-950e-46b3-b85e-c1b3b5a564f3",
      "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": "2023-03-31T21:31:22.9118766+00:00"
    },
    "modified_dateutc": "2023-03-31T21:31:22.9118766+00:00"
  },
  "date_in_production_since": "2023-03-31T21:31:22.9118766+00:00",
  "date_out_of_production_since": "2023-03-31T21:31:22.9118766+00:00",
  "date_end_support": "2023-03-31T21:31:22.9118766+00:00",
  "sales_organization_id": "25dcdce7-8647-44fc-b598-c2d7c9a63465",
  "sales_organization_code": "sample string 13",
  "sales_organization": {
    "id": "2519efbd-7550-45d6-87c0-800c59949d46",
    "code": "sample string 2",
    "name": "sample string 3",
    "description": "sample string 4",
    "db_country_id": "86fd5a07-f3d9-415a-b075-11f0a8732579",
    "db_currency_id": "0551244c-60d5-4ccb-b2bb-50331801b25f",
    "db_language_id": "1c53017a-950e-46b3-b85e-c1b3b5a564f3",
    "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": "2023-03-31T21:31:22.9118766+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": "2023-03-31T21:31:22.9118766+00:00"
}

Response Information

Resource Description :

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.