...
Code Block |
---|
OK 200 response: { "id": "api.enrolment.sync", "ver": "v1", "ts": "2021-03-04 05:58:04:382+0000", "params": { "resmsgid": null, "msgid": "8e27cbf5-e299-43b0-bca7-8347f7e5abcf", "err": null, "status": "success", "errmsg": null }, "responseCode": "OK", "result": { "response": "Sync process for userId [''], batchId '' and courseId '' started sucessfully" } } 400 Bad Request: { "id": "api.enrolment.sync", "ver": "v1", "ts": "2021-03-04 05:58:04:382+0000", "params": { "resmsgid": null, "msgid": "8e27cbf5-e299-43b0-bca7-8347f7e5abcf", "err": CLIENT_ERROR, "status": "failed", "errmsg": No users enrolled }, "responseCode": "OKCLIENT_ERROR", "result": { "response": "Could not find any enrollments for userId [''], batchId '' and courseId ''" } } |
...