GET api/Leads/GetCampaignList
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of Campaign| Name | Description | Type | Additional information |
|---|---|---|---|
| Campaign_code | integer |
None. |
|
| Campaign_name | string |
Required String length: inclusive between 0 and 50 |
|
| From_date | date |
None. |
|
| To_date | date |
None. |
|
| Cost | decimal number |
Range: inclusive between 0 and 99999999999.99 |
|
| Remark | string |
String length: inclusive between 0 and 200 |
|
| Interface_code | string |
String length: inclusive between 0 and 10 |
|
| Active | string |
Matching regular expression pattern: ^[yn]{1}$ String length: inclusive between 0 and 1 |
Response Formats
application/json, text/json
Sample:
[
{
"Campaign_code": 1,
"Campaign_name": "sample string 2",
"From_date": "2026-04-17T14:29:58.3040473+03:00",
"To_date": "2026-04-17T14:29:58.3040473+03:00",
"Cost": 1.0,
"Remark": "sample string 3",
"Interface_code": "sample string 4",
"Active": "sample string 5"
},
{
"Campaign_code": 1,
"Campaign_name": "sample string 2",
"From_date": "2026-04-17T14:29:58.3040473+03:00",
"To_date": "2026-04-17T14:29:58.3040473+03:00",
"Cost": 1.0,
"Remark": "sample string 3",
"Interface_code": "sample string 4",
"Active": "sample string 5"
}
]
application/xml, text/xml
Sample:
<ArrayOfCampaign xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustDemog">
<Campaign>
<Active>sample string 5</Active>
<Campaign_code>1</Campaign_code>
<Campaign_name>sample string 2</Campaign_name>
<Cost>1</Cost>
<From_date>2026-04-17T14:29:58.3040473+03:00</From_date>
<Interface_code>sample string 4</Interface_code>
<Remark>sample string 3</Remark>
<To_date>2026-04-17T14:29:58.3040473+03:00</To_date>
</Campaign>
<Campaign>
<Active>sample string 5</Active>
<Campaign_code>1</Campaign_code>
<Campaign_name>sample string 2</Campaign_name>
<Cost>1</Cost>
<From_date>2026-04-17T14:29:58.3040473+03:00</From_date>
<Interface_code>sample string 4</Interface_code>
<Remark>sample string 3</Remark>
<To_date>2026-04-17T14:29:58.3040473+03:00</To_date>
</Campaign>
</ArrayOfCampaign>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.