EventSpotService PostPromocode Method CTCT Wrapper Documented Class Library
Create a new promo code for an event

Namespace: CTCT.Services
Assembly: CTCT (in CTCT.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax

public Promocode PostPromocode(
	string accessToken,
	string apiKey,
	string eventId,
	Promocode 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
promocode
Type: CTCT.Components.EventSpot Promocode
Promocode object to be created

Return Value

The newly created Promocode

Implements

IEventSpotService PostPromocode(String, String, String, Promocode)
See Also