GET api/userbadges/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

userbadge
NameDescriptionTypeAdditional information
id

integer

None.

userId

string

None.

badgeId

integer

None.

tStamp

date

None.

Response Formats

application/json, text/json

Sample:
{
  "id": 1,
  "userId": "sample string 2",
  "badgeId": 3,
  "tStamp": "2025-12-18T07:19:52.269729+02:00"
}

application/xml, text/xml

Sample:
<userbadge xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/waytoodankapi.Models">
  <badgeId>3</badgeId>
  <id>1</id>
  <tStamp>2025-12-18T07:19:52.269729+02:00</tStamp>
  <userId>sample string 2</userId>
</userbadge>