POST api/UserApi/AddWishlist
Request Information
URI Parameters
None.
Body Parameters
Wishlist| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| CustomerId | integer |
None. |
|
| RestaurantId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"CustomerId": 2,
"RestaurantId": 3
}
application/xml, text/xml
Sample:
<Wishlist xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CodeHive_Food_System.Models"> <CustomerId>2</CustomerId> <Id>1</Id> <RestaurantId>3</RestaurantId> </Wishlist>
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.