Items in Basket

Subtotal

Checkout View and edit basket

Customers Also Bought

Get competence status for a user

Resource URL

URL: competenceUser/status


Parameters

string username
required

Username

string password
required

Password

int userId
optional

Unique identifier of the user

string userExternalId
optional

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.

  • NOT_CONNECTED - meaning that the competence is not a requirement for the user and the competence is not completed as other competence for the user
  • NOT_COMPLETED
  • COMPLETED
  • OUTDATED
requirementReferenceIdIdentifier of the requirement (if requirement exists)


Example request

URL

https://www.trainingportal.no/mintra/rest/competenceUser/status

POST DATAuserId=123456&competenceId=123&username=username&password=secret
{
"completionDate": "2011-05-10",
"status": "COMPLETED",
"validUntilDate": null,
"requirementReferenceId":"3d2d24f0-1e24-4bd6-a82f-9602e6d2cf49"
}