PUT api/Offer/ApplyOfferUpdateAction
Request Information
URI Parameters
None.
Body Parameters
ApplyOfferUpdateActionsViewModelName | Description | Type | Additional information |
---|---|---|---|
AccountId | string |
None. |
|
OfferContactIds | Collection of string |
None. |
|
Action | OfferUpdateActionType |
None. |
|
ExtendDays | integer |
None. |
|
IncreaseBy | integer |
None. |
|
MaxRedemptionLimit | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "AccountId": "sample string 1", "OfferContactIds": [ "sample string 1", "sample string 2" ], "Action": "Cancel", "ExtendDays": 2, "IncreaseBy": 3, "MaxRedemptionLimit": 4 }
application/xml, text/xml
Sample:
<ApplyOfferUpdateActionsViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MindMe.Business.Service.Services.RequestViewModels"> <AccountId>sample string 1</AccountId> <Action>Cancel</Action> <ExtendDays>2</ExtendDays> <IncreaseBy>3</IncreaseBy> <MaxRedemptionLimit>4</MaxRedemptionLimit> <OfferContactIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </OfferContactIds> </ApplyOfferUpdateActionsViewModel>
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.