This is a lower-level API. Lower-level APIs are not recommended for most projects, and may not be available on all plans. See our page on recommended deployment patterns for more information.
Public Method Questions API

save()

Saves the user responses in the Learnosity Database.

The settings argument provides a way to define specific callbacks for events related to the save operation. You should always use these to ensure that your save operation completes successfully or at least throws an error.

Arguments

  • settings object
    • error ErrorCallback
    • progress ProgressCallback
    • success SuccessCallback

Return value

None (undefined).

Type definitions

ErrorCallback callback

  • error object
    • code integer
    • detail string
    • msg string

ProgressCallback callback

  • progress object
    • bytesTotal integer
    • bytesUploaded integer
    • percentage integer
    • state string

SuccessCallback callback

  • response_ids array
Was this article helpful?