Unit: bulk update student registrations and grades

Bulk-updates registrations for multiple students on a single unit. Each item in the registrations array can target a student by registration_id or profile_id, and can include grades, publication status, and the awarded flag.

Path Parameters
  • unit_id
    Type: string
    required

    Unique identifier of the unit.

Body
required
application/json
  • registrations
    Type: array object[]
    required

    Array of registration update objects.

  • send_notifications
    Type: boolean

    Whether to notify students of grade updates. Defaults to false.

Responses
  • 200

    Successful response.

  • application/json
  • application/json
  • application/json
Request Example for patch/apis/registrations/units/{unit_id}/registrations
curl https://ff-business-school.fullfabric.cloud/apis/registrations/units/507f1f77bcf86cd799439011/registrations \
  --request PATCH \
  --header 'Content-Type: application/json' \
  --header 'FF-Auth: YOUR_SECRET_TOKEN' \
  --data '{
  "registrations": [
    {
      "profile_id": "6385bdd4976a7719120108e9",
      "grade_state_name": "pass",
      "awarded": true,
      "grade_notes": "Strong analytical skills demonstrated.",
      "grade_feedback": "Excellent work on the valuation case study.",
      "grades": [
        {
          "name": "__coursework",
          "value": "78",
          "published": true
        },
        {
          "name": "__final_exam",
          "value": "82",
          "published": true
        },
        {
          "name": "final",
          "value": "80",
          "published": true
        }
      ]
    },
    {
      "profile_id": "6385baa7976a7719120005dc",
      "grades": [
        {
          "name": "final",
          "value": "74",
          "published": false
        }
      ]
    }
  ],
  "send_notifications": false
}'
No Body