PUT Dishes/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
Dish| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| UserId | string |
None. |
|
| Name | string |
Required |
|
| Course | string |
None. |
|
| IsSpecial | boolean |
None. |
|
| Rating | integer |
None. |
|
| Notes | string |
None. |
|
| Picture | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"UserId": "sample string 2",
"Name": "sample string 3",
"Course": "sample string 4",
"IsSpecial": true,
"Rating": 6,
"Notes": "sample string 7",
"Picture": "sample string 8"
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.