Skip to content

Question Rest Service

Karthik Sankar Ram edited this page Mar 9, 2017 · 8 revisions

#Question Rest Service

##Add new question to database

endpoint: "question"
Takes a question object as input and persists it to the database. Returns the saved object if successful. Fields are:
questionId: Should be set as null, will be filled when added to database.
format: The format ID for the question which is a number from 1 to 4 as follows:

  • 1 = Multiple Choice
  • 2 = Multiple Select
  • 3 = Drag and Drop
  • 4 = Code Snippet

Clone this wiki locally