List Grades
Use this API to fetch grade codes used in student registration and update payloads.
Endpoint
Section titled “Endpoint”GET /api/v1/integrations/erp/gradesRequest
Section titled “Request”curl -X GET 'https://[base_url]/api/v1/integrations/erp/grades?collector_code=ed3ef2db524f' \ -H 'Content-Type: application/json' \ -H 'Authorization: Basic <token>'Query Parameters
Section titled “Query Parameters”| Parameter | Type | Required | Description |
|---|---|---|---|
collector_code | string | Conditional | Required when the institute is part of a group or has branch-specific configuration. |
Response
Section titled “Response”HTTP 200
{ "status": "success", "data": [ { "code": "e33b3c58-b2c7-4769-b89b-73f7fab5492f", "name": "Class 1", "stream": { "name": "CBSE" } } ]}Response Data
Section titled “Response Data”| Attribute | Type | Description |
|---|---|---|
data[].code | string | Grade code to send in student APIs. |
data[].name | string | Grade display name. |
data[].stream.name | string | Stream or board name associated with the grade. |