POST api/InventoryCategory?Clean={Clean}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Clean

boolean

Default value is False

Body Parameters

Collection of Inventory_category
NameDescriptionTypeAdditional information
main

Main

None.

id

integer

None.

name

string

None.

main_image

string

None.

id_inventory_category_parent

integer

None.

id_server

integer

None.

int_order

integer

None.

locked

boolean

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "main": {
      "version": "sample string 1",
      "deviceId": "sample string 2"
    },
    "id": 1,
    "name": "sample string 2",
    "main_image": "sample string 3",
    "id_inventory_category_parent": 4,
    "id_server": 5,
    "int_order": 6,
    "locked": true
  },
  {
    "main": {
      "version": "sample string 1",
      "deviceId": "sample string 2"
    },
    "id": 1,
    "name": "sample string 2",
    "main_image": "sample string 3",
    "id_inventory_category_parent": 4,
    "id_server": 5,
    "int_order": 6,
    "locked": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfInventory_category xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OnlineSalesServer.Models">
  <Inventory_category>
    <id>1</id>
    <id_inventory_category_parent>4</id_inventory_category_parent>
    <id_server>5</id_server>
    <int_order>6</int_order>
    <locked>true</locked>
    <main>
      <deviceId>sample string 2</deviceId>
      <version>sample string 1</version>
    </main>
    <main_image>sample string 3</main_image>
    <name>sample string 2</name>
  </Inventory_category>
  <Inventory_category>
    <id>1</id>
    <id_inventory_category_parent>4</id_inventory_category_parent>
    <id_server>5</id_server>
    <int_order>6</int_order>
    <locked>true</locked>
    <main>
      <deviceId>sample string 2</deviceId>
      <version>sample string 1</version>
    </main>
    <main_image>sample string 3</main_image>
    <name>sample string 2</name>
  </Inventory_category>
</ArrayOfInventory_category>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.