POST api/StockItem/GetAll
Request Information
URI Parameters
None.
Body Parameters
StockItemLister| Name | Description | Type | Additional information |
|---|---|---|---|
| List | Collection of StockItem |
None. |
|
| SearchCriteria | StockItem |
None. |
|
| Pagination | Pagination |
None. |
Request Formats
application/json, text/json
Sample:
{
"List": [
{
"Id": 1,
"StockId": 2,
"ItemId": 3,
"Stock": "sample string 4",
"Item": "sample string 5",
"QuantityWithUnit": "sample string 6",
"Quantity": 7,
"AuditId": 8,
"CreatedBy": 9,
"LastModifiedBy": 1
},
{
"Id": 1,
"StockId": 2,
"ItemId": 3,
"Stock": "sample string 4",
"Item": "sample string 5",
"QuantityWithUnit": "sample string 6",
"Quantity": 7,
"AuditId": 8,
"CreatedBy": 9,
"LastModifiedBy": 1
}
],
"SearchCriteria": {
"Id": 1,
"StockId": 2,
"ItemId": 3,
"Stock": "sample string 4",
"Item": "sample string 5",
"QuantityWithUnit": "sample string 6",
"Quantity": 7,
"AuditId": 8,
"CreatedBy": 9,
"LastModifiedBy": 1
},
"Pagination": {
"PageSize": 1,
"Take": 2,
"Skip": 3,
"CurrentPage": 4,
"TotalPage": 5,
"TotalRecord": 6
}
}
application/xml, text/xml
Sample:
<StockItemLister xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IKimWebService.Domain">
<List>
<StockItem>
<CreatedBy>9</CreatedBy>
<LastModifiedBy>1</LastModifiedBy>
<AuditId>8</AuditId>
<Id>1</Id>
<Item>sample string 5</Item>
<ItemId>3</ItemId>
<Quantity>7</Quantity>
<QuantityWithUnit>sample string 6</QuantityWithUnit>
<Stock>sample string 4</Stock>
<StockId>2</StockId>
</StockItem>
<StockItem>
<CreatedBy>9</CreatedBy>
<LastModifiedBy>1</LastModifiedBy>
<AuditId>8</AuditId>
<Id>1</Id>
<Item>sample string 5</Item>
<ItemId>3</ItemId>
<Quantity>7</Quantity>
<QuantityWithUnit>sample string 6</QuantityWithUnit>
<Stock>sample string 4</Stock>
<StockId>2</StockId>
</StockItem>
</List>
<Pagination>
<CurrentPage>4</CurrentPage>
<PageSize>1</PageSize>
<Skip>3</Skip>
<Take>2</Take>
<TotalPage>5</TotalPage>
<TotalRecord>6</TotalRecord>
</Pagination>
<SearchCriteria>
<CreatedBy>9</CreatedBy>
<LastModifiedBy>1</LastModifiedBy>
<AuditId>8</AuditId>
<Id>1</Id>
<Item>sample string 5</Item>
<ItemId>3</ItemId>
<Quantity>7</Quantity>
<QuantityWithUnit>sample string 6</QuantityWithUnit>
<Stock>sample string 4</Stock>
<StockId>2</StockId>
</SearchCriteria>
</StockItemLister>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |