POST api/PurchaseItem/GetAll
Request Information
URI Parameters
None.
Body Parameters
PurchaseItemLister| Name | Description | Type | Additional information |
|---|---|---|---|
| List | Collection of PurchaseItem |
None. |
|
| SearchCriteria | PurchaseItem |
None. |
|
| Pagination | Pagination |
None. |
|
| Vendor | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"List": [
{
"Id": 1,
"PurchaseId": 2,
"ItemId": 3,
"Rate": 4.0,
"Qty": 5.0,
"Amount": 6.0,
"SGST": 7.0,
"CGST": 8.0,
"TotalAmount": 9.0,
"UnitOfMeasureId": 10,
"UnitOfMeasure": "sample string 11",
"Item": "sample string 12",
"AuditId": 13,
"CreatedBy": 14,
"LastModifiedBy": 1
},
{
"Id": 1,
"PurchaseId": 2,
"ItemId": 3,
"Rate": 4.0,
"Qty": 5.0,
"Amount": 6.0,
"SGST": 7.0,
"CGST": 8.0,
"TotalAmount": 9.0,
"UnitOfMeasureId": 10,
"UnitOfMeasure": "sample string 11",
"Item": "sample string 12",
"AuditId": 13,
"CreatedBy": 14,
"LastModifiedBy": 1
}
],
"SearchCriteria": {
"Id": 1,
"PurchaseId": 2,
"ItemId": 3,
"Rate": 4.0,
"Qty": 5.0,
"Amount": 6.0,
"SGST": 7.0,
"CGST": 8.0,
"TotalAmount": 9.0,
"UnitOfMeasureId": 10,
"UnitOfMeasure": "sample string 11",
"Item": "sample string 12",
"AuditId": 13,
"CreatedBy": 14,
"LastModifiedBy": 1
},
"Pagination": {
"PageSize": 1,
"Take": 2,
"Skip": 3,
"CurrentPage": 4,
"TotalPage": 5,
"TotalRecord": 6
},
"Vendor": "sample string 1"
}
application/xml, text/xml
Sample:
<PurchaseItemLister xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IKimWebService.Domain">
<List>
<PurchaseItem>
<CreatedBy>14</CreatedBy>
<LastModifiedBy>1</LastModifiedBy>
<Amount>6</Amount>
<AuditId>13</AuditId>
<CGST>8</CGST>
<Id>1</Id>
<Item>sample string 12</Item>
<ItemId>3</ItemId>
<PurchaseId>2</PurchaseId>
<Qty>5</Qty>
<Rate>4</Rate>
<SGST>7</SGST>
<TotalAmount>9</TotalAmount>
<UnitOfMeasure>sample string 11</UnitOfMeasure>
<UnitOfMeasureId>10</UnitOfMeasureId>
</PurchaseItem>
<PurchaseItem>
<CreatedBy>14</CreatedBy>
<LastModifiedBy>1</LastModifiedBy>
<Amount>6</Amount>
<AuditId>13</AuditId>
<CGST>8</CGST>
<Id>1</Id>
<Item>sample string 12</Item>
<ItemId>3</ItemId>
<PurchaseId>2</PurchaseId>
<Qty>5</Qty>
<Rate>4</Rate>
<SGST>7</SGST>
<TotalAmount>9</TotalAmount>
<UnitOfMeasure>sample string 11</UnitOfMeasure>
<UnitOfMeasureId>10</UnitOfMeasureId>
</PurchaseItem>
</List>
<Pagination>
<CurrentPage>4</CurrentPage>
<PageSize>1</PageSize>
<Skip>3</Skip>
<Take>2</Take>
<TotalPage>5</TotalPage>
<TotalRecord>6</TotalRecord>
</Pagination>
<SearchCriteria>
<CreatedBy>14</CreatedBy>
<LastModifiedBy>1</LastModifiedBy>
<Amount>6</Amount>
<AuditId>13</AuditId>
<CGST>8</CGST>
<Id>1</Id>
<Item>sample string 12</Item>
<ItemId>3</ItemId>
<PurchaseId>2</PurchaseId>
<Qty>5</Qty>
<Rate>4</Rate>
<SGST>7</SGST>
<TotalAmount>9</TotalAmount>
<UnitOfMeasure>sample string 11</UnitOfMeasure>
<UnitOfMeasureId>10</UnitOfMeasureId>
</SearchCriteria>
<Vendor>sample string 1</Vendor>
</PurchaseItemLister>
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. |