PUT api/content/v4/getloyaltybadges
Request Information
URI Parameters
None.
Body Parameters
APIUserDetailsRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| CustomerId | integer |
None. |
|
| UniqueId | globally unique identifier |
None. |
|
| UserUniqueId | integer |
None. |
|
| ProgramId | integer |
None. |
|
| DetailType | integer |
None. |
|
| PageNumber | integer |
None. |
|
| SectionId | integer |
None. |
|
| LanguageId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"CustomerId": 1,
"UniqueId": "08090925-bc3c-4f3d-a957-7ee8242dcb4f",
"UserUniqueId": 3,
"ProgramId": 4,
"DetailType": 5,
"PageNumber": 6,
"SectionId": 7,
"LanguageId": 8
}
application/xml, text/xml
Sample:
<APIUserDetailsRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tsunami.Model"> <CustomerId>1</CustomerId> <DetailType>5</DetailType> <LanguageId>8</LanguageId> <PageNumber>6</PageNumber> <ProgramId>4</ProgramId> <SectionId>7</SectionId> <UniqueId>08090925-bc3c-4f3d-a957-7ee8242dcb4f</UniqueId> <UserUniqueId>3</UserUniqueId> </APIUserDetailsRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
APICommonWrapperOfAPIBadgeResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Status | HttpStatusCode |
None. |
|
| Message | string |
None. |
|
| Data | APIBadgeResponse |
None. |
Response Formats
application/json, text/json
Sample:
{
"Status": 100,
"Message": "sample string 1",
"Data": {
"List": [
{
"Id": 1,
"Title": "sample string 2",
"BadgeType": "sample string 3",
"PointRequire": 4,
"Image": "sample string 5",
"Description": "sample string 6",
"BadgeEarnedDate": "2026-01-16T04:33:17.6357799+00:00",
"IsBadgeEarned": true,
"SuccessMessage": "sample string 8",
"EarnedPoints": 9
},
{
"Id": 1,
"Title": "sample string 2",
"BadgeType": "sample string 3",
"PointRequire": 4,
"Image": "sample string 5",
"Description": "sample string 6",
"BadgeEarnedDate": "2026-01-16T04:33:17.6357799+00:00",
"IsBadgeEarned": true,
"SuccessMessage": "sample string 8",
"EarnedPoints": 9
}
],
"NumberOfYears": 1
}
}
application/xml, text/xml
Sample:
<APICommonWrapperOfAPIBadgeResponseZdSfSp5S xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tsunami.Model">
<Data>
<List>
<BadgeLists>
<BadgeEarnedDate>2026-01-16T04:33:17.6357799+00:00</BadgeEarnedDate>
<BadgeType>sample string 3</BadgeType>
<Description>sample string 6</Description>
<EarnedPoints>9</EarnedPoints>
<Id>1</Id>
<Image>sample string 5</Image>
<IsBadgeEarned>true</IsBadgeEarned>
<PointRequire>4</PointRequire>
<SuccessMessage>sample string 8</SuccessMessage>
<Title>sample string 2</Title>
</BadgeLists>
<BadgeLists>
<BadgeEarnedDate>2026-01-16T04:33:17.6357799+00:00</BadgeEarnedDate>
<BadgeType>sample string 3</BadgeType>
<Description>sample string 6</Description>
<EarnedPoints>9</EarnedPoints>
<Id>1</Id>
<Image>sample string 5</Image>
<IsBadgeEarned>true</IsBadgeEarned>
<PointRequire>4</PointRequire>
<SuccessMessage>sample string 8</SuccessMessage>
<Title>sample string 2</Title>
</BadgeLists>
</List>
<NumberOfYears>1</NumberOfYears>
</Data>
<Message>sample string 1</Message>
<Status>Continue</Status>
</APICommonWrapperOfAPIBadgeResponseZdSfSp5S>