ShowGiveaway Node
ShowGiveaway Node
This node contains show-level giveaway entries for the show. These nodes are contained within a ShowGiveaways container node.
Example:
<ShowGiveaway GiveawayKey="6309" Title="52 inch Big Screen TV" FromDateTime="2008-21-31 00:00:00" ToDateTime="2008-12-31 23:59:00" Active="1" QualifyingPointValue="10000" WinnerComputationMethod="Random Drawing" WinnerMaxCount="1" />
Calling the API
The API is called via a secure HTTPS request. This HTTPS request may be a GET or POST operation. Each request must supply the authentication credentials assigned to the caller by Notified. Only requests with valid credentials will be processed. These credentials identify the caller and provide access only to a specific customer area.
The format of the call :https://api.onlinexperiences.com/scripts/Server.nxp?LASCmd=AI:4;F:APIUTILS!50565&APIUserAuthCode={YourAuthCode}&APIUserCredentials={YourCredentials}&ShowKey={ShowKey}&InfoTypeFilter={filter code list, in |OPTION|OPTION| format…}
Note: The format of the APAC Data Center is: https://api.apac.onlinexperiences.com.
Specific parameter ordering is unimportant, with the only restriction being that the first parameter MUST BE LASCmd=AI:4;F:APIUTILS!50565. All other parameters may appear in any sequence order.
Attribute |
Type |
Comment |
---|---|---|
GiveawayKey |
Integer |
Notified giveaway key for this giveaway. |
Title |
String |
Title of the giveaway. |
FromDateTime |
Date |
Effective starting date and time for this giveaway. |
ToDateTime |
Date |
Effective ending date and time for this giveaway. |
Active |
Flag (0/1) |
Flag indicating whether this giveaway is active. |
QualifyingPointValue |
Integer |
The number of points needed to qualify for winning this giveaway. |
WinnerComputationMethod |
Integer |
The method by which winners are selected. Values are Random Drawing, Everyone At Point Value, or Manual Selection. |
WinnerMaxCount |
Integer |
The maximum number of winners to be selected. |