This API is used to update challenge details using the event challenge ID.
This API can be used by admins and super admins to update challenge details. User can use this api to update challenge detail related to it like area, name, description, startDate, endDate, action, startDateUtc, endDateUtc, eventChallengeId, gamificationTabDisabled and other details.
To call this API, users have to pass query parameters with API URL like challenge details, eventChallengeDetailId and authentication key to authenticate user.
This API is used at the host side.
Here is the description of response attributes, which returns to the form of JSON.
Attribute | Description |
---|---|
type | This field returns type of message like success or error. |
message | This field returns a message description. |
Here is the possible error messages, which return if any condition gets failed or required data is missing for processing.
Error code | Error Description |
---|---|
400 | The request could not be understood by the server due to malformed syntax. |
401 | You are not authorized to view the resource. |
403 | Accessing the resource you were trying to reach is forbidden. |
404 | The resource you were trying to reach is not found. |