Add practice log entry for a user
Resource URL
URL: competenceUser/addPracticeLogEntry
Parameters
string username | Username |
string password | Password |
int userId | Unique identifier of the user |
string userExternalId | Unique external identifier of the user. Either userId or userExternalId must be filled. |
int competenceId optional | Unique identifier of the competence |
string competenceExternalId optional | Unique external identifier of the competence. Either competenceId or competenceExternalIdmust be filled. |
int approvedById | Unique identifier of the approver |
string approvedByExternalId | Unique external identifier of the approver. Only one of approvedById or approvedByExternalId must be filled. If non are filled, the integration user will be marked as the approver. |
date entryDate required | Entry date for the log entry |
int amount required | Size of the log entry |
string description optional | Description of the log entry |
Return value
status | Only possible value is OK. In case of error, errorMessage is returned |
Example request
URL | https://www.trainingportal.no/mintra/rest/competenceUser/addPracticeLogEntry |
POST DATA | userId1&competenceId=2&username=username&password=secret&userExternalId=abc&competenceExternalId=def&approvedByExternalId=ghi&entryDate=2018-03-01&amount=1 |
{
"status": "OK"
}