Creates a new equipment_model object

Request Information

URI Parameters :

None.

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": "6286f679-0a9d-4e67-aaa4-b4c99056486e",
  "code": "sample string 2",
  "name": "sample string 3",
  "description": "sample string 4",
  "equipment_brand_id": "842bb215-f52a-4a6c-ab83-691ebd5d5cdd",
  "equipment_brand_code": "sample string 6",
  "equipment_brand": {
    "id": "b03dc093-6810-48d9-8860-9d39e5b1c2fc",
    "name": "sample string 2",
    "code": "sample string 3",
    "sales_organization_id": "e238199c-a0cd-4b6a-a76c-5476440ff2a2",
    "sales_organization_code": "sample string 5",
    "sales_organization": {
      "id": "7a7d3749-cc12-41c4-8234-29596f879211",
      "code": "sample string 2",
      "name": "sample string 3",
      "description": "sample string 4",
      "db_country_id": "d2d5b30c-3eee-4adf-96f8-2616beb0d556",
      "db_currency_id": "f0b63c8a-f8c9-4635-a7e1-8d0fddcf9683",
      "db_language_id": "ca272f64-a716-493d-a303-a9bf83758522",
      "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-20T11:11:50.2505719+00:00"
    },
    "modified_dateutc": "2024-11-20T11:11:50.2505719+00:00"
  },
  "equipment_family_id": "dee8b701-f48e-47ce-85b4-60a9f5eb4dad",
  "equipment_family_code": "sample string 8",
  "equipment_family": {
    "id": "1c62036a-ecf1-4bc8-b47d-e71f9f68d1bb",
    "name": "sample string 2",
    "description": "sample string 3",
    "code": "sample string 4",
    "_parent_id": "5f0e1269-0ecb-4fe1-a00b-0470ec1c5200",
    "_parent_code": "sample string 6",
    "sales_organization_id": "7d614cea-45bf-4153-876f-e70ae3858c2e",
    "sales_organization_code": "sample string 8",
    "sales_organization": {
      "id": "7a7d3749-cc12-41c4-8234-29596f879211",
      "code": "sample string 2",
      "name": "sample string 3",
      "description": "sample string 4",
      "db_country_id": "d2d5b30c-3eee-4adf-96f8-2616beb0d556",
      "db_currency_id": "f0b63c8a-f8c9-4635-a7e1-8d0fddcf9683",
      "db_language_id": "ca272f64-a716-493d-a303-a9bf83758522",
      "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-20T11:11:50.2505719+00:00"
    },
    "modified_dateutc": "2024-11-20T11:11:50.2505719+00:00"
  },
  "date_in_production_since": "2024-11-20T11:11:50.2505719+00:00",
  "date_out_of_production_since": "2024-11-20T11:11:50.2505719+00:00",
  "date_end_support": "2024-11-20T11:11:50.2505719+00:00",
  "sales_organization_id": "d2bc6219-a1ae-4f9f-85e8-ff4c78493837",
  "sales_organization_code": "sample string 13",
  "sales_organization": {
    "id": "7a7d3749-cc12-41c4-8234-29596f879211",
    "code": "sample string 2",
    "name": "sample string 3",
    "description": "sample string 4",
    "db_country_id": "d2d5b30c-3eee-4adf-96f8-2616beb0d556",
    "db_currency_id": "f0b63c8a-f8c9-4635-a7e1-8d0fddcf9683",
    "db_language_id": "ca272f64-a716-493d-a303-a9bf83758522",
    "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-20T11:11:50.2505719+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-20T11:11:50.2505719+00:00"
}

Response Information

Resource Description :

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.