API assiduités: /justificatif/nip/<nip>/create, /justificatif/nip/<nip>/create

This commit is contained in:
Emmanuel Viennet 2023-07-30 15:27:31 +02:00
parent dc375f1a89
commit ead32c8a06

View File

@ -150,6 +150,14 @@ def justificatifs_dept(dept_id: int = None, with_query: bool = False):
@bp.route("/justificatif/<int:etudid>/create", methods=["POST"])
@api_web_bp.route("/justificatif/<int:etudid>/create", methods=["POST"])
@bp.route("/justificatif/etudid/<etudid>/create", methods=["POST"])
@api_web_bp.route("/justificatif/etudid/<etudid>/create", methods=["POST"])
# nip
@bp.route("/justificatif/nip/<nip>/create", methods=["POST"])
@api_web_bp.route("/justificatif/nip/<nip>/create", methods=["POST"])
# ine
@bp.route("/justificatif/ine/<ine>/create", methods=["POST"])
@api_web_bp.route("/justificatif/ine/<ine>/create", methods=["POST"])
@scodoc
@login_required
@as_json