Create a course
Body Required
-
name string
-
university string
-
identifier string
-
description string
-
locations array[string]
-
regimens array[object]
-
allowed_sections array[string]
-
exam_subjects array[object]
POST /courses
curl \
-X POST https://api.wei.co.mz/courses \
-H "Content-Type: application/json" \
-d '{"name":"string","university":"string","identifier":"string","description":"string","locations":["string"],"regimens":[{"label":"string","seats":42}],"related_courses":["string"],"allowed_sections":["string"],"exam_subjects":[{"label":"string","percentage":42}]}'
Request example
{
"name": "string",
"university": "string",
"identifier": "string",
"description": "string",
"locations": [
"string"
],
"regimens": [
{
"label": "string",
"seats": 42
}
],
"related_courses": [
"string"
],
"allowed_sections": [
"string"
],
"exam_subjects": [
{
"label": "string",
"percentage": 42
}
]
}
Request examples
{
"name": "string",
"university": "string",
"identifier": "string",
"description": "string",
"locations": [
"string"
],
"regimens": [
{
"label": "string",
"seats": 42
}
],
"related_courses": [
"string"
],
"allowed_sections": [
"string"
],
"exam_subjects": [
{
"label": "string",
"percentage": 42
}
]
}