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": "7f8d22ef-01cd-4fbf-b0e5-92f335e8a6d1", "AffiliateTypeId": "d4f480d3-2ff2-412c-966a-3c1a68503e83", "Enabled": true, "Id": "7badf4b8-24f0-43db-b15f-df7aba1847c5", "Name": "sample string 3", "ShowAffiliateSelector": false }, { "AffiliateId": "7f8d22ef-01cd-4fbf-b0e5-92f335e8a6d1", "AffiliateTypeId": "d4f480d3-2ff2-412c-966a-3c1a68503e83", "Enabled": true, "Id": "7badf4b8-24f0-43db-b15f-df7aba1847c5", "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>7f8d22ef-01cd-4fbf-b0e5-92f335e8a6d1</AffiliateId> <AffiliateTypeId>d4f480d3-2ff2-412c-966a-3c1a68503e83</AffiliateTypeId> <Enabled>true</Enabled> <Id>7badf4b8-24f0-43db-b15f-df7aba1847c5</Id> <Name>sample string 3</Name> </Campaign> <Campaign> <AffiliateId>7f8d22ef-01cd-4fbf-b0e5-92f335e8a6d1</AffiliateId> <AffiliateTypeId>d4f480d3-2ff2-412c-966a-3c1a68503e83</AffiliateTypeId> <Enabled>true</Enabled> <Id>7badf4b8-24f0-43db-b15f-df7aba1847c5</Id> <Name>sample string 3</Name> </Campaign> </ArrayOfCampaign>