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": "3cca8efc-e114-4366-8db1-37e8a200a955",
  "code": "sample string 2",
  "name": "sample string 3",
  "description": "sample string 4",
  "equipment_brand_id": "566fdaf2-ad58-4ead-a165-bbf42bf4ea4c",
  "equipment_brand_code": "sample string 6",
  "equipment_brand": {
    "id": "f339fd37-cd45-4e8f-8b39-7d04fad9ac70",
    "name": "sample string 2",
    "code": "sample string 3",
    "sales_organization_id": "250adce6-173a-497d-96a3-d29d3f146abd",
    "sales_organization_code": "sample string 5",
    "sales_organization": {
      "id": "0964a6d5-7fde-4d89-8834-d6c1c95ae75d",
      "code": "sample string 2",
      "name": "sample string 3",
      "description": "sample string 4",
      "db_country_id": "8a751f2c-97e8-4117-8065-6b93dd97a623",
      "db_currency_id": "f54d21dd-3a97-4327-8bbd-4b93ab1823f0",
      "db_language_id": "47592d02-ab95-4f1d-bb8b-687f64ed3c0d",
      "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-11-21T08:36:31.5928703+00:00"
    },
    "modified_dateutc": "2024-11-21T08:36:31.5928703+00:00"
  },
  "equipment_family_id": "39403e0b-5402-434d-bee5-71a618b23d54",
  "equipment_family_code": "sample string 8",
  "equipment_family": {
    "id": "12df4730-b409-4c1e-85b5-c188416c2813",
    "name": "sample string 2",
    "description": "sample string 3",
    "code": "sample string 4",
    "_parent_id": "e593ac06-65d0-4f9e-8fe0-e1d781bf55e8",
    "_parent_code": "sample string 6",
    "sales_organization_id": "3f84de1a-6afc-4ac1-8a23-fdc5668edbca",
    "sales_organization_code": "sample string 8",
    "sales_organization": {
      "id": "0964a6d5-7fde-4d89-8834-d6c1c95ae75d",
      "code": "sample string 2",
      "name": "sample string 3",
      "description": "sample string 4",
      "db_country_id": "8a751f2c-97e8-4117-8065-6b93dd97a623",
      "db_currency_id": "f54d21dd-3a97-4327-8bbd-4b93ab1823f0",
      "db_language_id": "47592d02-ab95-4f1d-bb8b-687f64ed3c0d",
      "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-11-21T08:36:31.5928703+00:00"
    },
    "modified_dateutc": "2024-11-21T08:36:31.5928703+00:00"
  },
  "date_in_production_since": "2024-11-21T08:36:31.5928703+00:00",
  "date_out_of_production_since": "2024-11-21T08:36:31.5928703+00:00",
  "date_end_support": "2024-11-21T08:36:31.5928703+00:00",
  "sales_organization_id": "df60dc2f-dba8-409d-a778-e0051c8008aa",
  "sales_organization_code": "sample string 13",
  "sales_organization": {
    "id": "0964a6d5-7fde-4d89-8834-d6c1c95ae75d",
    "code": "sample string 2",
    "name": "sample string 3",
    "description": "sample string 4",
    "db_country_id": "8a751f2c-97e8-4117-8065-6b93dd97a623",
    "db_currency_id": "f54d21dd-3a97-4327-8bbd-4b93ab1823f0",
    "db_language_id": "47592d02-ab95-4f1d-bb8b-687f64ed3c0d",
    "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-11-21T08:36:31.5928703+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-11-21T08:36:31.5928703+00:00"
}

Response Information

Resource Description :

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.