Get competence status for a user
Resource URL
URL: competenceUser/status
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 |
int competenceExternalId optional | Unique external identifier of the competence. Either competenceId or competenceExternalIdmust be filled. |
Return value
completionDate | yyyy-MM-dd - the date when competence was completed. Empty value indicates, that the competence is not yet completed |
validUntilDate | yyyy-MM-dd - if a competence has validity period this indicates the time it expires |
status | Status of the competence.
|
requirementReferenceId | Identifier of the requirement (if requirement exists) |
Example request
URL | https://www.trainingportal.no/mintra/rest/competenceUser/status |
POST DATA | userId=123456&competenceId=123&username=username&password=secret |
{
"completionDate": "2011-05-10",
"status": "COMPLETED",
"validUntilDate": null,
"requirementReferenceId":"3d2d24f0-1e24-4bd6-a82f-9602e6d2cf49"
}