GET api/Campaign/List?brandId={brandId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
brandId | globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of CampaignName | Description | Type | Additional information |
---|---|---|---|
AffiliateId | globally unique identifier |
None. |
|
AffiliateTypeId | globally unique identifier |
None. |
|
Enabled | boolean |
None. |
|
Id | globally unique identifier |
None. |
|
Name | string |
None. |
|
ShowAffiliateSelector | boolean |
None. |
Response Formats
application/json, text/json
Sample:
[ { "AffiliateId": "6567c495-3373-425a-b358-9820961c6175", "AffiliateTypeId": "a05accfb-f6de-480a-a389-bdfb0c014d03", "Enabled": true, "Id": "59663491-1c15-47d6-bde2-5bee153e972b", "Name": "sample string 3", "ShowAffiliateSelector": false }, { "AffiliateId": "6567c495-3373-425a-b358-9820961c6175", "AffiliateTypeId": "a05accfb-f6de-480a-a389-bdfb0c014d03", "Enabled": true, "Id": "59663491-1c15-47d6-bde2-5bee153e972b", "Name": "sample string 3", "ShowAffiliateSelector": false } ]
application/xml, text/xml
Sample:
<ArrayOfCampaign xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tss.Eitr.Customer.Agria.WebApi.Models"> <Campaign> <AffiliateId>6567c495-3373-425a-b358-9820961c6175</AffiliateId> <AffiliateTypeId>a05accfb-f6de-480a-a389-bdfb0c014d03</AffiliateTypeId> <Enabled>true</Enabled> <Id>59663491-1c15-47d6-bde2-5bee153e972b</Id> <Name>sample string 3</Name> </Campaign> <Campaign> <AffiliateId>6567c495-3373-425a-b358-9820961c6175</AffiliateId> <AffiliateTypeId>a05accfb-f6de-480a-a389-bdfb0c014d03</AffiliateTypeId> <Enabled>true</Enabled> <Id>59663491-1c15-47d6-bde2-5bee153e972b</Id> <Name>sample string 3</Name> </Campaign> </ArrayOfCampaign>