POST api/KDCA/RestaurantUpdate
Request Information
URI Parameters
None.
Body Parameters
RestaurantBackName | Description | Type | Additional information |
---|---|---|---|
id | string |
None. |
|
name | string |
None. |
|
idClient | string |
None. |
|
isSms | boolean |
None. |
|
platformType | string |
None. |
|
diners | string |
None. |
|
agent | string |
None. |
|
sms | RestaurantDataSms |
None. |
|
platform | RestaurantDataPlatform |
None. |
Request Formats
application/json, text/json
Sample:
{ "id": "sample string 1", "name": "sample string 2", "idClient": "sample string 3", "isSms": true, "platformType": "sample string 5", "diners": "sample string 6", "agent": "sample string 7", "sms": { "idClientSms": "sample string 1", "keySms": "sample string 2", "senderSms": "sample string 3", "textSms": "sample string 4", "routeSms": "sample string 5", "alfhabetSms": "sample string 6" }, "platform": { "id": "sample string 1", "apikey": "sample string 2", "host": "sample string 3" } }
application/xml, text/xml
Sample:
<RestaurantBack xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KDCA.Model"> <agent>sample string 7</agent> <diners>sample string 6</diners> <id>sample string 1</id> <idClient>sample string 3</idClient> <isSms>true</isSms> <name>sample string 2</name> <platform> <apikey>sample string 2</apikey> <host>sample string 3</host> <id>sample string 1</id> </platform> <platformType>sample string 5</platformType> <sms> <alfhabetSms>sample string 6</alfhabetSms> <idClientSms>sample string 1</idClientSms> <keySms>sample string 2</keySms> <routeSms>sample string 5</routeSms> <senderSms>sample string 3</senderSms> <textSms>sample string 4</textSms> </sms> </RestaurantBack>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |