Campaigns
getAllActiveCampaigns
Get all active campaigns
Return List of ParsedCampaignListElement
local activeCampaigns = getAllActiveCampaigns()
getAllCampaigns
Get all campaigns
Return List of ParsedCampaignListElement
local campaigns = getAllCampaigns()
getAllRunningCampaigns
Get all running campaigns
Return List of ParsedCampaignListElement
local runningCampaigns = getAllRunningCampaigns()
getCampaignById
Get campaign by id
Arguments
- id:
int
the id of the campaign
Return ParsedCampaignListElement
local campaign = getCampaignById(campaignId)
getCompanyActiveCampaigns
Get company active campaigns
Arguments
- companyUuid:
UuidValue
the uuid of the company
Return List of ParsedCampaignListElement
local activeCampaigns = getCompanyActiveCampaigns(companyUuid)
getCompanyCampaigns
Get company campaigns
Arguments
- companyUuid:
UuidValue
the uuid of the company
Return List of ParsedCampaignListElement
local campaigns = getCompanyCampaigns(companyUuid)
getCompanyRunningCampaigns
Get company running campaigns
Arguments
- companyUuid:
UuidValue
the uuid of the company
Return List of ParsedCampaignListElement
local runningCampaigns = getCompanyRunningCampaigns(companyUuid)
Table
Function Name | Description | First Argument | Return |
---|---|---|---|
getAllActiveCampaigns | Get all active campaigns | List of ParsedCampaignListElement | |
getAllCampaigns | Get all campaigns | List of ParsedCampaignListElement | |
getAllRunningCampaigns | Get all running campaigns | List of ParsedCampaignListElement | |
getCampaignById | Get campaign by id | id: the id of the campaign | ParsedCampaignListElement |
getCompanyActiveCampaigns | Get company active campaigns | companyUuid: the uuid of the company | List of ParsedCampaignListElement |
getCompanyCampaigns | Get company campaigns | companyUuid: the uuid of the company | List of ParsedCampaignListElement |
getCompanyRunningCampaigns | Get company running campaigns | companyUuid: the uuid of the company | List of ParsedCampaignListElement |