GET api/Campaign/GetCampaigns?Search={Search}&Enabled={Enabled}&Type={Type}
Get campaigns
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| Search |
Search value |
string |
None. |
| Enabled |
Filter on Enabled status |
boolean |
None. |
| Type |
Filter on Type |
Types |
None. |
Body Parameters
None.
Response Information
Resource Description
List of campaigns
ResponseOfListOfCampaign| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | Collection of Campaign |
None. |
|
| Result | boolean |
None. |
|
| Message | string |
None. |
|
| Errors | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"Data": [
{
"$id": "2",
"Code": "sample string 1",
"Enabled": true,
"ExtraWithdrawalDays": 3,
"Id": 4,
"Name": "sample string 5",
"PackageVillaInvoice1Value": 6.1,
"PackageVillaInvoice2Value": 7.1,
"PackageApartmentInvoice1Value": 8.1,
"PackageApartmentInvoice2Value": 9.1,
"PackageCabinInvoice1Value": 10.1,
"PackageCabinInvoice2Value": 11.1,
"PackageGarageInvoice1Value": 12.1,
"PackageGarageInvoice2Value": 13.1,
"PackageTrailerInvoice1Value": 14.1,
"PackageTrailerInvoice2Value": 15.1,
"PackageCompanyInvoice1Value": 16.1,
"PackageCompanyInvoice2Value": 17.1,
"Type": 0
},
{
"$ref": "2"
}
],
"Result": true,
"Message": "sample string 2",
"Errors": {
"$id": "3"
}
}