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": "6e6c3be8-cbdc-4057-b8e2-3e845996b7f1",
  "code": "sample string 2",
  "name": "sample string 3",
  "description": "sample string 4",
  "equipment_brand_id": "481e783b-e9d4-42ee-b889-b1b33b9dc2a8",
  "equipment_brand_code": "sample string 6",
  "equipment_brand": {
    "id": "27b5a10b-29b2-4018-9369-b3b991864f66",
    "name": "sample string 2",
    "code": "sample string 3",
    "sales_organization_id": "b6fa98ae-d65b-4e0a-b8f4-b9dc3f6f9b48",
    "sales_organization_code": "sample string 5",
    "sales_organization": {
      "id": "ab4fbce3-4c94-47e0-b286-5a3ad730d3f2",
      "code": "sample string 2",
      "name": "sample string 3",
      "description": "sample string 4",
      "db_country_id": "9d7a1cee-304c-4742-8c3a-cbef956add0d",
      "db_currency_id": "77b5f0f9-8e1d-40fc-a5f3-ee8735f28fbe",
      "db_language_id": "42e211cb-a659-4fcb-b983-cb152149b490",
      "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-12-21T16:46:25.062729+00:00"
    },
    "modified_dateutc": "2024-12-21T16:46:25.062729+00:00"
  },
  "equipment_family_id": "479ccb87-c336-4f8e-9b51-249cc8237bb4",
  "equipment_family_code": "sample string 8",
  "equipment_family": {
    "id": "1ca9e1e3-f5e3-4fce-8d21-9ad35908066c",
    "name": "sample string 2",
    "description": "sample string 3",
    "code": "sample string 4",
    "_parent_id": "63e56075-f10b-4780-a6e4-703214667fc4",
    "_parent_code": "sample string 6",
    "sales_organization_id": "c8424d52-446f-47a3-a810-d009299edd71",
    "sales_organization_code": "sample string 8",
    "sales_organization": {
      "id": "ab4fbce3-4c94-47e0-b286-5a3ad730d3f2",
      "code": "sample string 2",
      "name": "sample string 3",
      "description": "sample string 4",
      "db_country_id": "9d7a1cee-304c-4742-8c3a-cbef956add0d",
      "db_currency_id": "77b5f0f9-8e1d-40fc-a5f3-ee8735f28fbe",
      "db_language_id": "42e211cb-a659-4fcb-b983-cb152149b490",
      "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-12-21T16:46:25.062729+00:00"
    },
    "modified_dateutc": "2024-12-21T16:46:25.062729+00:00"
  },
  "date_in_production_since": "2024-12-21T16:46:25.062729+00:00",
  "date_out_of_production_since": "2024-12-21T16:46:25.062729+00:00",
  "date_end_support": "2024-12-21T16:46:25.062729+00:00",
  "sales_organization_id": "0e48cbcf-9356-4bf4-b6dc-46a7ec4d0049",
  "sales_organization_code": "sample string 13",
  "sales_organization": {
    "id": "ab4fbce3-4c94-47e0-b286-5a3ad730d3f2",
    "code": "sample string 2",
    "name": "sample string 3",
    "description": "sample string 4",
    "db_country_id": "9d7a1cee-304c-4742-8c3a-cbef956add0d",
    "db_currency_id": "77b5f0f9-8e1d-40fc-a5f3-ee8735f28fbe",
    "db_language_id": "42e211cb-a659-4fcb-b983-cb152149b490",
    "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-12-21T16:46:25.062729+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-12-21T16:46:25.062729+00:00"
}

Response Information

Resource Description :

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.