POST DistOneAPi/ItemRestrictionBatch

Request Information

URI Parameters

None.

Body Parameters

Collection of ItemBulkPriceViewModel
NameDescriptionTypeAdditional information
company_sy

string

None.

customer

string

None.

item

string

None.

unit

string

None.

quantity

decimal number

None.

warehouse

string

None.

qty_unit

string

None.

rounding

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "company_sy": "sample string 1",
    "customer": "sample string 2",
    "item": "sample string 3",
    "unit": "sample string 4",
    "quantity": 5.0,
    "warehouse": "sample string 6",
    "qty_unit": "sample string 7",
    "rounding": "sample string 8"
  },
  {
    "company_sy": "sample string 1",
    "customer": "sample string 2",
    "item": "sample string 3",
    "unit": "sample string 4",
    "quantity": 5.0,
    "warehouse": "sample string 6",
    "qty_unit": "sample string 7",
    "rounding": "sample string 8"
  }
]

text/xml

Sample:
<ArrayOfItemBulkPriceViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DistOneWebAPI.ViewModels">
  <ItemBulkPriceViewModel>
    <company_sy>sample string 1</company_sy>
    <customer>sample string 2</customer>
    <item>sample string 3</item>
    <qty_unit>sample string 7</qty_unit>
    <quantity>5</quantity>
    <rounding>sample string 8</rounding>
    <unit>sample string 4</unit>
    <warehouse>sample string 6</warehouse>
  </ItemBulkPriceViewModel>
  <ItemBulkPriceViewModel>
    <company_sy>sample string 1</company_sy>
    <customer>sample string 2</customer>
    <item>sample string 3</item>
    <qty_unit>sample string 7</qty_unit>
    <quantity>5</quantity>
    <rounding>sample string 8</rounding>
    <unit>sample string 4</unit>
    <warehouse>sample string 6</warehouse>
  </ItemBulkPriceViewModel>
</ArrayOfItemBulkPriceViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Object

None.

Response Formats

application/json, text/json

Sample:
{}

text/xml

Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />