POST Training Modules

Changed on

/trainings/modules Permission level: 3

post/trainings/modules

Request

  • Base URL
    https://www.humanity.com/api/v2
  • Auth
    API key in query parameter access_token

Request body application/x-www-form-urlencoded

titlestring required
contentsstring
videostring

Youtube id (varchar)

iframestring
mintimeinteger
sectioninteger
tutorialinteger

Response

200

statusinteger
tokenstring
errorunknown

Example response

{
  "status": 1,
  "data": {
    "75424": {
      "id": "75424",
      "store": "303579",
      "title": "New training",
      "deleted": "0",
      "deleted_by": "0",
      "created": "1522846351",
      "created_by": "3475050",
      "updated": "0",
      "updated_by": "0",
      "child_edit": "1",
      "orig_cm_id": "0",
      "order": "0",
      "duedate": "0",
      "digital_signature": "0",
      "comment_type": "0",
      "can_see_comment": "5",
      "download_pdf": "-1",
      "threshold": "0"
    }
  },
  "token": "xxxxxxxxx"
}

Changes