Skip to main content
POST
/
api
/
v1
/
courses
/
{courseId}
/
enrollments
/
import
Importar inscrições via CSV/XLSX
curl --request POST \
  --url https://services.pref.rio/go/v1/api/v1/courses/{courseId}/enrollments/import \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form file=@example-file
{}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

courseId
integer
required

ID do curso

Body

multipart/form-data
file
file
required

Arquivo CSV ou XLSX com as inscrições

Response

Job ID para acompanhar o progresso

The response is of type object.