GET api/Location/GetAll
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of ItemTypeModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| ItemName | string |
None. |
|
| ItemCode | integer |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"ID": 1,
"ItemName": "sample string 2",
"ItemCode": 3
},
{
"ID": 1,
"ItemName": "sample string 2",
"ItemCode": 3
}
]
text/xml
Sample:
<ArrayOfItemTypeModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PanaWebService.MyModel">
<ItemTypeModel>
<ID>1</ID>
<ItemCode>3</ItemCode>
<ItemName>sample string 2</ItemName>
</ItemTypeModel>
<ItemTypeModel>
<ID>1</ID>
<ItemCode>3</ItemCode>
<ItemName>sample string 2</ItemName>
</ItemTypeModel>
</ArrayOfItemTypeModel>