Update e-learning profile

Edits the properties of the specified user's e-learning profile.

Request

  • HTTP Verb: PUT
  • URI: /user/{id}/elearningProfile

Query Parameters

  • id: user identifier. It could be either user id or user email.

PUT Parameters / Response Properties

hasCpdRequirements 1 if the user requires cpd, 0 if not
professionalRef professional reference number

Request example

curl -X PUT \
     -H "Request-Time: Wed, 11 Dec 2013 15:38:32 +0000" \
     -H "Api-Key: 78b47a40f93378a6a487919edea6e92c" \
     -H "Signature: 18cfbb5a9bd71f3d4475c8758b9c1281819f954468842737fbf16c72b4198cbe" \
     -d professionalRef=4321 \
     http://wceaapi.org/v1.1/user/adrian.perez@wcea.education/elearningProfile

Output Example

{
  "_meta": {
   ...
  },
  "records": {
    "hasCpdRequirements": 1,
    "professionalRef": "4321",
  }
}