GET api/MobileApp/HomeApp/GetTopRestaurant
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of TopRestaurantModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | string |
None. |
|
| Name | string |
None. |
|
| Location | string |
None. |
|
| Image | string |
None. |
|
| MobileNo | string |
None. |
|
| RefrencePointID | integer |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"ID": "sample string 1",
"Name": "sample string 2",
"Location": "sample string 3",
"Image": "sample string 4",
"MobileNo": "sample string 5",
"RefrencePointID": 6
},
{
"ID": "sample string 1",
"Name": "sample string 2",
"Location": "sample string 3",
"Image": "sample string 4",
"MobileNo": "sample string 5",
"RefrencePointID": 6
}
]
application/xml, text/xml
Sample:
<ArrayOfTopRestaurantModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/General.Operations.CustomModels">
<TopRestaurantModel>
<ID>sample string 1</ID>
<Image>sample string 4</Image>
<Location>sample string 3</Location>
<MobileNo>sample string 5</MobileNo>
<Name>sample string 2</Name>
<RefrencePointID>6</RefrencePointID>
</TopRestaurantModel>
<TopRestaurantModel>
<ID>sample string 1</ID>
<Image>sample string 4</Image>
<Location>sample string 3</Location>
<MobileNo>sample string 5</MobileNo>
<Name>sample string 2</Name>
<RefrencePointID>6</RefrencePointID>
</TopRestaurantModel>
</ArrayOfTopRestaurantModel>