๐Ÿ‘จโ€๐Ÿซ Professor Platform Actions

View Dashboard

Description

Triggered when a professor accesses their dashboard.

Headers

{
  "x-edusign-webhook-type": "app-form-completion",
  "x-edusign-school-id": "school_id_placeholder",
  "x-edusign-app-id": "app_id_placeholder",
  "x-edusign-lang": "en",
  "x-edusign-hmac": "hmac_placeholder",
  "x-edusign-client-id": "client_id_placeholder"
}

Body

{
  "ACTION": "apicall",
  "LOCATION": "view_dashboard",
  "caller": {
    "userId": "user_id_placeholder",
    "userType": "professor",
    "appId": "app_id_placeholder",
    "schoolId": "school_id_placeholder"
  },
  "context": {
    "schoolId": "school_id_placeholder"
  },
  "environment": {}
}

Expected Response

[
  {
    "id": "unique_id_1",
    "block": "title",
    "text": "Professor Dashboard"
  },
  {
    "id": "unique_id_2",
    "block": "text",
    "text": "# Welcome to your dashboard\nHere are your upcoming classes, recent activities, and more."
  }
]

View Course

Description

Triggered when a professor accesses a specific course's details.

Headers

{
  "x-edusign-webhook-type": "app-form-completion",
  "x-edusign-school-id": "school_id_placeholder",
  "x-edusign-app-id": "app_id_placeholder",
  "x-edusign-lang": "en",
  "x-edusign-hmac": "hmac_placeholder",
  "x-edusign-client-id": "client_id_placeholder"
}

Body

{
  "ACTION": "apicall",
  "LOCATION": "view_course",
  "caller": {
    "userId": "user_id_placeholder",
    "userType": "professor",
    "appId": "app_id_placeholder",
    "schoolId": "school_id_placeholder"
  },
  "context": {
    "courseId": "course_id_placeholder",
    "schoolId": "school_id_placeholder"
  },
  "environment": {}
}

Expected Response

[
  {
    "id": "unique_id_3",
    "block": "title",
    "text": "Course Details"
  },
  {
    "id": "unique_id_4",
    "block": "text",
    "text": "# Course Overview\nDetailed information about the selected course."
  }
]

[
  {
    "id": "unique_id_3",
    "block": "title",
    "text": "Course Details"
  },
  {
    "id": "unique_id_4",
    "block": "text",
    "text": "# Course Overview\nDetailed information about the selected course."
  }
]