GET api/PumpAndroid/GetItem?code={code}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| code | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of Item| Name | Description | Type | Additional information |
|---|---|---|---|
| Code | string |
None. |
|
| ItemNo | integer |
None. |
|
| ItemName | string |
None. |
|
| OpeningUnits | decimal number |
None. |
|
| UOM | string |
None. |
|
| Price | decimal number |
None. |
|
| PurchaseRate | decimal number |
None. |
|
| TaxMode | string |
None. |
|
| TaxPer | decimal number |
None. |
|
| TaxId | integer |
None. |
|
| HSNCode | string |
None. |
|
| EnteredDate | date |
None. |
|
| AlteredDate | date |
None. |
|
| EnteredBy | string |
None. |
|
| AlteredBy | string |
None. |
|
| ClosingStock | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Code": "sample string 1",
"ItemNo": 2,
"ItemName": "sample string 3",
"OpeningUnits": 4.1,
"UOM": "sample string 5",
"Price": 6.1,
"PurchaseRate": 7.1,
"TaxMode": "sample string 8",
"TaxPer": 9.1,
"TaxId": 10,
"HSNCode": "sample string 11",
"EnteredDate": "2025-12-06T09:48:02.5617687+05:30",
"AlteredDate": "2025-12-06T09:48:02.5617687+05:30",
"EnteredBy": "sample string 14",
"AlteredBy": "sample string 15",
"ClosingStock": 16.1
},
{
"Code": "sample string 1",
"ItemNo": 2,
"ItemName": "sample string 3",
"OpeningUnits": 4.1,
"UOM": "sample string 5",
"Price": 6.1,
"PurchaseRate": 7.1,
"TaxMode": "sample string 8",
"TaxPer": 9.1,
"TaxId": 10,
"HSNCode": "sample string 11",
"EnteredDate": "2025-12-06T09:48:02.5617687+05:30",
"AlteredDate": "2025-12-06T09:48:02.5617687+05:30",
"EnteredBy": "sample string 14",
"AlteredBy": "sample string 15",
"ClosingStock": 16.1
}
]
application/xml, text/xml
Sample:
<ArrayOfItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PumpAndroid.Models">
<Item>
<AlteredBy>sample string 15</AlteredBy>
<AlteredDate>2025-12-06T09:48:02.5617687+05:30</AlteredDate>
<ClosingStock>16.1</ClosingStock>
<Code>sample string 1</Code>
<EnteredBy>sample string 14</EnteredBy>
<EnteredDate>2025-12-06T09:48:02.5617687+05:30</EnteredDate>
<HSNCode>sample string 11</HSNCode>
<ItemName>sample string 3</ItemName>
<ItemNo>2</ItemNo>
<OpeningUnits>4.1</OpeningUnits>
<Price>6.1</Price>
<PurchaseRate>7.1</PurchaseRate>
<TaxId>10</TaxId>
<TaxMode>sample string 8</TaxMode>
<TaxPer>9.1</TaxPer>
<UOM>sample string 5</UOM>
</Item>
<Item>
<AlteredBy>sample string 15</AlteredBy>
<AlteredDate>2025-12-06T09:48:02.5617687+05:30</AlteredDate>
<ClosingStock>16.1</ClosingStock>
<Code>sample string 1</Code>
<EnteredBy>sample string 14</EnteredBy>
<EnteredDate>2025-12-06T09:48:02.5617687+05:30</EnteredDate>
<HSNCode>sample string 11</HSNCode>
<ItemName>sample string 3</ItemName>
<ItemNo>2</ItemNo>
<OpeningUnits>4.1</OpeningUnits>
<Price>6.1</Price>
<PurchaseRate>7.1</PurchaseRate>
<TaxId>10</TaxId>
<TaxMode>sample string 8</TaxMode>
<TaxPer>9.1</TaxPer>
<UOM>sample string 5</UOM>
</Item>
</ArrayOfItem>