Create Assignment
create assignment
Authorizations
AuthorizationstringRequired
Body
titlestringOptional
assignment title
typestring · enumOptionalPossible values:
type of assignment
attachmentsstring[]Optional
list of assignment attachments url. Can be document, video, etc.
descriptionstringOptional
assignment description
externalIdstringOptional
id of form (if type is form) / id of studio (if type is studio)
kindstring · enumOptionalPossible values:
topic kind, must be assignment
classroomIdintegerOptional
id of classroom
deadlinestringOptionalExample:
string date with format YYYY-MM-DD HH:ii:ss
2024-01-30 23:59:59moduleIdintegerOptional
id of module
Responses
200
Response
application/json
post
/v1/assignment/base/createPOST /v1/assignment/base/create HTTP/1.1
Host: services.alkamedia.id
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 178
{
"title": "text",
"type": "studio",
"attachments": [
"text"
],
"description": "text",
"externalId": "text",
"kind": "assignment",
"classroomId": 1,
"deadline": "2024-01-30 23:59:59",
"moduleId": 1
}200
Response
{
"status": true,
"data": {
"kind": "assignment",
"moduleId": 1,
"attachments": [
"text"
],
"deadline": "2024-01-30 23:59:59",
"externalId": "text",
"type": "studio",
"classroomId": 1,
"description": "text",
"title": "text"
},
"message": "success"
}Last updated