Challenges

This to update challenge behaviour based on challenge id

Changed on
put/api/v1/Challenges/{id}/behaviour

Request

  • Base URL
    https://api.gameball.co (the document declares no server; this is the origin it was published from)
  • Auth
    none declared. Required headers: APIKey

Path parameters

id, integer required

Headers

Authorization, string
lang, string
APIKey, string required
SecretKey, string

Request body

GameBallBLLViewModelsChallengeBehaviourViewModel required
isDeleted, boolean
creationDate, string date-time nullable
lastUpdate, string date-time nullable
id, integer
gameName, string nullable
name, string required
description, string nullable
rewardFrubies, integer nullable
rewardPoints, integer nullable
fixedIntervalDays, integer nullable
bonusEvery, integer nullable
iconId, integer nullable
icon, GameBallBLLViewModelsIconViewModel
activationLevel, integer nullable
level, GameBallBLLViewModelsLevelViewModel
activationFrubes, integer nullable
actionFrubes, integer nullable
actionRewardFrubiesFlag, boolean
isUnlockNotificationsOn, boolean nullable
isAchivedNotificationsOn, boolean nullable
isAchivedEmailsOn, boolean nullable
isAchivedSMSOn, boolean nullable
isSuccessfulActionNotificationsOn, boolean nullable
numberOfExecution, integer nullable
isReadOnly, boolean
visibility, 1 | 2 | 3
validateVisibility, 1 | 2 | 3
behaviorTypeId, integer nullable
behaviorType, GameBallBLLViewModelsBehaviorTypesViewModel
enumBehaviorType, 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37
timeIntervalTypeId, 1 | 2 | 3 | 4 | 5 | 6
intervalLimit, integer
weekStartDay, 0 | 1 | 2 | 3 | 4 | 5 | 6
activationCriteriaTypeId, 1 | 2 | 3 | 4
isUnlimitedOccurance, boolean
occurance, integer
occuranceValidator, integer nullable
startDate, string date-time nullable
validateStartDate, string date-time nullable
endDate, string date-time nullable
validateEndDate, string date-time nullable
scheduledDate, string date-time nullable
socialAction, string nullable
socialPlatform, string nullable
socialShareUrl, string nullable
redirectionUrl, string nullable
locals, GameBallBLLViewModelsChallengeBehaviourLocalViewModel[] nullable
isPopup, boolean
validateIsPopup, boolean nullable
configurations, GameBallCommonModelChallengeConfigurationsChallengeConfigurations
challengeSchedule, GameBallCommonModelChallengeChallengeSchedule
eventTimeWindow, integer nullable

Response

OK

GameBallCommonProcessResultProcessResultViewModel1GameBallBLLViewModelsChallengeBehaviourViewModel required
isSucceeded, boolean
methodName, string nullable
status, GameBallCommonProcessResultProcessResultStatus
data, GameBallBLLViewModelsChallengeBehaviourViewModel

Changes

    • warning

      added the new 63.00 enum value to the status/code response property for the response status (media type: text/plain)

    • warning

      added the new 63.00 enum value to the status/code response property for the response status (media type: application/json)

    • warning

      added the new 63.00 enum value to the status/code response property for the response status (media type: text/json)