POST api/Stock
Request Information
URI Parameters
None.
Body Parameters
ItemSearch| Name | Description | Type | Additional information |
|---|---|---|---|
| ActiveStatus | character |
None. |
|
| BodyColorId | integer |
None. |
|
| BrandId | integer |
None. |
|
| CapacityId | integer |
None. |
|
| CategoryId | integer |
None. |
|
| ColorId | integer |
None. |
|
| CustomerID | integer |
None. |
|
| DisplayType | character |
None. |
|
| FromDate | date |
None. |
|
| GroupId | integer |
None. |
|
| ItemCode_ItemName | string |
None. |
|
| ItemID | integer |
None. |
|
| ItemIDs | string |
None. |
|
| LocationID | integer |
None. |
|
| ModelId | integer |
None. |
|
| NotIncludeCustomers | Collection of integer |
None. |
|
| PriceFrom | integer |
None. |
|
| PriceTo | integer |
None. |
|
| ToDate | date |
None. |
Request Formats
application/json, text/json
Sample:
{
"ActiveStatus": "A",
"BodyColorId": 2,
"BrandId": 3,
"CapacityId": 4,
"CategoryId": 5,
"ColorId": 6,
"CustomerID": 7,
"DisplayType": "A",
"FromDate": "2026-02-20T15:34:26.1970829+01:00",
"GroupId": 10,
"ItemCode_ItemName": "sample string 11",
"ItemID": 12,
"ItemIDs": "sample string 13",
"LocationID": 14,
"ModelId": 15,
"NotIncludeCustomers": [
1,
2
],
"PriceFrom": 16,
"PriceTo": 17,
"ToDate": "2026-02-20T15:34:26.1990822+01:00"
}
application/xml, text/xml
Sample:
<ItemSearch xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Oneview.Model">
<ActiveStatus>65</ActiveStatus>
<BodyColorId>2</BodyColorId>
<BrandId>3</BrandId>
<CapacityId>4</CapacityId>
<CategoryId>5</CategoryId>
<ColorId>6</ColorId>
<CustomerID>7</CustomerID>
<DisplayType>65</DisplayType>
<FromDate>2026-02-20T15:34:26.1970829+01:00</FromDate>
<GroupId>10</GroupId>
<ItemCode_ItemName>sample string 11</ItemCode_ItemName>
<ItemID>12</ItemID>
<ItemIDs>sample string 13</ItemIDs>
<LocationID>14</LocationID>
<ModelId>15</ModelId>
<NotIncludeCustomers xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</NotIncludeCustomers>
<PriceFrom>16</PriceFrom>
<PriceTo>17</PriceTo>
<ToDate>2026-02-20T15:34:26.1990822+01:00</ToDate>
</ItemSearch>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.