POST api/PromoCode/AddRemovePromoCodesFromAffiliate
Request Information
URI Parameters
None.
Body Parameters
AddRemovePromoCodesFromAffiliateRquestVMName | Description | Type | Additional information |
---|---|---|---|
AffiliateId | string |
Required |
|
AddAction | boolean |
Required |
|
PromoCodeIds | Collection of string |
Required |
|
AdminUserId | string |
Required |
Request Formats
application/json, text/json
Sample:
{ "AffiliateId": "sample string 1", "AddAction": true, "PromoCodeIds": [ "sample string 1", "sample string 2" ], "AdminUserId": "sample string 3" }
application/xml, text/xml
Sample:
<AddRemovePromoCodesFromAffiliateRquestVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MindMe.Business.Service.Services.RequestViewModels.IncentivesAndPromos"> <AddAction>true</AddAction> <AdminUserId>sample string 3</AdminUserId> <AffiliateId>sample string 1</AffiliateId> <PromoCodeIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </PromoCodeIds> </AddRemovePromoCodesFromAffiliateRquestVM>
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.