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": "ac21b631-8920-43b4-917a-c55f9d734449",
  "code": "sample string 2",
  "name": "sample string 3",
  "description": "sample string 4",
  "equipment_brand_id": "b3d306dd-35c8-4354-975b-4a91ddab1d8e",
  "equipment_brand_code": "sample string 6",
  "equipment_brand": {
    "id": "fc4b28c2-2bf0-4e94-bab7-8307644830c1",
    "name": "sample string 2",
    "code": "sample string 3",
    "sales_organization_id": "4430e893-73d5-4165-9098-10bd7b08e056",
    "sales_organization_code": "sample string 5",
    "sales_organization": {
      "id": "1dc99562-55b1-44ad-bee1-cbb4c8377d20",
      "code": "sample string 2",
      "name": "sample string 3",
      "description": "sample string 4",
      "db_country_id": "f8147449-e433-4df6-a621-8b6f1729645e",
      "db_currency_id": "ccf07064-c279-474d-a845-5efcfdcf6844",
      "db_language_id": "1709ac1d-be4c-4312-a5bc-82d58f01ca28",
      "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-12-02T20:51:53.2504128+01:00"
    },
    "modified_dateutc": "2022-12-02T20:51:53.2504128+01:00"
  },
  "equipment_family_id": "85dc61a7-4d92-4892-8f85-299766890fbe",
  "equipment_family_code": "sample string 8",
  "equipment_family": {
    "id": "fdb212ad-6896-45f8-8d2c-de5d05325c62",
    "name": "sample string 2",
    "description": "sample string 3",
    "code": "sample string 4",
    "_parent_id": "4b27be37-4c18-4988-9adb-aed54751f923",
    "_parent_code": "sample string 6",
    "sales_organization_id": "4e2570ce-4e5a-464e-993e-5965c4c0e500",
    "sales_organization_code": "sample string 8",
    "sales_organization": {
      "id": "1dc99562-55b1-44ad-bee1-cbb4c8377d20",
      "code": "sample string 2",
      "name": "sample string 3",
      "description": "sample string 4",
      "db_country_id": "f8147449-e433-4df6-a621-8b6f1729645e",
      "db_currency_id": "ccf07064-c279-474d-a845-5efcfdcf6844",
      "db_language_id": "1709ac1d-be4c-4312-a5bc-82d58f01ca28",
      "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-12-02T20:51:53.2504128+01:00"
    },
    "modified_dateutc": "2022-12-02T20:51:53.2504128+01:00"
  },
  "date_in_production_since": "2022-12-02T20:51:53.2504128+01:00",
  "date_out_of_production_since": "2022-12-02T20:51:53.2504128+01:00",
  "date_end_support": "2022-12-02T20:51:53.2504128+01:00",
  "sales_organization_id": "005f9c45-5c76-4f7c-95b4-f8371db2702d",
  "sales_organization_code": "sample string 13",
  "sales_organization": {
    "id": "1dc99562-55b1-44ad-bee1-cbb4c8377d20",
    "code": "sample string 2",
    "name": "sample string 3",
    "description": "sample string 4",
    "db_country_id": "f8147449-e433-4df6-a621-8b6f1729645e",
    "db_currency_id": "ccf07064-c279-474d-a845-5efcfdcf6844",
    "db_language_id": "1709ac1d-be4c-4312-a5bc-82d58f01ca28",
    "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-12-02T20:51:53.2504128+01: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-12-02T20:51:53.2504128+01:00"
}

Response Information

Resource Description :

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.