Download OpenAPI specification:
IOM - Internal API
Send a chat message.
| chatId required | integer <int64> |
| text required | string |
{- "resultCode": 0,
- "returnObject": {
- "id": 1,
- "text": "Hello",
- "sender": "Sender name",
- "senderId": 1,
- "creationDate": 1490598300000
}
}Retrieve all messages that were sent before a specific message.
| chatId required | integer <int64> Example: chatId=1 |
| lastReceivedId | integer <int64> Example: lastReceivedId=1 |
| offset | integer <int32> Example: offset=0 |
| limit | integer <int32> Example: limit=10 |
{- "resultCode": 0,
- "returnObject": [
- {
- "id": 1,
- "text": "Hello",
- "sender": "Sender name",
- "senderId": 1,
- "creationDate": 1490598300000
}
]
}Retrieve the messages for a specific chat since the last received message.
| ChatId required | integer <int64> Example: ChatId=1 |
| lastReceivedId | integer <int64> Example: lastReceivedId=1 |
| offset | integer <int32> Example: offset=0 |
| limit | integer <int32> Example: limit=10 |
{- "resultCode": 0,
- "returnObject": [
- {
- "id": 1,
- "text": "Hello",
- "sender": "Sender name",
- "senderId": 1,
- "creationDate": 1490598300000
}
]
}Create an account request.
| email required | string E-mail of participant |
| firstName required | string First name of participant |
| lastName required | string Last name of participant |
| salutation required | string Enum: "MISTER" "MISS" "NEUTRAL" |
| comment | string |
{- "resultCode": 0,
- "returnObject": null
}{- "id": 1,
- "firstName": "Beta",
- "lastName": "Tester",
- "email": "beta.tester@m-pulso.com",
- "salutation": "NEUTRAL",
- "academicTitlePrefix": "Dr.",
- "academicTitleSuffix": "MSc",
- "additionalInfo": "string",
- "birthDate": 1493192100000,
- "language": "en",
- "profileImage": {
- "webLink": false,
- "resourceCollection": false,
- "mimeType": "image/jpeg",
- "children": [
- { }
], - "ordinal": 1,
- "label": "label"
}, - "externalId": "1"
}Register the participant.
| password required | string Password to set for user (at least 6 characters long, no whitespace) |
| email required | string E-mail of participant |
| additionalInfo required | string Additional info which should be attached to the participant. |
| firstName required | string First name of participant |
| lastName required | string Last name of participant |
| salutation required | string Enum: "MISTER" "MISS" "NEUTRAL" |
{- "resultCode": 0,
- "returnObject": {
- "id": 1,
- "firstName": "Beta",
- "lastName": "Tester",
- "email": "beta.tester@m-pulso.com",
- "salutation": "NEUTRAL",
- "academicTitlePrefix": "Dr.",
- "academicTitleSuffix": "MSc",
- "additionalInfo": "string",
- "birthDate": 1493192100000,
- "language": "en",
- "profileImage": {
- "webLink": false,
- "resourceCollection": false,
- "mimeType": "image/jpeg",
- "children": [
- { }
], - "ordinal": 1,
- "label": "label"
}, - "externalId": "1"
}
}Register the participant
| password required | string Password to set for user (at least 6 characters long, no whitespace) |
| email required | string E-mail of participant |
| additionalInfo required | string Additional info which should be attached to the participant. |
| firstName required | string First name of participant |
| lastName required | string Last name of participant |
| salutation required | string Enum: "MISTER" "MISS" "NEUTRAL" |
0Register a training participant and send an activation.
| email required | string E-mail of participant |
| firstName required | string First name of participant |
| lastName required | string Last name of participant |
| salutation required | string Enum: "MISTER" "MISS" "NEUTRAL" |
| additionalInfo required | string |
{- "resultCode": 0,
- "returnObject": 1
}Check if the GDPR acceptance is present.
| bundleId | string Example: bundleId=1263455225 |
| packageName | string Example: packageName=com.iom.microtraining.test3 |
| webClientLink | string Example: webClientLink=https://test3.micro-training.com/ |
{- "resultCode": 0,
- "returnObject": true
}Retrieve the client info texts for the optional app (iosBundleId or androidPackageName) or webclient, otherwise the default texts in the provided language.
| iosBundleId | string Example: iosBundleId=com.m-pulso.com |
| androidPackageName | string Example: androidPackageName=com.microtraining |
| webClientLink | string Example: webClientLink=https://micro-training.com |
| iso2 | string Example: iso2=en |
{- "resultCode": 0,
- "returnObject": {
- "generalTitle": "General Title",
- "general": "General Text",
- "dataPrivacyTitle": "Data Privacy Title",
- "dataPrivacy": "Data Privacy Text",
- "dataPrivacyLink": {
- "webLink": false,
- "resourceCollection": false,
- "mimeType": "image/jpeg",
- "children": [
- { }
], - "ordinal": 1,
- "label": "label"
}, - "imprintTitle": "Imprint Title",
- "imprint": "Imprint Text",
- "logo": {
- "webLink": false,
- "resourceCollection": false,
- "mimeType": "image/jpeg",
- "children": [
- { }
], - "ordinal": 1,
- "label": "label"
}
}
}Retrieve challengeable training participants for the specified training.
| trainingId required | integer <int64> |
{- "resultCode": 0,
- "returnObject": [
- {
- "id": 1,
- "firstName": "Beta",
- "lastName": "Tester",
- "academicTitlePrefix": "Dr.",
- "academicTitleSuffix": "Msc",
- "activated": true,
- "email": "beta.tester@m-pulso.com",
- "salutation": "NEUTRAL"
}
]
}Create a challenge between the logged in user and the provided training participant for the training.
| trainingId required | integer <int64> |
| opponentId | integer <int64> if instance uses anonymous duels -> omit |
{- "resultCode": 0,
- "returnObject": {
- "timePerQuestionSec": 0,
- "id": 0,
- "challenger": {
- "id": 1,
- "firstName": "Beta",
- "lastName": "Tester",
- "academicTitlePrefix": "Dr.",
- "academicTitleSuffix": "Msc",
- "activated": true,
- "email": "beta.tester@m-pulso.com",
- "salutation": "NEUTRAL"
}, - "challenged": {
- "id": 1,
- "firstName": "Beta",
- "lastName": "Tester",
- "academicTitlePrefix": "Dr.",
- "academicTitleSuffix": "Msc",
- "activated": true,
- "email": "beta.tester@m-pulso.com",
- "salutation": "NEUTRAL"
}, - "pin": 0,
- "status": "PENDING",
- "completionTime": 1490598300000,
- "challengeIsValidUntil": 1490598300000,
- "challengerRoundsWon": 0,
- "challengedRoundsWon": 0,
- "challengerCorrectCount": 0,
- "challengedCorrectCount": 0,
- "rounds": {
- "id": 1,
- "completionTime": 1490598300000,
- "status": "OPEN",
- "expirationTime": 1490598370000,
- "nextId": 1,
- "correctCountChallenger": 4,
- "correctCountChallenged": 2,
- "learningCardReferenceIds": [
- 0
]
}, - "timeBonusMinutes": 0,
- "invitationText": "string"
}
}Retrieve all duels for a specific training.
| trainingId required | integer <int64> |
{- "resultCode": 0,
- "returnObject": [
- {
- "timePerQuestionSec": 0,
- "id": 0,
- "challenger": {
- "id": 1,
- "firstName": "Beta",
- "lastName": "Tester",
- "academicTitlePrefix": "Dr.",
- "academicTitleSuffix": "Msc",
- "activated": true,
- "email": "beta.tester@m-pulso.com",
- "salutation": "NEUTRAL"
}, - "challenged": {
- "id": 1,
- "firstName": "Beta",
- "lastName": "Tester",
- "academicTitlePrefix": "Dr.",
- "academicTitleSuffix": "Msc",
- "activated": true,
- "email": "beta.tester@m-pulso.com",
- "salutation": "NEUTRAL"
}, - "pin": 0,
- "status": "PENDING",
- "completionTime": 1490598300000,
- "challengeIsValidUntil": 1490598300000,
- "challengerRoundsWon": 0,
- "challengedRoundsWon": 0,
- "challengerCorrectCount": 0,
- "challengedCorrectCount": 0,
- "rounds": {
- "id": 1,
- "completionTime": 1490598300000,
- "status": "OPEN",
- "expirationTime": 1490598370000,
- "nextId": 1,
- "correctCountChallenger": 4,
- "correctCountChallenged": 2,
- "learningCardReferenceIds": [
- 0
]
}, - "timeBonusMinutes": 0,
- "invitationText": "string"
}
]
}{- "resultCode": 0,
- "returnObject": {
- "timePerQuestionSec": 0,
- "id": 0,
- "challenger": {
- "id": 1,
- "firstName": "Beta",
- "lastName": "Tester",
- "academicTitlePrefix": "Dr.",
- "academicTitleSuffix": "Msc",
- "activated": true,
- "email": "beta.tester@m-pulso.com",
- "salutation": "NEUTRAL"
}, - "challenged": {
- "id": 1,
- "firstName": "Beta",
- "lastName": "Tester",
- "academicTitlePrefix": "Dr.",
- "academicTitleSuffix": "Msc",
- "activated": true,
- "email": "beta.tester@m-pulso.com",
- "salutation": "NEUTRAL"
}, - "pin": 0,
- "status": "PENDING",
- "completionTime": 1490598300000,
- "challengeIsValidUntil": 1490598300000,
- "challengerRoundsWon": 0,
- "challengedRoundsWon": 0,
- "challengerCorrectCount": 0,
- "challengedCorrectCount": 0,
- "rounds": {
- "id": 1,
- "completionTime": 1490598300000,
- "status": "OPEN",
- "expirationTime": 1490598370000,
- "nextId": 1,
- "correctCountChallenger": 4,
- "correctCountChallenged": 2,
- "learningCardReferenceIds": [
- 0
]
}, - "timeBonusMinutes": 0,
- "invitationText": "string"
}
}Accept an open challenge.
| challengeId required | integer <int64> |
| pin | integer <int32> necessary if instance uses anonymous duels |
{- "resultCode": 0,
- "returnObject": {
- "timePerQuestionSec": 0,
- "id": 0,
- "challenger": {
- "id": 1,
- "firstName": "Beta",
- "lastName": "Tester",
- "academicTitlePrefix": "Dr.",
- "academicTitleSuffix": "Msc",
- "activated": true,
- "email": "beta.tester@m-pulso.com",
- "salutation": "NEUTRAL"
}, - "challenged": {
- "id": 1,
- "firstName": "Beta",
- "lastName": "Tester",
- "academicTitlePrefix": "Dr.",
- "academicTitleSuffix": "Msc",
- "activated": true,
- "email": "beta.tester@m-pulso.com",
- "salutation": "NEUTRAL"
}, - "pin": 0,
- "status": "PENDING",
- "completionTime": 1490598300000,
- "challengeIsValidUntil": 1490598300000,
- "challengerRoundsWon": 0,
- "challengedRoundsWon": 0,
- "challengerCorrectCount": 0,
- "challengedCorrectCount": 0,
- "rounds": {
- "id": 1,
- "completionTime": 1490598300000,
- "status": "OPEN",
- "expirationTime": 1490598370000,
- "nextId": 1,
- "correctCountChallenger": 4,
- "correctCountChallenged": 2,
- "learningCardReferenceIds": [
- 0
]
}, - "timeBonusMinutes": 0,
- "invitationText": "string"
}
}Process the result for a round in an active duel.
| roundId required | integer <int64> |
| correctCount required | integer <int32> |
{- "resultCode": 0,
- "returnObject": {
- "timePerQuestionSec": 0,
- "id": 0,
- "challenger": {
- "id": 1,
- "firstName": "Beta",
- "lastName": "Tester",
- "academicTitlePrefix": "Dr.",
- "academicTitleSuffix": "Msc",
- "activated": true,
- "email": "beta.tester@m-pulso.com",
- "salutation": "NEUTRAL"
}, - "challenged": {
- "id": 1,
- "firstName": "Beta",
- "lastName": "Tester",
- "academicTitlePrefix": "Dr.",
- "academicTitleSuffix": "Msc",
- "activated": true,
- "email": "beta.tester@m-pulso.com",
- "salutation": "NEUTRAL"
}, - "pin": 0,
- "status": "PENDING",
- "completionTime": 1490598300000,
- "challengeIsValidUntil": 1490598300000,
- "challengerRoundsWon": 0,
- "challengedRoundsWon": 0,
- "challengerCorrectCount": 0,
- "challengedCorrectCount": 0,
- "rounds": {
- "id": 1,
- "completionTime": 1490598300000,
- "status": "OPEN",
- "expirationTime": 1490598370000,
- "nextId": 1,
- "correctCountChallenger": 4,
- "correctCountChallenged": 2,
- "learningCardReferenceIds": [
- 0
]
}, - "timeBonusMinutes": 0,
- "invitationText": "string"
}
}Update the learning card progress.
| learningCardProgressId | integer <int64> |
| correctAnswerCount | integer <int32> |
| falseAnswerCount | integer <int32> |
| consecutiveCorrectAnswerCount | integer <int32> |
| updateTime | integer <int64> |
{- "resultCode": 0,
- "returnObject": [
- {
- "correctAnswerCount": 0,
- "falseAnswerCount": 0,
- "consecutiveCorrectAnswerCount": 0,
- "question": "Question1",
- "id": 0,
- "referenceId": 0,
- "imageResource": {
- "webLink": false,
- "resourceCollection": false,
- "mimeType": "image/jpeg",
- "children": [
- { }
], - "ordinal": 1,
- "label": "label"
}, - "videoResource": {
- "webLink": false,
- "resourceCollection": false,
- "mimeType": "image/jpeg",
- "children": [
- { }
], - "ordinal": 1,
- "label": "label"
}, - "descriptionImage": {
- "webLink": false,
- "resourceCollection": false,
- "mimeType": "image/jpeg",
- "children": [
- { }
], - "ordinal": 1,
- "label": "label"
}, - "descriptionVideo": {
- "webLink": false,
- "resourceCollection": false,
- "mimeType": "image/jpeg",
- "children": [
- { }
], - "ordinal": 1,
- "label": "label"
}, - "descriptionText": "Description text",
- "title": "Title",
- "type": "SINGLE",
- "answerOptions": [
- {
- "text": "Answer text",
- "imageResource": {
- "webLink": false,
- "resourceCollection": false,
- "mimeType": "image/jpeg",
- "children": [
- { }
], - "ordinal": 1,
- "label": "label"
}, - "correct": true
}
], - "learned": true
}
]
}Add multiple exam results.
| trainingId | integer <int64> |
| completionTime | integer <int64> |
| percentage | number <float> |
Array of objects (DTOFinalExamLearningCardHistoryEvent) |
{- "resultCode": 0,
- "returnObject": [
- 0
]
}Retrieve the next learning card to learn.
| progressGroupId required | integer <int64> Example: progressGroupId=1 |
| lastQuestionId | integer <int64> Example: lastQuestionId=1 |
{- "resultCode": 0,
- "returnObject": {
- "correctAnswerCount": 0,
- "falseAnswerCount": 0,
- "consecutiveCorrectAnswerCount": 0,
- "question": "Question1",
- "id": 0,
- "referenceId": 0,
- "imageResource": {
- "webLink": false,
- "resourceCollection": false,
- "mimeType": "image/jpeg",
- "children": [
- { }
], - "ordinal": 1,
- "label": "label"
}, - "videoResource": {
- "webLink": false,
- "resourceCollection": false,
- "mimeType": "image/jpeg",
- "children": [
- { }
], - "ordinal": 1,
- "label": "label"
}, - "descriptionImage": {
- "webLink": false,
- "resourceCollection": false,
- "mimeType": "image/jpeg",
- "children": [
- { }
], - "ordinal": 1,
- "label": "label"
}, - "descriptionVideo": {
- "webLink": false,
- "resourceCollection": false,
- "mimeType": "image/jpeg",
- "children": [
- { }
], - "ordinal": 1,
- "label": "label"
}, - "descriptionText": "Description text",
- "title": "Title",
- "type": "SINGLE",
- "answerOptions": [
- {
- "text": "Answer text",
- "imageResource": {
- "webLink": false,
- "resourceCollection": false,
- "mimeType": "image/jpeg",
- "children": [
- { }
], - "ordinal": 1,
- "label": "label"
}, - "correct": true
}
], - "learned": true
}
}Retrieve the next learning card to learn for open learning.
| trainingId required | integer <int64> |
| lastQuestionId | integer <int64> Example: lastQuestionId=1 |
{- "resultCode": 0,
- "returnObject": {
- "correctAnswerCount": 0,
- "falseAnswerCount": 0,
- "consecutiveCorrectAnswerCount": 0,
- "question": "Question1",
- "id": 0,
- "referenceId": 0,
- "imageResource": {
- "webLink": false,
- "resourceCollection": false,
- "mimeType": "image/jpeg",
- "children": [
- { }
], - "ordinal": 1,
- "label": "label"
}, - "videoResource": {
- "webLink": false,
- "resourceCollection": false,
- "mimeType": "image/jpeg",
- "children": [
- { }
], - "ordinal": 1,
- "label": "label"
}, - "descriptionImage": {
- "webLink": false,
- "resourceCollection": false,
- "mimeType": "image/jpeg",
- "children": [
- { }
], - "ordinal": 1,
- "label": "label"
}, - "descriptionVideo": {
- "webLink": false,
- "resourceCollection": false,
- "mimeType": "image/jpeg",
- "children": [
- { }
], - "ordinal": 1,
- "label": "label"
}, - "descriptionText": "Description text",
- "title": "Title",
- "type": "SINGLE",
- "answerOptions": [
- {
- "text": "Answer text",
- "imageResource": {
- "webLink": false,
- "resourceCollection": false,
- "mimeType": "image/jpeg",
- "children": [
- { }
], - "ordinal": 1,
- "label": "label"
}, - "correct": true
}
], - "learned": true
}
}Retrieve a specific training progress.
| trainingProgressId required | integer <int64> Example: trainingProgressId=1 |
{- "resultCode": 0,
- "returnObject": {
- "training": {
- "id": 0,
- "language": "German",
- "startDate": 1490598300000,
- "endDate": 1490598300000,
- "successResource": {
- "webLink": false,
- "resourceCollection": false,
- "mimeType": "image/jpeg",
- "children": [
- { }
], - "ordinal": 1,
- "label": "label"
}, - "openUntil": 1490598300000,
- "note": "note",
- "microPaper": {
- "webLink": false,
- "resourceCollection": false,
- "mimeType": "image/jpeg",
- "children": [
- { }
], - "ordinal": 1,
- "label": "label"
}, - "microCast": {
- "webLink": false,
- "resourceCollection": false,
- "mimeType": "image/jpeg",
- "children": [
- { }
], - "ordinal": 1,
- "label": "label"
}, - "trainer": {
- "id": 1,
- "firstName": "Beta",
- "lastName": "Tester",
- "academicTitlePrefix": "Dr.",
- "academicTitleSuffix": "Msc",
- "activated": true,
- "email": "beta.tester@m-pulso.com",
- "salutation": "NEUTRAL"
}, - "additionalResources": [
- {
- "webLink": false,
- "resourceCollection": false,
- "mimeType": "image/jpeg",
- "children": [
- { }
], - "ordinal": 1,
- "label": "label"
}
], - "company": {
- "id": 1,
- "name": "Test company",
- "address": [
- {
- "city": "Innsbruck",
- "country": "AT",
- "zip": "6020",
- "addition": "2nd floor",
- "street": "Maria Theresienstr. 16"
}
], - "logo": {
- "webLink": false,
- "resourceCollection": false,
- "mimeType": "image/jpeg",
- "children": [
- { }
], - "ordinal": 1,
- "label": "label"
}, - "color": "#3b4dd9"
}, - "chatId": 0,
- "color": "#3b4dd9",
- "correctAnswerCountToBeLearned": 0,
- "finalExamEnabled": true,
- "duelEnabled": true,
- "finalExamTimePerQuestionSec": 0,
- "timeBetweenFinalExamsInMinutes": 0,
- "finalExamCoolDownInMinutes": 0,
- "finalExamMinPercentage": 0,
- "logo": {
- "webLink": false,
- "resourceCollection": false,
- "mimeType": "image/jpeg",
- "children": [
- { }
], - "ordinal": 1,
- "label": "label"
}, - "video": {
- "webLink": false,
- "resourceCollection": false,
- "mimeType": "image/jpeg",
- "children": [
- { }
], - "ordinal": 1,
- "label": "label"
}, - "learningAlgorithm": "FRAGMENT",
- "infoText": "info",
- "title": "title",
- "allowGroupChats": true,
- "allowOpenLearning": true,
- "directChatWithTrainer": true,
- "contactPerson": {
- "email": "contact.person@m-pulso.com",
- "name": "Contact Person",
- "phone": "+43123456789",
- "additionalInfo": "Additional"
}
}, - "progressId": 0,
- "finalExamPassed": true,
- "finalExamPercentage": 0.7,
- "lastFinalExamAttemptTimeStamp": 1490598300000,
- "progressGroups": [
- {
- "id": 1,
- "nextId": 1,
- "completionTime": 1490598300000,
- "delayInMinutes": 15,
- "status": "OPEN",
- "learningCards": [
- {
- "correctAnswerCount": 0,
- "falseAnswerCount": 0,
- "consecutiveCorrectAnswerCount": 0,
- "question": "Question1",
- "id": 0,
- "referenceId": 0,
- "imageResource": {
- "webLink": false,
- "resourceCollection": false,
- "mimeType": "image/jpeg",
- "children": [
- { }
], - "ordinal": 1,
- "label": "label"
}, - "videoResource": {
- "webLink": false,
- "resourceCollection": false,
- "mimeType": "image/jpeg",
- "children": [
- { }
], - "ordinal": 1,
- "label": "label"
}, - "descriptionImage": {
- "webLink": false,
- "resourceCollection": false,
- "mimeType": "image/jpeg",
- "children": [
- { }
], - "ordinal": 1,
- "label": "label"
}, - "descriptionVideo": {
- "webLink": false,
- "resourceCollection": false,
- "mimeType": "image/jpeg",
- "children": [
- { }
], - "ordinal": 1,
- "label": "label"
}, - "descriptionText": "Description text",
- "title": "Title",
- "type": "SINGLE",
- "answerOptions": [
- {
- "text": "Answer text",
- "imageResource": {
- "webLink": false,
- "resourceCollection": false,
- "mimeType": "image/jpeg",
- "children": [
- null
], - "ordinal": 1,
- "label": "label"
}, - "correct": true
}
], - "learned": true
}
], - "delayBonusCountWithinCurrentDelayTimeFrame": 2,
- "maxDelayBonusCountPerTimeFrame": 5,
- "currentDelayBonusTimeFrameEnd": 1490598300000
}
], - "signatureRequired": false,
- "signedAt": 1712835238000,
- "tagIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}
}Retrieve all training progresses where signature is not required
| searchString | any |
{- "resultCode": 0,
- "returnObject": [
- {
- "training": {
- "id": 0,
- "language": "German",
- "startDate": 1490598300000,
- "endDate": 1490598300000,
- "successResource": {
- "webLink": false,
- "resourceCollection": false,
- "mimeType": "image/jpeg",
- "children": [
- { }
], - "ordinal": 1,
- "label": "label"
}, - "openUntil": 1490598300000,
- "note": "note",
- "microPaper": {
- "webLink": false,
- "resourceCollection": false,
- "mimeType": "image/jpeg",
- "children": [
- { }
], - "ordinal": 1,
- "label": "label"
}, - "microCast": {
- "webLink": false,
- "resourceCollection": false,
- "mimeType": "image/jpeg",
- "children": [
- { }
], - "ordinal": 1,
- "label": "label"
}, - "trainer": {
- "id": 1,
- "firstName": "Beta",
- "lastName": "Tester",
- "academicTitlePrefix": "Dr.",
- "academicTitleSuffix": "Msc",
- "activated": true,
- "email": "beta.tester@m-pulso.com",
- "salutation": "NEUTRAL"
}, - "additionalResources": [
- {
- "webLink": false,
- "resourceCollection": false,
- "mimeType": "image/jpeg",
- "children": [
- { }
], - "ordinal": 1,
- "label": "label"
}
], - "company": {
- "id": 1,
- "name": "Test company",
- "address": [
- {
- "city": "Innsbruck",
- "country": "AT",
- "zip": "6020",
- "addition": "2nd floor",
- "street": "Maria Theresienstr. 16"
}
], - "logo": {
- "webLink": false,
- "resourceCollection": false,
- "mimeType": "image/jpeg",
- "children": [
- { }
], - "ordinal": 1,
- "label": "label"
}, - "color": "#3b4dd9"
}, - "chatId": 0,
- "color": "#3b4dd9",
- "correctAnswerCountToBeLearned": 0,
- "finalExamEnabled": true,
- "duelEnabled": true,
- "finalExamTimePerQuestionSec": 0,
- "timeBetweenFinalExamsInMinutes": 0,
- "finalExamCoolDownInMinutes": 0,
- "finalExamMinPercentage": 0,
- "logo": {
- "webLink": false,
- "resourceCollection": false,
- "mimeType": "image/jpeg",
- "children": [
- { }
], - "ordinal": 1,
- "label": "label"
}, - "video": {
- "webLink": false,
- "resourceCollection": false,
- "mimeType": "image/jpeg",
- "children": [
- { }
], - "ordinal": 1,
- "label": "label"
}, - "learningAlgorithm": "FRAGMENT",
- "infoText": "info",
- "title": "title",
- "allowGroupChats": true,
- "allowOpenLearning": true,
- "directChatWithTrainer": true,
- "contactPerson": {
- "email": "contact.person@m-pulso.com",
- "name": "Contact Person",
- "phone": "+43123456789",
- "additionalInfo": "Additional"
}
}, - "progressId": 0,
- "finalExamPassed": true,
- "finalExamPercentage": 0.7,
- "lastFinalExamAttemptTimeStamp": 1490598300000,
- "progressGroups": [
- {
- "id": 1,
- "nextId": 1,
- "completionTime": 1490598300000,
- "delayInMinutes": 15,
- "status": "OPEN",
- "learningCards": [
- {
- "correctAnswerCount": 0,
- "falseAnswerCount": 0,
- "consecutiveCorrectAnswerCount": 0,
- "question": "Question1",
- "id": 0,
- "referenceId": 0,
- "imageResource": {
- "webLink": false,
- "resourceCollection": false,
- "mimeType": "image/jpeg",
- "children": [
- { }
], - "ordinal": 1,
- "label": "label"
}, - "videoResource": {
- "webLink": false,
- "resourceCollection": false,
- "mimeType": "image/jpeg",
- "children": [
- { }
], - "ordinal": 1,
- "label": "label"
}, - "descriptionImage": {
- "webLink": false,
- "resourceCollection": false,
- "mimeType": "image/jpeg",
- "children": [
- { }
], - "ordinal": 1,
- "label": "label"
}, - "descriptionVideo": {
- "webLink": false,
- "resourceCollection": false,
- "mimeType": "image/jpeg",
- "children": [
- { }
], - "ordinal": 1,
- "label": "label"
}, - "descriptionText": "Description text",
- "title": "Title",
- "type": "SINGLE",
- "answerOptions": [
- {
- "text": "Answer text",
- "imageResource": {
- "webLink": null,
- "resourceCollection": null,
- "mimeType": null,
- "url": null,
- "children": [ ],
- "ordinal": null,
- "label": null
}, - "correct": true
}
], - "learned": true
}
], - "delayBonusCountWithinCurrentDelayTimeFrame": 2,
- "maxDelayBonusCountPerTimeFrame": 5,
- "currentDelayBonusTimeFrameEnd": 1490598300000
}
], - "signatureRequired": false,
- "signedAt": 1712835238000,
- "tagIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}
]
}Sets a signature for a training participant by uploading an image file, associating it with the specified training ID.
| id required | integer <int64> ID of the training. |
| file | string <binary> |
{- "id": 1,
- "firstName": "Beta",
- "lastName": "Tester",
- "email": "beta.tester@m-pulso.com",
- "salutation": "NEUTRAL",
- "academicTitlePrefix": "Dr.",
- "academicTitleSuffix": "MSc",
- "additionalInfo": "string",
- "birthDate": 1493192100000,
- "language": "en",
- "profileImage": {
- "webLink": false,
- "resourceCollection": false,
- "mimeType": "image/jpeg",
- "children": [
- { }
], - "ordinal": 1,
- "label": "label"
}, - "externalId": "1"
}{- "resultCode": 0,
- "returnObject": {
- "firstName": "Beta",
- "lastName": "Tester",
- "profileImage": {
- "webLink": false,
- "resourceCollection": false,
- "mimeType": "image/jpeg",
- "children": [
- { }
], - "ordinal": 1,
- "label": "label"
}, - "birthDate": 1490598370000,
- "salutation": "NEUTRAL",
- "email": "beta.tester@m-pulso.com"
}
}Update the profile of the training participant.
| firstName | string First name of participant |
| lastName | string Last name of participant |
| salutation | string Enum: "MISTER" "MISS" "NEUTRAL" |
| birthdate | integer <int64> Birth date in milliseconds since January 1, 1970 00:00:00. If not set, current value will be cleared |
| picture | string <binary> Profile picture of participant |
{- "resultCode": 0,
- "returnObject": {
- "firstName": "Beta",
- "lastName": "Tester",
- "profileImage": {
- "webLink": false,
- "resourceCollection": false,
- "mimeType": "image/jpeg",
- "children": [
- { }
], - "ordinal": 1,
- "label": "label"
}, - "birthDate": 1490598370000,
- "salutation": "NEUTRAL",
- "email": "beta.tester@m-pulso.com"
}
}{- "resultCode": 0,
- "returnObject": {
- "firstName": "Beta",
- "lastName": "Tester",
- "profileImage": {
- "webLink": false,
- "resourceCollection": false,
- "mimeType": "image/jpeg",
- "children": [
- { }
], - "ordinal": 1,
- "label": "label"
}, - "birthDate": 1490598370000,
- "salutation": "NEUTRAL",
- "email": "beta.tester@m-pulso.com"
}
}Update the profile picture of the training participant.
| file required | string <binary> |
{- "resultCode": 0,
- "returnObject": {
- "firstName": "Beta",
- "lastName": "Tester",
- "profileImage": {
- "webLink": false,
- "resourceCollection": false,
- "mimeType": "image/jpeg",
- "children": [
- { }
], - "ordinal": 1,
- "label": "label"
}, - "birthDate": 1490598370000,
- "salutation": "NEUTRAL",
- "email": "beta.tester@m-pulso.com"
}
}Retrieve the statistics for a specific training.
| trainingId required | integer <int64> Example: trainingId=1 |
{- "resultCode": 0,
- "returnObject": {
- "trainingId": 1,
- "title": "Training1",
- "location": "Room A",
- "state": "APPROVED",
- "date": 1490598300000,
- "timeFrames": [
- {
- "startDate": 1490598300000,
- "endDate": 1493192100000,
- "prolongation": true
}
], - "userStatistics": [
- {
- "userId": 1,
- "email": "tp1@m-pulso.com",
- "learningSteps": 5,
- "correctLearningSteps": 3,
- "wrongLearningSteps": 2,
- "completionRate": 0.5,
- "finalExamPassed": false,
- "finalExamPercentage": 0.5,
- "finalExamApproaches": [
- {
- "correctPercentage": 60.5,
- "duration": 28000,
- "date": 1490598300000,
- "details": [
- {
- "correct": true,
- "startTime": 1490598300000,
- "duration": 2000,
- "learningCardId": 1
}
]
}
], - "lastActive": 1490598300000
}
]
}
}Retrieve the statistics for all trainings.
| participantId required | integer <int64> |
{- "resultCode": 0,
- "returnObject": [
- {
- "trainingId": 1,
- "title": "Training1",
- "location": "Room A",
- "state": "APPROVED",
- "date": 1490598300000,
- "timeFrames": [
- {
- "startDate": 1490598300000,
- "endDate": 1493192100000,
- "prolongation": true
}
], - "userStatistics": [
- {
- "userId": 1,
- "email": "tp1@m-pulso.com",
- "learningSteps": 5,
- "correctLearningSteps": 3,
- "wrongLearningSteps": 2,
- "completionRate": 0.5,
- "finalExamPassed": false,
- "finalExamPercentage": 0.5,
- "finalExamApproaches": [
- {
- "correctPercentage": 60.5,
- "duration": 28000,
- "date": 1490598300000,
- "details": [
- {
- "correct": true,
- "startTime": 1490598300000,
- "duration": 2000,
- "learningCardId": 1
}
]
}
], - "lastActive": 1490598300000
}
]
}
]
}Create history events and update the learning card progress.
| learningCardProgressId | integer <int64> |
| startTime | integer <int64> |
| duration | integer <int64> |
| correct | boolean |
true