File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change 243243 * }
244244 */
245245
246+ /**
247+ * @api {post } /accreditation/update update accreditation details
248+ * @apiName UpdateAccreditation
249+ * @apiGroup Accreditation
250+ * @apiDescription update Existing accreditation
251+ *
252+ * @apiBody {String} id Id of the accreditation to be updated
253+ * @apiBody {String} [name] Accreditation name.
254+ * @apiBody {String} [agencyName] Agency name.
255+ * @apiBody {Date} [dateofAccreditation] Date of accreditation.
256+ * @apiBody {Date} [dateofExpiry] Date of expiry.
257+ *
258+ * @apiSuccess {String} res Accreditation updated.
259+ * @apiError (Error 500) err Error in updating database
260+ *
261+ */
262+
246263/**
247264 * @api {get } accreditation/list Get Accreditation List
248265 * @apiName GetAccreditation
You can’t perform that action at this time.
0 commit comments