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": "6213f83d-fc4a-4924-aa98-855d73294577",
  "code": "sample string 2",
  "name": "sample string 3",
  "description": "sample string 4",
  "equipment_brand_id": "2cdb19ed-3b5f-4dff-94c4-d9b4260ebfb8",
  "equipment_brand_code": "sample string 6",
  "equipment_brand": {
    "id": "bc233000-22fa-4f82-95c7-e62b5c5a8092",
    "name": "sample string 2",
    "code": "sample string 3",
    "sales_organization_id": "8af52519-a401-40af-8a64-bf84f83f51dc",
    "sales_organization_code": "sample string 5",
    "sales_organization": {
      "id": "e51c4f94-f535-4391-9b76-ba262c1d065e",
      "code": "sample string 2",
      "name": "sample string 3",
      "description": "sample string 4",
      "db_country_id": "2ceaabd1-877e-4ccc-bb3a-208745852735",
      "db_currency_id": "cdc0de1f-2e32-486b-a100-33fab374b631",
      "db_language_id": "362979cb-2f3e-4522-870c-0dd56f1151fd",
      "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-17T03:35:46.2642245+02:00"
    },
    "modified_dateutc": "2022-08-17T03:35:46.2642245+02:00"
  },
  "equipment_family_id": "245a5999-dfed-4c65-98c2-56424037060f",
  "equipment_family_code": "sample string 8",
  "equipment_family": {
    "id": "45de534c-47d3-4cc3-94ce-f9b443063fe9",
    "name": "sample string 2",
    "description": "sample string 3",
    "code": "sample string 4",
    "_parent_id": "725b3758-a3a2-4cc1-af37-fdc093af2a46",
    "_parent_code": "sample string 6",
    "sales_organization_id": "eea265cd-d6ba-454b-a995-ff4e4198fe60",
    "sales_organization_code": "sample string 8",
    "sales_organization": {
      "id": "e51c4f94-f535-4391-9b76-ba262c1d065e",
      "code": "sample string 2",
      "name": "sample string 3",
      "description": "sample string 4",
      "db_country_id": "2ceaabd1-877e-4ccc-bb3a-208745852735",
      "db_currency_id": "cdc0de1f-2e32-486b-a100-33fab374b631",
      "db_language_id": "362979cb-2f3e-4522-870c-0dd56f1151fd",
      "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-17T03:35:46.2642245+02:00"
    },
    "modified_dateutc": "2022-08-17T03:35:46.2642245+02:00"
  },
  "date_in_production_since": "2022-08-17T03:35:46.2642245+02:00",
  "date_out_of_production_since": "2022-08-17T03:35:46.2642245+02:00",
  "date_end_support": "2022-08-17T03:35:46.2642245+02:00",
  "sales_organization_id": "15c47f3e-ad69-4be6-88ed-853e7cd595ec",
  "sales_organization_code": "sample string 13",
  "sales_organization": {
    "id": "e51c4f94-f535-4391-9b76-ba262c1d065e",
    "code": "sample string 2",
    "name": "sample string 3",
    "description": "sample string 4",
    "db_country_id": "2ceaabd1-877e-4ccc-bb3a-208745852735",
    "db_currency_id": "cdc0de1f-2e32-486b-a100-33fab374b631",
    "db_language_id": "362979cb-2f3e-4522-870c-0dd56f1151fd",
    "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-17T03:35:46.2642245+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-17T03:35:46.2642245+02:00"
}

Response Information

Resource Description :

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.