PUT UpdateIsClaimed

{baseurl}/api/v1/Integration/UpdateIsClaimed?UserId={UserId}&ChallengeId={Id}

Overview

The UpdateIsClaimed API endpoint is designed to update the status of a milestone associated with a specific challenge, marking it as "claimed" for a user.


Request

Header Parameters

AttributeTypeOptionsDescription

X-ClientId

string
Required

Provided Client Id.

X-Message

string
Required

Provided encrypted message.

Accept-language

string
Optional

Selected language for response.

X-ClientId and X-Message are only required with V1 API.

Query Parameters

PropertyTypeOptionsDescription

UserId

string
Required

The phone number of the user who has completed the challenge.

ChallengeId

int
Required

The ID of the challenge to which the milestone belongs.

Request Example

PUT /api/v1/Integration/UpdateIsClaimed?UserId=01010123422&ChallengeId=302

Response

A successful response indicates that the state has been changed.

Body Sample

Success respone
{
  "result": true,
  "message": "Process completed successfully",
  "statusCode": 1,
  "statusName": "Successfully"
}

Last updated