Info Value
Updated on 18 September 2018
Response format JSON
HTTP Methods POST
Response object Event Criteria Save
API Version 1.0

Event/Criteria/Save

Create or update an event criteria.

Parameters

If an event_criteria_id is specified, that criteria will be updated. If not, then the criteria will be created.

Parameter Type Description
event_criteria_id
(optional)
integer The ID of the criteria
event_id
(optional)
integer The ID of the event
entry_cost
(optional)
integer The cost to enter the event
entry_currency_id
(optional)
integer The ID of the currency paid to enter the event
country_id
(optional)
integer The ID of the country the user must be in to enter
platform_id
(optional)
integer The ID of the platform required to enter the event
rank
(optional)
integer The minimum user rank required to enter the event
level
(optional)
integer The minimum level required to enter the event
deleted
(optional)
boolean Whether the event is marked as deleted

Response

Element Type Description
event_criteria_id integer The ID of the event criteria saved
success boolean Whether the operation succeeded

Example

Request

https://api.miniclip.com/json/?app_id=##&secret=##&signature=##&method=Event/Criteria/Save&event_criteria_id=##&entry_cost=##

Sample response

{
	"event_criteria_id" : 123,
	"success" : true
}