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": "3d2ce280-4861-41a0-b0f8-e7eed9c5ba6f",
"AffiliateTypeId": "ebc12231-f38e-4ff2-a029-ef27cf68e874",
"Enabled": true,
"Id": "9522a8b0-de7f-4f69-ba55-68f5772fa579",
"Name": "sample string 3",
"ShowAffiliateSelector": false
},
{
"AffiliateId": "3d2ce280-4861-41a0-b0f8-e7eed9c5ba6f",
"AffiliateTypeId": "ebc12231-f38e-4ff2-a029-ef27cf68e874",
"Enabled": true,
"Id": "9522a8b0-de7f-4f69-ba55-68f5772fa579",
"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>3d2ce280-4861-41a0-b0f8-e7eed9c5ba6f</AffiliateId>
<AffiliateTypeId>ebc12231-f38e-4ff2-a029-ef27cf68e874</AffiliateTypeId>
<Enabled>true</Enabled>
<Id>9522a8b0-de7f-4f69-ba55-68f5772fa579</Id>
<Name>sample string 3</Name>
</Campaign>
<Campaign>
<AffiliateId>3d2ce280-4861-41a0-b0f8-e7eed9c5ba6f</AffiliateId>
<AffiliateTypeId>ebc12231-f38e-4ff2-a029-ef27cf68e874</AffiliateTypeId>
<Enabled>true</Enabled>
<Id>9522a8b0-de7f-4f69-ba55-68f5772fa579</Id>
<Name>sample string 3</Name>
</Campaign>
</ArrayOfCampaign>