1. submission
new-brevet
  • auth
    • register
      POST
    • login
      POST
    • verification
      POST
    • resend verification
      POST
    • refresh token
      POST
    • logout
      DELETE
  • upload
    • upload documents
      POST
    • delete file
      DELETE
    • upload image
      POST
  • user
    • get all user
      GET
    • me
      GET
    • update my profile
      PUT
    • update user
      PUT
    • create user
      POST
    • delete user
      DELETE
  • blog
    • get all blogs
      GET
    • get blog by slug
      GET
    • update blog
      PUT
    • create blog
      POST
    • delete blog
      DELETE
  • batch
    • get batch by slug
    • get all batch
    • get quota remaining
    • get all batch by course slug
    • Get All purchases Copy
    • Get All students
    • delete batch
    • create batch
    • update batch
  • group
    • get all group
    • get group by id
  • course
    • get all course
    • get course by slug
    • create course
    • update course
    • update course Copy
  • testimonial
    • get all testimonial by batch slug
    • get all testimonial
    • get testimonial by id
    • create testimonial
    • update testimonial
    • delete testimonial
  • purchase
    • Get All purchases
    • Get purchase by id
    • update status payment
  • me
    • Get All purchases Copy
    • Get all upcoming assignments
    • Get all upcoming quiz
    • Get purchase by id Copy
    • me
    • Get All score by batch id
    • Get My batch
    • generate my certificate by batch id
    • Get My certificate by batch id
    • Get progress by batch id
    • create purchase
    • cancel payment
    • upload payment
    • update my profile Copy
  • meeting
    • Get All Meetings
    • Get All meetings by batch slug
    • Get meeting by id
    • Get All teachers by meeting id
    • create meeting
    • update meeting
    • Delete meeting
    • assign teacher
    • update assign teacher (replace all)
    • unassign teacher from meeting
  • assignments
    • Get All Assignments
    • Get Assignment by id
    • Get All Assignments by meeting id
    • create assignment
    • update assignment
    • delete assignment
  • materials
    • Get All Materials
    • Get Material by id
    • Get All Materials by meeting id
    • create material
    • update material
    • delete material
  • attendance
    • Get All Attendances
    • Get All Attendances by batch slug
    • Get Attendance by ID
    • create attendance
  • certificate
    • Get certificate by cert id (admin, guru)
    • Get certificate for public (check if asli) Copy
    • Get certificate by batch id (admin, guru)
    • Get certificate by number for public
  • quiz
    • Get quiz by id
    • Get attempt active
    • get list of attempt in quiz
    • Get question by quiz id
    • get quiz by meeting id
    • Get attempt
    • Get attempt result
    • create quiz
    • update quiz
    • delete quiz
    • upload soal
    • start attempt quiz
    • submit attempt quiz
    • temporer submit
  • submission
    • Get detail submission
      GET
    • Get All Submissions by assigment id
      GET
    • Get submission grade
      GET
    • Get template excel grading
      GET
    • create submission
      POST
    • Grading with excel
      PUT
    • grade submission
      PUT
    • update submission
      PATCH
    • delete submission
      DELETE
  • score
    • get score by batch slug and student id
  • dashboard
    • admin
      • Get dashboard admin
      • Get revenue chart
      • Get pending payment
      • Get batch progress
      • Get teacher workload
      • Get certificate stats
      • Get recent activities
    • teacher
      • Get dashboard Teacher
    • student
      • Get dashboard student
      • Get dashboard Score
  1. submission

update submission

Developing
PATCH
{{url}}/api/v1/submissions/687ac660-a8b9-452c-9eed-c8b20ea4d4d0

Request

Header Params

Body Params application/json

Examples

Responses

🟢201Created
application/json
Body

🟢201Created
🟠400Already Register
🟢201Created
🟠400Bad Request
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request PATCH '{{url}}/api/v1/submissions/687ac660-a8b9-452c-9eed-c8b20ea4d4d0' \
--header 'Authorization: Bearer {{token}}' \
--header 'Content-Type: application/json' \
--data-raw '{
  "note": "tes tes",
  "submission_files": [
    {
      "file_url": "https://storage.example.com/files/tugas1.pdf"
    }
  ]
}'
Response Response Example
201 - Exception
{
    "error": {
        "GroupID": "GroupID harus berupa UUID v4"
    },
    "message": "Validasi gagal",
    "success": false
}
Modified at 2025-08-12 03:58:24
Previous
grade submission
Next
delete submission
Built with