Retrieve all existing promo codes for an event
Namespace: CTCT.ServicesAssembly: CTCT (in CTCT.dll) Version: 2.0.0.0 (2.0.0.0)
List<Promocode> GetAllPromocodes(
string accessToken,
string apiKey,
string eventId
)
List<Promocode> GetAllPromocodes(
string accessToken,
string apiKey,
string eventId
)
Function GetAllPromocodes ( _
accessToken As String, _
apiKey As String, _
eventId As String _
) As List(Of Promocode)
Function GetAllPromocodes ( _
accessToken As String, _
apiKey As String, _
eventId As String _
) As List(Of Promocode)
List<Promocode^>^ GetAllPromocodes(
String^ accessToken,
String^ apiKey,
String^ eventId
)
List<Promocode^>^ GetAllPromocodes(
String^ accessToken,
String^ apiKey,
String^ eventId
)
abstract GetAllPromocodes :
accessToken : string *
apiKey : string *
eventId : string -> List<Promocode>
abstract 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