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": "16688f90-90cd-42fc-9b95-fe897dd0bf4b",
  "code": "sample string 2",
  "name": "sample string 3",
  "description": "sample string 4",
  "equipment_brand_id": "a74b3654-554a-41fa-a5e9-2cf96a029051",
  "equipment_brand_code": "sample string 6",
  "equipment_brand": {
    "id": "17f9acfa-50df-4a7b-b40e-b9b7b7c382f2",
    "name": "sample string 2",
    "code": "sample string 3",
    "sales_organization_id": "fd9d3c2f-6624-4946-a277-38cfc87ee20d",
    "sales_organization_code": "sample string 5",
    "sales_organization": {
      "id": "c8eca1a2-c723-4ce3-b0dd-e10636d9d3e2",
      "code": "sample string 2",
      "name": "sample string 3",
      "description": "sample string 4",
      "db_country_id": "e17da0ff-f59d-4cfa-b10a-50eb1118c9cf",
      "db_currency_id": "bed48336-57d0-4ada-ab97-06c4e837aa84",
      "db_language_id": "a5c5023d-a8f2-41ee-ac8c-99ad233bb11e",
      "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-26T18:11:57.2237989+00:00"
    },
    "modified_dateutc": "2025-04-26T18:11:57.2237989+00:00"
  },
  "equipment_family_id": "ec93c7e4-939f-40e7-a85a-ade82ea0d87b",
  "equipment_family_code": "sample string 8",
  "equipment_family": {
    "id": "746dc7c8-6aef-4270-9ae5-c2f1fd141e3b",
    "name": "sample string 2",
    "description": "sample string 3",
    "code": "sample string 4",
    "_parent_id": "a04ed638-a417-424e-9f9d-19dfa6b8bf7f",
    "_parent_code": "sample string 6",
    "sales_organization_id": "d7839cb3-7dbc-4dcc-be44-91c621f07e0e",
    "sales_organization_code": "sample string 8",
    "sales_organization": {
      "id": "c8eca1a2-c723-4ce3-b0dd-e10636d9d3e2",
      "code": "sample string 2",
      "name": "sample string 3",
      "description": "sample string 4",
      "db_country_id": "e17da0ff-f59d-4cfa-b10a-50eb1118c9cf",
      "db_currency_id": "bed48336-57d0-4ada-ab97-06c4e837aa84",
      "db_language_id": "a5c5023d-a8f2-41ee-ac8c-99ad233bb11e",
      "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-26T18:11:57.2237989+00:00"
    },
    "modified_dateutc": "2025-04-26T18:11:57.2429231+00:00"
  },
  "date_in_production_since": "2025-04-26T18:11:57.2429231+00:00",
  "date_out_of_production_since": "2025-04-26T18:11:57.2429231+00:00",
  "date_end_support": "2025-04-26T18:11:57.2429231+00:00",
  "sales_organization_id": "5c8b2e02-c309-40e2-a175-d8c65e6e8b79",
  "sales_organization_code": "sample string 13",
  "sales_organization": {
    "id": "c8eca1a2-c723-4ce3-b0dd-e10636d9d3e2",
    "code": "sample string 2",
    "name": "sample string 3",
    "description": "sample string 4",
    "db_country_id": "e17da0ff-f59d-4cfa-b10a-50eb1118c9cf",
    "db_currency_id": "bed48336-57d0-4ada-ab97-06c4e837aa84",
    "db_language_id": "a5c5023d-a8f2-41ee-ac8c-99ad233bb11e",
    "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-26T18:11:57.2237989+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-26T18:11:57.2429231+00:00"
}

Response Information

Resource Description :

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.