Click or drag to resize
Infosoft Logo

InfoWebXMLWebServiceGetCampaigns Method

Returns all of the campaigncodes for a title. It will return all campaigns that are active on the supplied date. If no date is set, it will use todays date.

Namespace: Infosoft.Webservices
Assembly: Infosoft.Webservices (in Infosoft.Webservices.dll) Version: 4.00.0.0
Syntax
public InfoWebCampaignCode[] GetCampaigns(
	string titleCode,
	DateTime? ondate
)

Parameters

titleCode  String
The code for the susbcription title
ondate  NullableDateTime
Ondate - it will only be returned campaigns that are active on this date. If no date is supplied it will be set to todays date.

Return Value

InfoWebCampaignCode
A collection of InfoWebCampaignCode objects, if no campaign was found it returns an empty collection.
See Also