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": "03b5c351-efab-42e8-bcd5-47d128d2e9bb",
  "code": "sample string 2",
  "name": "sample string 3",
  "description": "sample string 4",
  "equipment_brand_id": "ba395934-7ce2-4e2f-833c-b621fd4e06a1",
  "equipment_brand_code": "sample string 6",
  "equipment_brand": {
    "id": "3230019c-ca40-4ac3-b6fa-8e7c6dd11432",
    "name": "sample string 2",
    "code": "sample string 3",
    "sales_organization_id": "a14543d9-7de4-4a40-bd32-31489c5d5fbf",
    "sales_organization_code": "sample string 5",
    "sales_organization": {
      "id": "7c216e0f-caf1-490c-a362-9153ed8b46c0",
      "code": "sample string 2",
      "name": "sample string 3",
      "description": "sample string 4",
      "db_country_id": "72510308-c54d-4286-a7d5-dc185c219101",
      "db_currency_id": "4c62f92e-6f49-4474-877a-c1fbd153cb66",
      "db_language_id": "192959c4-5d90-41ef-9b1f-52a32682c56e",
      "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-07-26T18:47:59.1854756+00:00"
    },
    "modified_dateutc": "2024-07-26T18:47:59.1854756+00:00"
  },
  "equipment_family_id": "0bb44a2a-309c-4ecc-82b6-4c0433233174",
  "equipment_family_code": "sample string 8",
  "equipment_family": {
    "id": "1bf23ddc-082a-4a68-9a9d-56d7f2d792e7",
    "name": "sample string 2",
    "description": "sample string 3",
    "code": "sample string 4",
    "_parent_id": "a2ee0544-68e4-43b6-aa7a-f5a4ff3ddd50",
    "_parent_code": "sample string 6",
    "sales_organization_id": "86bf6e40-652a-4804-bddb-907863f2db55",
    "sales_organization_code": "sample string 8",
    "sales_organization": {
      "id": "7c216e0f-caf1-490c-a362-9153ed8b46c0",
      "code": "sample string 2",
      "name": "sample string 3",
      "description": "sample string 4",
      "db_country_id": "72510308-c54d-4286-a7d5-dc185c219101",
      "db_currency_id": "4c62f92e-6f49-4474-877a-c1fbd153cb66",
      "db_language_id": "192959c4-5d90-41ef-9b1f-52a32682c56e",
      "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-07-26T18:47:59.1854756+00:00"
    },
    "modified_dateutc": "2024-07-26T18:47:59.1854756+00:00"
  },
  "date_in_production_since": "2024-07-26T18:47:59.1854756+00:00",
  "date_out_of_production_since": "2024-07-26T18:47:59.1854756+00:00",
  "date_end_support": "2024-07-26T18:47:59.1854756+00:00",
  "sales_organization_id": "ec039337-ba60-4a8c-91fc-a1f3eed7c34a",
  "sales_organization_code": "sample string 13",
  "sales_organization": {
    "id": "7c216e0f-caf1-490c-a362-9153ed8b46c0",
    "code": "sample string 2",
    "name": "sample string 3",
    "description": "sample string 4",
    "db_country_id": "72510308-c54d-4286-a7d5-dc185c219101",
    "db_currency_id": "4c62f92e-6f49-4474-877a-c1fbd153cb66",
    "db_language_id": "192959c4-5d90-41ef-9b1f-52a32682c56e",
    "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-07-26T18:47:59.1854756+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-07-26T18:47:59.1854756+00:00"
}

Response Information

Resource Description :

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.