Badge
For internal use only.
The login token
The outcome code
Success
Base response.
Progressive number of the request (since the Server started). Use this number, together with the RequestDateTime property, to report an anomalous reponse.
Timestamp of the request. Use this timestamp, together with the RequestID property, to report an anomalous reponse.
Result code. A code of 0 means no errors.
When the request fails, its value is indicative of the actual
error.
Result message. A message of Ok means no errors.
POST /api/v2/Outcome/{strToken}/{outcomeCode} HTTP/1.1
Accept: */*
Success
{
"requestID": 1,
"requestDateTime": "2026-01-01T00:00:00.000Z",
"resultCode": 1,
"resultMessage": "text"
}For internal use only.
Success
Base response.
Progressive number of the request (since the Server started). Use this number, together with the RequestDateTime property, to report an anomalous reponse.
Timestamp of the request. Use this timestamp, together with the RequestID property, to report an anomalous reponse.
Result code. A code of 0 means no errors.
When the request fails, its value is indicative of the actual
error.
Result message. A message of Ok means no errors.
POST /api/v2/BadgeAssignment HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 51
{
"refId": "text",
"outcome": "text",
"badgeUrl": "text"
}Success
{
"requestID": 1,
"requestDateTime": "2026-01-01T00:00:00.000Z",
"resultCode": 1,
"resultMessage": "text"
}The login token
Success
Response of a List Badges request.
Progressive number of the request (since the Server started). Use this number, together with the RequestDateTime property, to report an anomalous reponse.
Timestamp of the request. Use this timestamp, together with the RequestID property, to report an anomalous reponse.
Result code. A code of 0 means no errors.
When the request fails, its value is indicative of the actual
error.
Result message. A message of Ok means no errors.
GET /api/v2/Badges/{strToken} HTTP/1.1
Accept: */*
Success
{
"badges": [
{
"badgeID": "text",
"date": "2026-01-01T00:00:00.000Z",
"name": "text",
"description": "text",
"imageURL": "text",
"tags": [
"text"
],
"issuerName": "text",
"issuerDescription": "text",
"issuerEmail": "text",
"issuerURL": "text"
}
],
"requestID": 1,
"requestDateTime": "2026-01-01T00:00:00.000Z",
"resultCode": 1,
"resultMessage": "text"
}The login token
The ID of the Badge object
Success
Response of a Get Badge request.
Progressive number of the request (since the Server started). Use this number, together with the RequestDateTime property, to report an anomalous reponse.
Timestamp of the request. Use this timestamp, together with the RequestID property, to report an anomalous reponse.
Result code. A code of 0 means no errors.
When the request fails, its value is indicative of the actual
error.
Result message. A message of Ok means no errors.
GET /api/v2/Badge/{strToken}/{strBadgeID} HTTP/1.1
Accept: */*
Success
{
"badge": {
"badgeID": "text",
"date": "2026-01-01T00:00:00.000Z",
"name": "text",
"description": "text",
"imageURL": "text",
"tags": [
"text"
],
"issuerName": "text",
"issuerDescription": "text",
"issuerEmail": "text",
"issuerURL": "text"
},
"requestID": 1,
"requestDateTime": "2026-01-01T00:00:00.000Z",
"resultCode": 1,
"resultMessage": "text"
}Last updated