GET api/PumpAndroid/GetItem/{code}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| code | string |
None. |
Body Parameters
None.
Response Information
Resource Description
Collection of Item| Name | Description | Type | Additional information |
|---|---|---|---|
| ItemNo | integer |
None. |
|
| ItemName | string |
None. |
|
| Price | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"ItemNo": 1,
"ItemName": "sample string 2",
"Price": 3.1
},
{
"ItemNo": 1,
"ItemName": "sample string 2",
"Price": 3.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>
<ItemName>sample string 2</ItemName>
<ItemNo>1</ItemNo>
<Price>3.1</Price>
</Item>
<Item>
<ItemName>sample string 2</ItemName>
<ItemNo>1</ItemNo>
<Price>3.1</Price>
</Item>
</ArrayOfItem>