save - Methods - Questions API

Questions API Methods

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[string]

Was this article helpful?

Did you arrive here by accident? If so, learn more about Learnosity.