Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

attemptId: Should be generated from Hashing HASH(courseId, userId, contentId, batchId, ets)


Code Block
languagejs
themeFadeToGrey
titleAPI Response
linenumberstrue
{
    	"id": "api.coursecontent.assessmentstate.update",
    	"ver": "1.0v1","ets":1566974765224,
	
    "ts": "2019-09-04 12:47:08:954+0000",
    "params": {
        "resmsgid": null,
        "msgid": "bec2defc-ddca-7b37-6a24-1dcbdfb23d48",
        "err": null,
        "status": "success",
        "errmsg": null
    },
    	"responseCode": "OK",
    "result": {
        "<contentId>": "SUCCESS"
    }
}



Disadvantages:

  1. Need to validate and de-dup the the events.

...