API Reference

Get challenge wise total points by userId

This API is used to get total points by userId for a specific challenge within the specified event.
It will return data like firstName, lastName, title, userChallengePointMap, userId etc.
To call this API, a user has to pass eventUrl as a query param with an authentication key to authenticate the user.

Response

Here is the description of response attributes, which returns to the form of JSON.

AttributeDescription
firstName Contains the first name of the user. Only 50 characters are allowed in the irstName.
lastName Contains the last name of the user. Only 50 characters are allowed in the last name.
title Contains the title of the challenge
userChallengePointMap This will return the list of challenge points by user.
userId This is the unique id for each user.

Error Code

Here are the possible error messages, which return if any condition gets failed or required data is missing for processing.

Error CodeError Description
400The request could not be understood by the server due to malformed syntax.
401You are not authorized to view the resource.
403Accessing the resource you were trying to reach is forbidden.
404The resource you were trying to reach is not found.
40600013Cannot create url
4040200No event could be found
Language
Credentials
Header
Click Try It! to start a request and see the response here!