POST api/closeRestaurant
Request Information
URI Parameters
None.
Body Parameters
CloseRestaurantRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| AppSecretKey | string |
None. |
|
| RestaurantSecretKey | string |
None. |
|
| TimeOffAmount | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"AppSecretKey": "sample string 1",
"RestaurantSecretKey": "sample string 2",
"TimeOffAmount": 1
}
application/xml, text/xml
Sample:
<OrderController.CloseRestaurantRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GetirAPI.Controllers"> <AppSecretKey>sample string 1</AppSecretKey> <RestaurantSecretKey>sample string 2</RestaurantSecretKey> <TimeOffAmount>1</TimeOffAmount> </OrderController.CloseRestaurantRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.