CRUD Operations
Crear Plan de Evaluación
Campos requeridos: student_group, assessment_group, grading_scale, course, schedule_date, from_time, to_time, maximum_assessment_score, assessment_criteria
POST
/
resource
/
Assessment%20Plan
Crear Plan de Evaluación
curl --request POST \
--url https://cucuniversity.edtools.co/api/resource/Assessment%20Plan \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"assessment_name": "Examen Parcial 1",
"student_group": "CS-2025-A",
"assessment_group": "2024-25 (Exams)",
"grading_scale": "MsC",
"course": "Introduction to Programming",
"schedule_date": "2025-03-15",
"from_time": "09:00:00",
"to_time": "11:00:00",
"maximum_assessment_score": 100,
"room": "LAB-101",
"examiner": "EDU-INS-2025-00001",
"assessment_criteria": [
{
"assessment_criteria": "Mid-Term Exam",
"maximum_score": 100
}
]
}
'import requests
url = "https://cucuniversity.edtools.co/api/resource/Assessment%20Plan"
payload = {
"assessment_name": "Examen Parcial 1",
"student_group": "CS-2025-A",
"assessment_group": "2024-25 (Exams)",
"grading_scale": "MsC",
"course": "Introduction to Programming",
"schedule_date": "2025-03-15",
"from_time": "09:00:00",
"to_time": "11:00:00",
"maximum_assessment_score": 100,
"room": "LAB-101",
"examiner": "EDU-INS-2025-00001",
"assessment_criteria": [
{
"assessment_criteria": "Mid-Term Exam",
"maximum_score": 100
}
]
}
headers = {
"Authorization": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
assessment_name: 'Examen Parcial 1',
student_group: 'CS-2025-A',
assessment_group: '2024-25 (Exams)',
grading_scale: 'MsC',
course: 'Introduction to Programming',
schedule_date: '2025-03-15',
from_time: '09:00:00',
to_time: '11:00:00',
maximum_assessment_score: 100,
room: 'LAB-101',
examiner: 'EDU-INS-2025-00001',
assessment_criteria: [{assessment_criteria: 'Mid-Term Exam', maximum_score: 100}]
})
};
fetch('https://cucuniversity.edtools.co/api/resource/Assessment%20Plan', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://cucuniversity.edtools.co/api/resource/Assessment%20Plan",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'assessment_name' => 'Examen Parcial 1',
'student_group' => 'CS-2025-A',
'assessment_group' => '2024-25 (Exams)',
'grading_scale' => 'MsC',
'course' => 'Introduction to Programming',
'schedule_date' => '2025-03-15',
'from_time' => '09:00:00',
'to_time' => '11:00:00',
'maximum_assessment_score' => 100,
'room' => 'LAB-101',
'examiner' => 'EDU-INS-2025-00001',
'assessment_criteria' => [
[
'assessment_criteria' => 'Mid-Term Exam',
'maximum_score' => 100
]
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://cucuniversity.edtools.co/api/resource/Assessment%20Plan"
payload := strings.NewReader("{\n \"assessment_name\": \"Examen Parcial 1\",\n \"student_group\": \"CS-2025-A\",\n \"assessment_group\": \"2024-25 (Exams)\",\n \"grading_scale\": \"MsC\",\n \"course\": \"Introduction to Programming\",\n \"schedule_date\": \"2025-03-15\",\n \"from_time\": \"09:00:00\",\n \"to_time\": \"11:00:00\",\n \"maximum_assessment_score\": 100,\n \"room\": \"LAB-101\",\n \"examiner\": \"EDU-INS-2025-00001\",\n \"assessment_criteria\": [\n {\n \"assessment_criteria\": \"Mid-Term Exam\",\n \"maximum_score\": 100\n }\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://cucuniversity.edtools.co/api/resource/Assessment%20Plan")
.header("Authorization", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"assessment_name\": \"Examen Parcial 1\",\n \"student_group\": \"CS-2025-A\",\n \"assessment_group\": \"2024-25 (Exams)\",\n \"grading_scale\": \"MsC\",\n \"course\": \"Introduction to Programming\",\n \"schedule_date\": \"2025-03-15\",\n \"from_time\": \"09:00:00\",\n \"to_time\": \"11:00:00\",\n \"maximum_assessment_score\": 100,\n \"room\": \"LAB-101\",\n \"examiner\": \"EDU-INS-2025-00001\",\n \"assessment_criteria\": [\n {\n \"assessment_criteria\": \"Mid-Term Exam\",\n \"maximum_score\": 100\n }\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://cucuniversity.edtools.co/api/resource/Assessment%20Plan")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"assessment_name\": \"Examen Parcial 1\",\n \"student_group\": \"CS-2025-A\",\n \"assessment_group\": \"2024-25 (Exams)\",\n \"grading_scale\": \"MsC\",\n \"course\": \"Introduction to Programming\",\n \"schedule_date\": \"2025-03-15\",\n \"from_time\": \"09:00:00\",\n \"to_time\": \"11:00:00\",\n \"maximum_assessment_score\": 100,\n \"room\": \"LAB-101\",\n \"examiner\": \"EDU-INS-2025-00001\",\n \"assessment_criteria\": [\n {\n \"assessment_criteria\": \"Mid-Term Exam\",\n \"maximum_score\": 100\n }\n ]\n}"
response = http.request(request)
puts response.read_bodyAuthorizations
Body
application/json
—
—
Show child attributes
Show child attributes
Response
200
Respuesta exitosa del servidor.
Was this page helpful?
⌘I
Crear Plan de Evaluación
curl --request POST \
--url https://cucuniversity.edtools.co/api/resource/Assessment%20Plan \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"assessment_name": "Examen Parcial 1",
"student_group": "CS-2025-A",
"assessment_group": "2024-25 (Exams)",
"grading_scale": "MsC",
"course": "Introduction to Programming",
"schedule_date": "2025-03-15",
"from_time": "09:00:00",
"to_time": "11:00:00",
"maximum_assessment_score": 100,
"room": "LAB-101",
"examiner": "EDU-INS-2025-00001",
"assessment_criteria": [
{
"assessment_criteria": "Mid-Term Exam",
"maximum_score": 100
}
]
}
'import requests
url = "https://cucuniversity.edtools.co/api/resource/Assessment%20Plan"
payload = {
"assessment_name": "Examen Parcial 1",
"student_group": "CS-2025-A",
"assessment_group": "2024-25 (Exams)",
"grading_scale": "MsC",
"course": "Introduction to Programming",
"schedule_date": "2025-03-15",
"from_time": "09:00:00",
"to_time": "11:00:00",
"maximum_assessment_score": 100,
"room": "LAB-101",
"examiner": "EDU-INS-2025-00001",
"assessment_criteria": [
{
"assessment_criteria": "Mid-Term Exam",
"maximum_score": 100
}
]
}
headers = {
"Authorization": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
assessment_name: 'Examen Parcial 1',
student_group: 'CS-2025-A',
assessment_group: '2024-25 (Exams)',
grading_scale: 'MsC',
course: 'Introduction to Programming',
schedule_date: '2025-03-15',
from_time: '09:00:00',
to_time: '11:00:00',
maximum_assessment_score: 100,
room: 'LAB-101',
examiner: 'EDU-INS-2025-00001',
assessment_criteria: [{assessment_criteria: 'Mid-Term Exam', maximum_score: 100}]
})
};
fetch('https://cucuniversity.edtools.co/api/resource/Assessment%20Plan', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://cucuniversity.edtools.co/api/resource/Assessment%20Plan",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'assessment_name' => 'Examen Parcial 1',
'student_group' => 'CS-2025-A',
'assessment_group' => '2024-25 (Exams)',
'grading_scale' => 'MsC',
'course' => 'Introduction to Programming',
'schedule_date' => '2025-03-15',
'from_time' => '09:00:00',
'to_time' => '11:00:00',
'maximum_assessment_score' => 100,
'room' => 'LAB-101',
'examiner' => 'EDU-INS-2025-00001',
'assessment_criteria' => [
[
'assessment_criteria' => 'Mid-Term Exam',
'maximum_score' => 100
]
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://cucuniversity.edtools.co/api/resource/Assessment%20Plan"
payload := strings.NewReader("{\n \"assessment_name\": \"Examen Parcial 1\",\n \"student_group\": \"CS-2025-A\",\n \"assessment_group\": \"2024-25 (Exams)\",\n \"grading_scale\": \"MsC\",\n \"course\": \"Introduction to Programming\",\n \"schedule_date\": \"2025-03-15\",\n \"from_time\": \"09:00:00\",\n \"to_time\": \"11:00:00\",\n \"maximum_assessment_score\": 100,\n \"room\": \"LAB-101\",\n \"examiner\": \"EDU-INS-2025-00001\",\n \"assessment_criteria\": [\n {\n \"assessment_criteria\": \"Mid-Term Exam\",\n \"maximum_score\": 100\n }\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://cucuniversity.edtools.co/api/resource/Assessment%20Plan")
.header("Authorization", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"assessment_name\": \"Examen Parcial 1\",\n \"student_group\": \"CS-2025-A\",\n \"assessment_group\": \"2024-25 (Exams)\",\n \"grading_scale\": \"MsC\",\n \"course\": \"Introduction to Programming\",\n \"schedule_date\": \"2025-03-15\",\n \"from_time\": \"09:00:00\",\n \"to_time\": \"11:00:00\",\n \"maximum_assessment_score\": 100,\n \"room\": \"LAB-101\",\n \"examiner\": \"EDU-INS-2025-00001\",\n \"assessment_criteria\": [\n {\n \"assessment_criteria\": \"Mid-Term Exam\",\n \"maximum_score\": 100\n }\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://cucuniversity.edtools.co/api/resource/Assessment%20Plan")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"assessment_name\": \"Examen Parcial 1\",\n \"student_group\": \"CS-2025-A\",\n \"assessment_group\": \"2024-25 (Exams)\",\n \"grading_scale\": \"MsC\",\n \"course\": \"Introduction to Programming\",\n \"schedule_date\": \"2025-03-15\",\n \"from_time\": \"09:00:00\",\n \"to_time\": \"11:00:00\",\n \"maximum_assessment_score\": 100,\n \"room\": \"LAB-101\",\n \"examiner\": \"EDU-INS-2025-00001\",\n \"assessment_criteria\": [\n {\n \"assessment_criteria\": \"Mid-Term Exam\",\n \"maximum_score\": 100\n }\n ]\n}"
response = http.request(request)
puts response.read_body