POST api/Stock/GetAll
Request Information
URI Parameters
None.
Body Parameters
StockLister| Name | Description | Type | Additional information |
|---|---|---|---|
| List | Collection of Stock |
None. |
|
| SearchCriteria | Stock |
None. |
|
| Pagination | Pagination |
None. |
Request Formats
application/json, text/json
Sample:
{
"List": [
{
"Id": 1,
"StoreId": 2,
"Store": "sample string 3",
"EntryDate": "2026-06-10T20:27:34.0420254+05:30",
"AuditId": 5,
"CreatedBy": 6,
"LastModifiedBy": 1
},
{
"Id": 1,
"StoreId": 2,
"Store": "sample string 3",
"EntryDate": "2026-06-10T20:27:34.0420254+05:30",
"AuditId": 5,
"CreatedBy": 6,
"LastModifiedBy": 1
}
],
"SearchCriteria": {
"Id": 1,
"StoreId": 2,
"Store": "sample string 3",
"EntryDate": "2026-06-10T20:27:34.0420254+05:30",
"AuditId": 5,
"CreatedBy": 6,
"LastModifiedBy": 1
},
"Pagination": {
"PageSize": 1,
"Take": 2,
"Skip": 3,
"CurrentPage": 4,
"TotalPage": 5,
"TotalRecord": 6
}
}
application/xml, text/xml
Sample:
<StockLister xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IKimWebService.Domain">
<List>
<Stock>
<CreatedBy>6</CreatedBy>
<LastModifiedBy>1</LastModifiedBy>
<AuditId>5</AuditId>
<EntryDate>2026-06-10T20:27:34.0420254+05:30</EntryDate>
<Id>1</Id>
<Store>sample string 3</Store>
<StoreId>2</StoreId>
</Stock>
<Stock>
<CreatedBy>6</CreatedBy>
<LastModifiedBy>1</LastModifiedBy>
<AuditId>5</AuditId>
<EntryDate>2026-06-10T20:27:34.0420254+05:30</EntryDate>
<Id>1</Id>
<Store>sample string 3</Store>
<StoreId>2</StoreId>
</Stock>
</List>
<Pagination>
<CurrentPage>4</CurrentPage>
<PageSize>1</PageSize>
<Skip>3</Skip>
<Take>2</Take>
<TotalPage>5</TotalPage>
<TotalRecord>6</TotalRecord>
</Pagination>
<SearchCriteria>
<CreatedBy>6</CreatedBy>
<LastModifiedBy>1</LastModifiedBy>
<AuditId>5</AuditId>
<EntryDate>2026-06-10T20:27:34.0420254+05:30</EntryDate>
<Id>1</Id>
<Store>sample string 3</Store>
<StoreId>2</StoreId>
</SearchCriteria>
</StockLister>
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. |