POST User/SpecialBadges

Request Information

URI Parameters

None.

Body Parameters

RequestUserSpecialBadges
NameDescriptionTypeAdditional information
LoginID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "LoginID": 1
}

text/html

Sample:
{"LoginID":1}

application/xml, text/xml

Sample:
<RequestUserSpecialBadges xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RequestModels">
  <LoginID>1</LoginID>
</RequestUserSpecialBadges>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'RequestUserSpecialBadges'.

Response Information

Resource Description

UserSpecialBadges
NameDescriptionTypeAdditional information
LastEarned

date

None.

Badges

Collection of UserSpecialBadgesBadge

None.

Response Formats

application/json, text/json

Sample:
{
  "LastEarned": "2025-12-06T05:13:56.3237532+01:00",
  "Badges": [
    {
      "Type": "sample string 1",
      "Text": "sample string 2",
      "ImageText": "sample string 3",
      "Percentage": 4,
      "Disabled": true,
      "DateCreated": "2025-12-06T05:13:56.3237532+01:00"
    },
    {
      "Type": "sample string 1",
      "Text": "sample string 2",
      "ImageText": "sample string 3",
      "Percentage": 4,
      "Disabled": true,
      "DateCreated": "2025-12-06T05:13:56.3237532+01:00"
    }
  ]
}

text/html

Sample:
{"LastEarned":"2025-12-06T05:13:56.3237532+01:00","Badges":[{"Type":"sample string 1","Text":"sample string 2","ImageText":"sample string 3","Percentage":4,"Disabled":true,"DateCreated":"2025-12-06T05:13:56.3237532+01:00"},{"Type":"sample string 1","Text":"sample string 2","ImageText":"sample string 3","Percentage":4,"Disabled":true,"DateCreated":"2025-12-06T05:13:56.3237532+01:00"}]}

application/xml, text/xml

Sample:
<UserSpecialBadges xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DBModels">
  <Badges>
    <UserSpecialBadgesBadge>
      <DateCreated>2025-12-06T05:13:56.3237532+01:00</DateCreated>
      <Disabled>true</Disabled>
      <ImageText>sample string 3</ImageText>
      <Percentage>4</Percentage>
      <Text>sample string 2</Text>
      <Type>sample string 1</Type>
    </UserSpecialBadgesBadge>
    <UserSpecialBadgesBadge>
      <DateCreated>2025-12-06T05:13:56.3237532+01:00</DateCreated>
      <Disabled>true</Disabled>
      <ImageText>sample string 3</ImageText>
      <Percentage>4</Percentage>
      <Text>sample string 2</Text>
      <Type>sample string 1</Type>
    </UserSpecialBadgesBadge>
  </Badges>
  <LastEarned>2025-12-06T05:13:56.3237532+01:00</LastEarned>
</UserSpecialBadges>