Unit: publish a student's final grade

Publishes the student's final grade, locking in the result. Allowed when the registration has a final grade value or a Pass/Fail grade state set — a status can be published without a numeric grade; publishing then credits the student per the status. Returns 412 if neither is present. The student must already be registered to the unit.

Path Parameters
  • unit_id
    Type: string
    required

    Unique identifier of the unit.

Body
required
application/json
  • profile_id
    Type: string
    required

    ID of the student profile.

Responses
  • application/json
  • application/json
  • application/json
  • 412

    The registration has no final grade or grade state to publish.

Request Example for post/apis/units/units/{unit_id}/grades/publish
curl https://ff-business-school.fullfabric.cloud/apis/units/units/507f1f77bcf86cd799439011/grades/publish \
  --request POST \
  --header 'Content-Type: application/json' \
  --header 'FF-Auth: YOUR_SECRET_TOKEN' \
  --data '{
  "profile_id": "6385bdd4976a7719120108e9"
}'
{}