PUT api/Offer/UpdateFavoriteOffer
Request Information
URI Parameters
None.
Body Parameters
FavoriteOfferViewModelName | Description | Type | Additional information |
---|---|---|---|
AccountId | string |
Required |
|
OfferId | string |
Required |
|
IsFavorite | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "AccountId": "sample string 1", "OfferId": "sample string 2", "IsFavorite": true }
application/xml, text/xml
Sample:
<FavoriteOfferViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models.ServiceModel.Offer"> <AccountId>sample string 1</AccountId> <IsFavorite>true</IsFavorite> <OfferId>sample string 2</OfferId> </FavoriteOfferViewModel>
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.