GET api/WebBanner/List?affiliateId={affiliateId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
affiliateId | globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of WebBannerName | Description | Type | Additional information |
---|---|---|---|
Description | string |
None. |
|
Discount | Discount |
None. |
|
EndDate | date |
None. |
|
CampaignId | globally unique identifier |
None. |
|
Url | string |
None. |
|
ImageHeight | integer |
None. |
|
ImageWidth | integer |
None. |
|
StartDate | date |
None. |
|
Title | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Description": "sample string 1", "Discount": { "Amount": 1.0, "ApplyAtEnd": true, "ApplyAtStart": true, "Code": "sample string 4", "Description": "sample string 5", "Id": "9deb590c-5973-4a10-adb0-9ed71235cb34", "IsPercentage": true, "Monthly": true, "NumberOfMonths": 9 }, "EndDate": "2025-09-13T03:22:11.5337996+01:00", "CampaignId": "af93f86d-d92b-479b-9f7b-9e82b60ad57a", "Url": "sample string 3", "ImageHeight": 4, "ImageWidth": 5, "StartDate": "2025-09-13T03:22:11.5337996+01:00", "Title": "sample string 6" }, { "Description": "sample string 1", "Discount": { "Amount": 1.0, "ApplyAtEnd": true, "ApplyAtStart": true, "Code": "sample string 4", "Description": "sample string 5", "Id": "9deb590c-5973-4a10-adb0-9ed71235cb34", "IsPercentage": true, "Monthly": true, "NumberOfMonths": 9 }, "EndDate": "2025-09-13T03:22:11.5337996+01:00", "CampaignId": "af93f86d-d92b-479b-9f7b-9e82b60ad57a", "Url": "sample string 3", "ImageHeight": 4, "ImageWidth": 5, "StartDate": "2025-09-13T03:22:11.5337996+01:00", "Title": "sample string 6" } ]
application/xml, text/xml
Sample:
<ArrayOfWebBanner xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tss.Eitr.Customer.Agria.WebApi.Models"> <WebBanner> <CampaignId>af93f86d-d92b-479b-9f7b-9e82b60ad57a</CampaignId> <Description>sample string 1</Description> <Discount> <Amount>1</Amount> <ApplyAtEnd>true</ApplyAtEnd> <ApplyAtStart>true</ApplyAtStart> <Code>sample string 4</Code> <Description>sample string 5</Description> <Id>9deb590c-5973-4a10-adb0-9ed71235cb34</Id> <IsPercentage>true</IsPercentage> <Monthly>true</Monthly> <NumberOfMonths>9</NumberOfMonths> </Discount> <EndDate>2025-09-13T03:22:11.5337996+01:00</EndDate> <ImageHeight>4</ImageHeight> <ImageWidth>5</ImageWidth> <StartDate>2025-09-13T03:22:11.5337996+01:00</StartDate> <Title>sample string 6</Title> <Url>sample string 3</Url> </WebBanner> <WebBanner> <CampaignId>af93f86d-d92b-479b-9f7b-9e82b60ad57a</CampaignId> <Description>sample string 1</Description> <Discount> <Amount>1</Amount> <ApplyAtEnd>true</ApplyAtEnd> <ApplyAtStart>true</ApplyAtStart> <Code>sample string 4</Code> <Description>sample string 5</Description> <Id>9deb590c-5973-4a10-adb0-9ed71235cb34</Id> <IsPercentage>true</IsPercentage> <Monthly>true</Monthly> <NumberOfMonths>9</NumberOfMonths> </Discount> <EndDate>2025-09-13T03:22:11.5337996+01:00</EndDate> <ImageHeight>4</ImageHeight> <ImageWidth>5</ImageWidth> <StartDate>2025-09-13T03:22:11.5337996+01:00</StartDate> <Title>sample string 6</Title> <Url>sample string 3</Url> </WebBanner> </ArrayOfWebBanner>