Skip to content

Commit

Permalink
Merge pull request #193 from tcet-opensource/173-update_update_Accred…
Browse files Browse the repository at this point in the history
…itation_apidoc

173 update update accreditation apidoc
  • Loading branch information
Hitansh159 authored Jul 9, 2023
2 parents 2b9d280 + 50b3ad7 commit 89ebe94
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions _apidoc.js
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,23 @@
* }
*/

/**
* @api {post} /accreditation/update update accreditation details
* @apiName UpdateAccreditation
* @apiGroup Accreditation
* @apiDescription update Existing accreditation
*
* @apiBody {String} id Id of the accreditation to be updated
* @apiBody {String} [name] Accreditation name.
* @apiBody {String} [agencyName] Agency name.
* @apiBody {Date} [dateofAccreditation] Date of accreditation.
* @apiBody {Date} [dateofExpiry] Date of expiry.
*
* @apiSuccess {String} res Accreditation updated.
* @apiError (Error 500) err Error in updating database
*
*/

/**
* @api {get} accreditation/list Get Accreditation List
* @apiName GetAccreditation
Expand Down

0 comments on commit 89ebe94

Please sign in to comment.