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": "e2f5f65e-d24e-4b3d-8a3f-e81fcbaaba97",
  "code": "sample string 2",
  "name": "sample string 3",
  "description": "sample string 4",
  "equipment_brand_id": "65b1a6e8-5b62-4916-b670-e45f53af6ad1",
  "equipment_brand_code": "sample string 6",
  "equipment_brand": {
    "id": "d21fa49c-290a-4cd7-be34-f92b1b7ff3ba",
    "name": "sample string 2",
    "code": "sample string 3",
    "sales_organization_id": "1c2d60e7-3741-4ccc-b381-9608125a55f4",
    "sales_organization_code": "sample string 5",
    "sales_organization": {
      "id": "3c005414-f153-4817-9b5b-a88ede282dda",
      "code": "sample string 2",
      "name": "sample string 3",
      "description": "sample string 4",
      "db_country_id": "8d0e6de0-3c1d-4621-aaa6-665e41767803",
      "db_currency_id": "5c42c7c6-90aa-4344-b967-d8018d19b889",
      "db_language_id": "35337b1f-a9af-4df8-9da2-aa46acb6009e",
      "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-04-20T11:06:01.1675665+00:00"
    },
    "modified_dateutc": "2024-04-20T11:06:01.1675665+00:00"
  },
  "equipment_family_id": "d1f02f4f-f5a6-40fa-b8b5-1e74b4b63400",
  "equipment_family_code": "sample string 8",
  "equipment_family": {
    "id": "7189cd44-8360-42fd-99d7-06a50dbbfa43",
    "name": "sample string 2",
    "description": "sample string 3",
    "code": "sample string 4",
    "_parent_id": "4787a48d-2abd-47d8-92d6-46165a88fbec",
    "_parent_code": "sample string 6",
    "sales_organization_id": "e7e4b165-7b09-449d-bfd9-8c24307ecbd0",
    "sales_organization_code": "sample string 8",
    "sales_organization": {
      "id": "3c005414-f153-4817-9b5b-a88ede282dda",
      "code": "sample string 2",
      "name": "sample string 3",
      "description": "sample string 4",
      "db_country_id": "8d0e6de0-3c1d-4621-aaa6-665e41767803",
      "db_currency_id": "5c42c7c6-90aa-4344-b967-d8018d19b889",
      "db_language_id": "35337b1f-a9af-4df8-9da2-aa46acb6009e",
      "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-04-20T11:06:01.1675665+00:00"
    },
    "modified_dateutc": "2024-04-20T11:06:01.1675665+00:00"
  },
  "date_in_production_since": "2024-04-20T11:06:01.1675665+00:00",
  "date_out_of_production_since": "2024-04-20T11:06:01.1675665+00:00",
  "date_end_support": "2024-04-20T11:06:01.1675665+00:00",
  "sales_organization_id": "3ff92cf6-1721-4807-99c4-fb7786e7f219",
  "sales_organization_code": "sample string 13",
  "sales_organization": {
    "id": "3c005414-f153-4817-9b5b-a88ede282dda",
    "code": "sample string 2",
    "name": "sample string 3",
    "description": "sample string 4",
    "db_country_id": "8d0e6de0-3c1d-4621-aaa6-665e41767803",
    "db_currency_id": "5c42c7c6-90aa-4344-b967-d8018d19b889",
    "db_language_id": "35337b1f-a9af-4df8-9da2-aa46acb6009e",
    "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-04-20T11:06:01.1675665+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-04-20T11:06:01.1675665+00:00"
}

Response Information

Resource Description :

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.