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": "a86a7eea-2317-4a66-a411-7c0faf2c079b",
  "code": "sample string 2",
  "name": "sample string 3",
  "description": "sample string 4",
  "equipment_brand_id": "3018fc90-8bcc-42d5-9247-a67aa6f64d67",
  "equipment_brand_code": "sample string 6",
  "equipment_brand": {
    "id": "3f3f61ab-410d-478e-9c26-874e3c376f90",
    "name": "sample string 2",
    "code": "sample string 3",
    "sales_organization_id": "99cb9da4-e863-40ab-9e1a-b4fdbf009788",
    "sales_organization_code": "sample string 5",
    "sales_organization": {
      "id": "a028b084-ccf1-405d-854c-e1a9fcbea3a8",
      "code": "sample string 2",
      "name": "sample string 3",
      "description": "sample string 4",
      "db_country_id": "a1ae9e6d-ba17-4b35-9253-137f041c245b",
      "db_currency_id": "57d41d70-9121-4aee-b0ca-2da981e994a5",
      "db_language_id": "42386295-a980-4d89-af09-bb88c6c828d2",
      "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": "2022-08-08T06:08:20.0057877+02:00"
    },
    "modified_dateutc": "2022-08-08T06:08:20.0057877+02:00"
  },
  "equipment_family_id": "974d8f6a-9d25-4b06-8487-b8028d0d68fa",
  "equipment_family_code": "sample string 8",
  "equipment_family": {
    "id": "643c51d2-cc6c-4198-8a1a-5784ef6ae090",
    "name": "sample string 2",
    "description": "sample string 3",
    "code": "sample string 4",
    "_parent_id": "045b4643-26cc-4853-a38a-d8ea39e8aeeb",
    "_parent_code": "sample string 6",
    "sales_organization_id": "dda30cce-56b2-4f67-89b6-df7fe7d2aebf",
    "sales_organization_code": "sample string 8",
    "sales_organization": {
      "id": "a028b084-ccf1-405d-854c-e1a9fcbea3a8",
      "code": "sample string 2",
      "name": "sample string 3",
      "description": "sample string 4",
      "db_country_id": "a1ae9e6d-ba17-4b35-9253-137f041c245b",
      "db_currency_id": "57d41d70-9121-4aee-b0ca-2da981e994a5",
      "db_language_id": "42386295-a980-4d89-af09-bb88c6c828d2",
      "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": "2022-08-08T06:08:20.0057877+02:00"
    },
    "modified_dateutc": "2022-08-08T06:08:20.0057877+02:00"
  },
  "date_in_production_since": "2022-08-08T06:08:20.0057877+02:00",
  "date_out_of_production_since": "2022-08-08T06:08:20.0057877+02:00",
  "date_end_support": "2022-08-08T06:08:20.0057877+02:00",
  "sales_organization_id": "ea395766-e698-4e09-9fd0-f1e2445f68ee",
  "sales_organization_code": "sample string 13",
  "sales_organization": {
    "id": "a028b084-ccf1-405d-854c-e1a9fcbea3a8",
    "code": "sample string 2",
    "name": "sample string 3",
    "description": "sample string 4",
    "db_country_id": "a1ae9e6d-ba17-4b35-9253-137f041c245b",
    "db_currency_id": "57d41d70-9121-4aee-b0ca-2da981e994a5",
    "db_language_id": "42386295-a980-4d89-af09-bb88c6c828d2",
    "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": "2022-08-08T06:08:20.0057877+02: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": "2022-08-08T06:08:20.0057877+02:00"
}

Response Information

Resource Description :

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.