GET Restaurants/ActiveRestaurants?companyId={companyId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| companyId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of RestaurantListItem| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| Name | string |
None. |
|
| Polygon | string |
None. |
|
| WorkingType | string |
None. |
|
| PickupTime | integer |
None. |
|
| Deleted | boolean |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"ID": 1,
"Name": "sample string 2",
"Polygon": "sample string 3",
"WorkingType": "sample string 4",
"PickupTime": 1,
"Deleted": true
},
{
"ID": 1,
"Name": "sample string 2",
"Polygon": "sample string 3",
"WorkingType": "sample string 4",
"PickupTime": 1,
"Deleted": true
}
]
application/xml, text/xml
Sample:
<ArrayOfRestaurant.RestaurantListItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HesapKuryeMobileAppApi.Models">
<Restaurant.RestaurantListItem>
<Deleted>true</Deleted>
<ID>1</ID>
<Name>sample string 2</Name>
<PickupTime>1</PickupTime>
<Polygon>sample string 3</Polygon>
<WorkingType>sample string 4</WorkingType>
</Restaurant.RestaurantListItem>
<Restaurant.RestaurantListItem>
<Deleted>true</Deleted>
<ID>1</ID>
<Name>sample string 2</Name>
<PickupTime>1</PickupTime>
<Polygon>sample string 3</Polygon>
<WorkingType>sample string 4</WorkingType>
</Restaurant.RestaurantListItem>
</ArrayOfRestaurant.RestaurantListItem>