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": "9476d8b7-bbea-4b70-988e-219b2b09131a",
  "code": "sample string 2",
  "name": "sample string 3",
  "description": "sample string 4",
  "equipment_brand_id": "f2810069-13da-4689-9db9-ac182a01f6ca",
  "equipment_brand_code": "sample string 6",
  "equipment_brand": {
    "id": "34ea042c-c1e7-4ade-86e9-6c4184dc7cef",
    "name": "sample string 2",
    "code": "sample string 3",
    "sales_organization_id": "0f0fc51c-aa9a-4d4b-88fe-2b2edd1f8f8a",
    "sales_organization_code": "sample string 5",
    "sales_organization": {
      "id": "c6a898ee-ca5b-4f01-b586-86d9bea9a5ae",
      "code": "sample string 2",
      "name": "sample string 3",
      "description": "sample string 4",
      "db_country_id": "3df3fb21-956f-40eb-a1b6-f19c15b1a3dc",
      "db_currency_id": "028194da-239f-477e-8b9e-dd6397101f56",
      "db_language_id": "f1bc470a-56ec-4653-bb25-f5b05955b125",
      "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-23T14:43:07.8340804+00:00"
    },
    "modified_dateutc": "2023-03-23T14:43:07.8340804+00:00"
  },
  "equipment_family_id": "12dd214b-718a-4132-bf9c-5d03fc4bec80",
  "equipment_family_code": "sample string 8",
  "equipment_family": {
    "id": "021c992c-05c3-4287-8fa3-9e4f59632653",
    "name": "sample string 2",
    "description": "sample string 3",
    "code": "sample string 4",
    "_parent_id": "f7c4a1fb-5271-4fe4-86de-b1db538ae3b3",
    "_parent_code": "sample string 6",
    "sales_organization_id": "f7f56b80-3e7c-46ad-9362-14e65f4ccfe7",
    "sales_organization_code": "sample string 8",
    "sales_organization": {
      "id": "c6a898ee-ca5b-4f01-b586-86d9bea9a5ae",
      "code": "sample string 2",
      "name": "sample string 3",
      "description": "sample string 4",
      "db_country_id": "3df3fb21-956f-40eb-a1b6-f19c15b1a3dc",
      "db_currency_id": "028194da-239f-477e-8b9e-dd6397101f56",
      "db_language_id": "f1bc470a-56ec-4653-bb25-f5b05955b125",
      "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-23T14:43:07.8340804+00:00"
    },
    "modified_dateutc": "2023-03-23T14:43:07.8340804+00:00"
  },
  "date_in_production_since": "2023-03-23T14:43:07.8340804+00:00",
  "date_out_of_production_since": "2023-03-23T14:43:07.8340804+00:00",
  "date_end_support": "2023-03-23T14:43:07.8340804+00:00",
  "sales_organization_id": "1663e7da-1419-4d8a-9232-78e391920e31",
  "sales_organization_code": "sample string 13",
  "sales_organization": {
    "id": "c6a898ee-ca5b-4f01-b586-86d9bea9a5ae",
    "code": "sample string 2",
    "name": "sample string 3",
    "description": "sample string 4",
    "db_country_id": "3df3fb21-956f-40eb-a1b6-f19c15b1a3dc",
    "db_currency_id": "028194da-239f-477e-8b9e-dd6397101f56",
    "db_language_id": "f1bc470a-56ec-4653-bb25-f5b05955b125",
    "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-23T14:43:07.8340804+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-23T14:43:07.8340804+00:00"
}

Response Information

Resource Description :

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.