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

Attribute
Type
Options
Description

X-ClientId

string
Required

Provided Client Id.

X-Message

string
Required

Provided encrypted message.

Accept-language

string
Optional

Selected language for response.

Query Parameters

Property
Type
Options
Description

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