Retrieve all existing promo codes for an event
Namespace: CTCT.ServicesAssembly: CTCT (in CTCT.dll) Version: 2.0.0.0 (2.0.0.0)
public List<Promocode> GetAllPromocodes(
string accessToken,
string apiKey,
string eventId
)
public List<Promocode> GetAllPromocodes(
string accessToken,
string apiKey,
string eventId
)
Public Function GetAllPromocodes ( _
accessToken As String, _
apiKey As String, _
eventId As String _
) As List(Of Promocode)
Public Function GetAllPromocodes ( _
accessToken As String, _
apiKey As String, _
eventId As String _
) As List(Of Promocode)
public:
virtual List<Promocode^>^ GetAllPromocodes(
String^ accessToken,
String^ apiKey,
String^ eventId
) sealed
public:
virtual List<Promocode^>^ GetAllPromocodes(
String^ accessToken,
String^ apiKey,
String^ eventId
) sealed
abstract GetAllPromocodes :
accessToken : string *
apiKey : string *
eventId : string -> List<Promocode>
override GetAllPromocodes :
accessToken : string *
apiKey : string *
eventId : string -> List<Promocode>
abstract GetAllPromocodes :
accessToken : string *
apiKey : string *
eventId : string -> List<Promocode>
override GetAllPromocodes :
accessToken : string *
apiKey : string *
eventId : string -> List<Promocode>
Parameters
- accessToken
- Type: System String
Constant Contact OAuth2 access token
- apiKey
- Type: System String
The API key for the application
- eventId
- Type: System String
Event id
Return Value
A list of Promocode
Implements
IEventSpotService GetAllPromocodes(String, String, String)