Overview

The "resource" msg sequence should be the same pattern as the standard LAUNCH with a different JSON response.

Content Type

application/json

HTTP Headers

NONE

Response Fields


firstName


lastName


email


books

Array of book objects that the user (specified by userId) has access to.

bookId: unique identifier of the book

title: string title of book

expiryDate: the date & time in which access to the book ends

courses: array of course objects that the user and book intersect.

Example Ebook Response:

RESPONSE:
 - BODY:
  {
    "books": 
    [
      {
          "bookId": "book id",
          "title": "book title",
          "expiryDate": "2014-01-01T23:28:56.782Z", //ISO format
          "courses": [
              {
                   "courseId": "course id",
                   "name": "course name",
                   "role": "student | instructor",

              },
              ...(more courses)...
          ]
      },
      ...(more books)...
    ]
  }