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 Campaign| Name | 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": "ac52a8ac-bea1-4043-9347-0632f433c935",
"AffiliateTypeId": "c73441c4-2218-40c4-84fb-a0aab941ce40",
"Enabled": true,
"Id": "b914cc61-943e-4a1a-b4a2-6eaa1d359ff9",
"Name": "sample string 3",
"ShowAffiliateSelector": false
},
{
"AffiliateId": "ac52a8ac-bea1-4043-9347-0632f433c935",
"AffiliateTypeId": "c73441c4-2218-40c4-84fb-a0aab941ce40",
"Enabled": true,
"Id": "b914cc61-943e-4a1a-b4a2-6eaa1d359ff9",
"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>ac52a8ac-bea1-4043-9347-0632f433c935</AffiliateId>
<AffiliateTypeId>c73441c4-2218-40c4-84fb-a0aab941ce40</AffiliateTypeId>
<Enabled>true</Enabled>
<Id>b914cc61-943e-4a1a-b4a2-6eaa1d359ff9</Id>
<Name>sample string 3</Name>
</Campaign>
<Campaign>
<AffiliateId>ac52a8ac-bea1-4043-9347-0632f433c935</AffiliateId>
<AffiliateTypeId>c73441c4-2218-40c4-84fb-a0aab941ce40</AffiliateTypeId>
<Enabled>true</Enabled>
<Id>b914cc61-943e-4a1a-b4a2-6eaa1d359ff9</Id>
<Name>sample string 3</Name>
</Campaign>
</ArrayOfCampaign>