Skip to content

Commit 89ebe94

Browse files
authored
Merge pull request #193 from tcet-opensource/173-update_update_Accreditation_apidoc
173 update update accreditation apidoc
2 parents 2b9d280 + 50b3ad7 commit 89ebe94

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

_apidoc.js

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,23 @@
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

0 commit comments

Comments
 (0)