Currícula docs

Default

addStudentEval

Agrega una evaluación a un modelo de estudiante


/Estudiante/AddEvaluation

Usage and SDK Samples

curl -X POST\
-H "Accept: application/xml"\
-H "Content-Type: application/xml"\
"http://localhost:8080/curricula_microservice/Estudiante/AddEvaluation?faculty=&career=&plan=&curricularUnit=&evaluation=¬a="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String faculty = faculty_example; // String | Nombre de facultad
        String career = career_example; // String | Nombre de carrera
        Integer plan = 56; // Integer | Id de plan
        String curricularUnit = curricularUnit_example; // String | Id de UC
        String evaluation = evaluation_example; // String | Id de evaluación
        Integer nota = 56; // Integer | Nota obtenida
        RootEstudiante body = ; // RootEstudiante | Modelo .xmi de estudiante
        try {
            RootEstudiante result = apiInstance.addStudentEval(faculty, career, plan, curricularUnit, evaluation, nota, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#addStudentEval");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String faculty = faculty_example; // String | Nombre de facultad
        String career = career_example; // String | Nombre de carrera
        Integer plan = 56; // Integer | Id de plan
        String curricularUnit = curricularUnit_example; // String | Id de UC
        String evaluation = evaluation_example; // String | Id de evaluación
        Integer nota = 56; // Integer | Nota obtenida
        RootEstudiante body = ; // RootEstudiante | Modelo .xmi de estudiante
        try {
            RootEstudiante result = apiInstance.addStudentEval(faculty, career, plan, curricularUnit, evaluation, nota, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#addStudentEval");
            e.printStackTrace();
        }
    }
}
String *faculty = faculty_example; // Nombre de facultad
String *career = career_example; // Nombre de carrera
Integer *plan = 56; // Id de plan
String *curricularUnit = curricularUnit_example; // Id de UC
String *evaluation = evaluation_example; // Id de evaluación
Integer *nota = 56; // Nota obtenida
RootEstudiante *body = ; // Modelo .xmi de estudiante (optional)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Agrega una evaluación a un modelo de estudiante
[apiInstance addStudentEvalWith:faculty
    career:career
    plan:plan
    curricularUnit:curricularUnit
    evaluation:evaluation
    nota:nota
    body:body
              completionHandler: ^(RootEstudiante output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var CurrculaDocs = require('currcula_docs');

var api = new CurrculaDocs.DefaultApi()
var faculty = faculty_example; // {{String}} Nombre de facultad
var career = career_example; // {{String}} Nombre de carrera
var plan = 56; // {{Integer}} Id de plan
var curricularUnit = curricularUnit_example; // {{String}} Id de UC
var evaluation = evaluation_example; // {{String}} Id de evaluación
var nota = 56; // {{Integer}} Nota obtenida
var opts = { 
  'body':  // {{RootEstudiante}} Modelo .xmi de estudiante
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.addStudentEval(facultycareerplancurricularUnitevaluationnota, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class addStudentEvalExample
    {
        public void main()
        {

            var apiInstance = new DefaultApi();
            var faculty = faculty_example;  // String | Nombre de facultad
            var career = career_example;  // String | Nombre de carrera
            var plan = 56;  // Integer | Id de plan
            var curricularUnit = curricularUnit_example;  // String | Id de UC
            var evaluation = evaluation_example;  // String | Id de evaluación
            var nota = 56;  // Integer | Nota obtenida
            var body = new RootEstudiante(); // RootEstudiante | Modelo .xmi de estudiante (optional) 

            try
            {
                // Agrega una evaluación a un modelo de estudiante
                RootEstudiante result = apiInstance.addStudentEval(faculty, career, plan, curricularUnit, evaluation, nota, body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.addStudentEval: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiDefaultApi();
$faculty = faculty_example; // String | Nombre de facultad
$career = career_example; // String | Nombre de carrera
$plan = 56; // Integer | Id de plan
$curricularUnit = curricularUnit_example; // String | Id de UC
$evaluation = evaluation_example; // String | Id de evaluación
$nota = 56; // Integer | Nota obtenida
$body = ; // RootEstudiante | Modelo .xmi de estudiante

try {
    $result = $api_instance->addStudentEval($faculty, $career, $plan, $curricularUnit, $evaluation, $nota, $body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->addStudentEval: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $faculty = faculty_example; # String | Nombre de facultad
my $career = career_example; # String | Nombre de carrera
my $plan = 56; # Integer | Id de plan
my $curricularUnit = curricularUnit_example; # String | Id de UC
my $evaluation = evaluation_example; # String | Id de evaluación
my $nota = 56; # Integer | Nota obtenida
my $body = WWW::SwaggerClient::Object::RootEstudiante->new(); # RootEstudiante | Modelo .xmi de estudiante

eval { 
    my $result = $api_instance->addStudentEval(faculty => $faculty, career => $career, plan => $plan, curricularUnit => $curricularUnit, evaluation => $evaluation, nota => $nota, body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->addStudentEval: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
faculty = faculty_example # String | Nombre de facultad
career = career_example # String | Nombre de carrera
plan = 56 # Integer | Id de plan
curricularUnit = curricularUnit_example # String | Id de UC
evaluation = evaluation_example # String | Id de evaluación
nota = 56 # Integer | Nota obtenida
body =  # RootEstudiante | Modelo .xmi de estudiante (optional)

try: 
    # Agrega una evaluación a un modelo de estudiante
    api_response = api_instance.add_student_eval(faculty, career, plan, curricularUnit, evaluation, nota, body=body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->addStudentEval: %s\n" % e)

Parameters

Body parameters
Name Description
body
Query parameters
Name Description
faculty*
String
Nombre de facultad
Required
career*
String
Nombre de carrera
Required
plan*
Integer
Id de plan
Required
curricularUnit*
String
Id de UC
Required
evaluation*
String
Id de evaluación
Required
nota*
Integer
Nota obtenida
Required

Responses

Status: 200 - Success

Status: 404 - Subject not found


addStudentPlan

Agrega una inscripción a plan a un modelo de estudiante


/Estudiante/AddPlan

Usage and SDK Samples

curl -X POST\
-H "Accept: application/xml"\
-H "Content-Type: application/xml"\
"http://localhost:8080/curricula_microservice/Estudiante/AddPlan?faculty=&career=&plan=&date="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String faculty = faculty_example; // String | Nombre de facultad
        String career = career_example; // String | Nombre de carrera
        Integer plan = 56; // Integer | Id de plan
        String date = date_example; // String | Fecha de inscripción
        RootEstudiante body = ; // RootEstudiante | Modelo .xmi de estudiante
        try {
            RootEstudiante result = apiInstance.addStudentPlan(faculty, career, plan, date, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#addStudentPlan");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String faculty = faculty_example; // String | Nombre de facultad
        String career = career_example; // String | Nombre de carrera
        Integer plan = 56; // Integer | Id de plan
        String date = date_example; // String | Fecha de inscripción
        RootEstudiante body = ; // RootEstudiante | Modelo .xmi de estudiante
        try {
            RootEstudiante result = apiInstance.addStudentPlan(faculty, career, plan, date, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#addStudentPlan");
            e.printStackTrace();
        }
    }
}
String *faculty = faculty_example; // Nombre de facultad
String *career = career_example; // Nombre de carrera
Integer *plan = 56; // Id de plan
String *date = date_example; // Fecha de inscripción
RootEstudiante *body = ; // Modelo .xmi de estudiante (optional)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Agrega una inscripción a plan a un modelo de estudiante
[apiInstance addStudentPlanWith:faculty
    career:career
    plan:plan
    date:date
    body:body
              completionHandler: ^(RootEstudiante output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var CurrculaDocs = require('currcula_docs');

var api = new CurrculaDocs.DefaultApi()
var faculty = faculty_example; // {{String}} Nombre de facultad
var career = career_example; // {{String}} Nombre de carrera
var plan = 56; // {{Integer}} Id de plan
var date = date_example; // {{String}} Fecha de inscripción
var opts = { 
  'body':  // {{RootEstudiante}} Modelo .xmi de estudiante
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.addStudentPlan(facultycareerplandate, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class addStudentPlanExample
    {
        public void main()
        {

            var apiInstance = new DefaultApi();
            var faculty = faculty_example;  // String | Nombre de facultad
            var career = career_example;  // String | Nombre de carrera
            var plan = 56;  // Integer | Id de plan
            var date = date_example;  // String | Fecha de inscripción
            var body = new RootEstudiante(); // RootEstudiante | Modelo .xmi de estudiante (optional) 

            try
            {
                // Agrega una inscripción a plan a un modelo de estudiante
                RootEstudiante result = apiInstance.addStudentPlan(faculty, career, plan, date, body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.addStudentPlan: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiDefaultApi();
$faculty = faculty_example; // String | Nombre de facultad
$career = career_example; // String | Nombre de carrera
$plan = 56; // Integer | Id de plan
$date = date_example; // String | Fecha de inscripción
$body = ; // RootEstudiante | Modelo .xmi de estudiante

try {
    $result = $api_instance->addStudentPlan($faculty, $career, $plan, $date, $body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->addStudentPlan: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $faculty = faculty_example; # String | Nombre de facultad
my $career = career_example; # String | Nombre de carrera
my $plan = 56; # Integer | Id de plan
my $date = date_example; # String | Fecha de inscripción
my $body = WWW::SwaggerClient::Object::RootEstudiante->new(); # RootEstudiante | Modelo .xmi de estudiante

eval { 
    my $result = $api_instance->addStudentPlan(faculty => $faculty, career => $career, plan => $plan, date => $date, body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->addStudentPlan: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
faculty = faculty_example # String | Nombre de facultad
career = career_example # String | Nombre de carrera
plan = 56 # Integer | Id de plan
date = date_example # String | Fecha de inscripción
body =  # RootEstudiante | Modelo .xmi de estudiante (optional)

try: 
    # Agrega una inscripción a plan a un modelo de estudiante
    api_response = api_instance.add_student_plan(faculty, career, plan, date, body=body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->addStudentPlan: %s\n" % e)

Parameters

Body parameters
Name Description
body
Query parameters
Name Description
faculty*
String
Nombre de facultad
Required
career*
String
Nombre de carrera
Required
plan*
Integer
Id de plan
Required
date*
String
Fecha de inscripción
Required

Responses

Status: 200 - Success

Status: 404 - Plan not found


createStudentModel

Crear modelo de estudiante


/Estudiante

Usage and SDK Samples

curl -X GET\
-H "Accept: application/xml"\
"http://localhost:8080/curricula_microservice/Estudiante?name=&id="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String name = name_example; // String | Nombre de Estudiante
        String id = id_example; // String | ID de Estudiante
        try {
            Estudiante result = apiInstance.createStudentModel(name, id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#createStudentModel");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String name = name_example; // String | Nombre de Estudiante
        String id = id_example; // String | ID de Estudiante
        try {
            Estudiante result = apiInstance.createStudentModel(name, id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#createStudentModel");
            e.printStackTrace();
        }
    }
}
String *name = name_example; // Nombre de Estudiante
String *id = id_example; // ID de Estudiante

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Crear modelo de estudiante
[apiInstance createStudentModelWith:name
    id:id
              completionHandler: ^(Estudiante output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var CurrculaDocs = require('currcula_docs');

var api = new CurrculaDocs.DefaultApi()
var name = name_example; // {{String}} Nombre de Estudiante
var id = id_example; // {{String}} ID de Estudiante

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.createStudentModel(name, id, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class createStudentModelExample
    {
        public void main()
        {

            var apiInstance = new DefaultApi();
            var name = name_example;  // String | Nombre de Estudiante
            var id = id_example;  // String | ID de Estudiante

            try
            {
                // Crear modelo de estudiante
                Estudiante result = apiInstance.createStudentModel(name, id);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.createStudentModel: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiDefaultApi();
$name = name_example; // String | Nombre de Estudiante
$id = id_example; // String | ID de Estudiante

try {
    $result = $api_instance->createStudentModel($name, $id);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->createStudentModel: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $name = name_example; # String | Nombre de Estudiante
my $id = id_example; # String | ID de Estudiante

eval { 
    my $result = $api_instance->createStudentModel(name => $name, id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->createStudentModel: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
name = name_example # String | Nombre de Estudiante
id = id_example # String | ID de Estudiante

try: 
    # Crear modelo de estudiante
    api_response = api_instance.create_student_model(name, id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->createStudentModel: %s\n" % e)

Parameters

Query parameters
Name Description
name*
String
Nombre de Estudiante
Required
id*
String
ID de Estudiante
Required

Responses

Status: 200 - Successful operation


eval

Evalúa los requerimientos de un estudiante en una UC en específico en el modelo


/Faculty/ucs/eval

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/xml"\
"http://localhost:8080/curricula_microservice/Faculty/ucs/eval?faculty=&curricularUnit="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String faculty = faculty_example; // String | Nombre de facultad
        String curricularUnit = curricularUnit_example; // String | Id de UC
        RootEstudiante body = ; // RootEstudiante | Modelo .xmi de estudiante
        try {
            'Boolean' result = apiInstance.eval(faculty, curricularUnit, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#eval");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String faculty = faculty_example; // String | Nombre de facultad
        String curricularUnit = curricularUnit_example; // String | Id de UC
        RootEstudiante body = ; // RootEstudiante | Modelo .xmi de estudiante
        try {
            'Boolean' result = apiInstance.eval(faculty, curricularUnit, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#eval");
            e.printStackTrace();
        }
    }
}
String *faculty = faculty_example; // Nombre de facultad
String *curricularUnit = curricularUnit_example; // Id de UC
RootEstudiante *body = ; // Modelo .xmi de estudiante (optional)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Evalúa los requerimientos de un estudiante en una UC en específico en el modelo
[apiInstance evalWith:faculty
    curricularUnit:curricularUnit
    body:body
              completionHandler: ^('Boolean' output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var CurrculaDocs = require('currcula_docs');

var api = new CurrculaDocs.DefaultApi()
var faculty = faculty_example; // {{String}} Nombre de facultad
var curricularUnit = curricularUnit_example; // {{String}} Id de UC
var opts = { 
  'body':  // {{RootEstudiante}} Modelo .xmi de estudiante
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.eval(facultycurricularUnit, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class evalExample
    {
        public void main()
        {

            var apiInstance = new DefaultApi();
            var faculty = faculty_example;  // String | Nombre de facultad
            var curricularUnit = curricularUnit_example;  // String | Id de UC
            var body = new RootEstudiante(); // RootEstudiante | Modelo .xmi de estudiante (optional) 

            try
            {
                // Evalúa los requerimientos de un estudiante en una UC en específico en el modelo
                'Boolean' result = apiInstance.eval(faculty, curricularUnit, body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.eval: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiDefaultApi();
$faculty = faculty_example; // String | Nombre de facultad
$curricularUnit = curricularUnit_example; // String | Id de UC
$body = ; // RootEstudiante | Modelo .xmi de estudiante

try {
    $result = $api_instance->eval($faculty, $curricularUnit, $body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->eval: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $faculty = faculty_example; # String | Nombre de facultad
my $curricularUnit = curricularUnit_example; # String | Id de UC
my $body = WWW::SwaggerClient::Object::RootEstudiante->new(); # RootEstudiante | Modelo .xmi de estudiante

eval { 
    my $result = $api_instance->eval(faculty => $faculty, curricularUnit => $curricularUnit, body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->eval: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
faculty = faculty_example # String | Nombre de facultad
curricularUnit = curricularUnit_example # String | Id de UC
body =  # RootEstudiante | Modelo .xmi de estudiante (optional)

try: 
    # Evalúa los requerimientos de un estudiante en una UC en específico en el modelo
    api_response = api_instance.eval(faculty, curricularUnit, body=body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->eval: %s\n" % e)

Parameters

Body parameters
Name Description
body
Query parameters
Name Description
faculty*
String
Nombre de facultad
Required
curricularUnit*
String
Id de UC
Required

Responses

Status: 200 - Success

Status: 404 - Subject not found


evalPlan

Evalúa qué UCs puede cursar un estudiante


/Faculty/Carrera/Plan/eval

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/xml"\
"http://localhost:8080/curricula_microservice/Faculty/Carrera/Plan/eval?faculty=&career=&plan="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String faculty = faculty_example; // String | Nombre de facultad
        String career = career_example; // String | Nombre de carrera
        Integer plan = 56; // Integer | Plan
        RootEstudiante body = ; // RootEstudiante | Modelo de estudiante
        try {
            array['String'] result = apiInstance.evalPlan(faculty, career, plan, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#evalPlan");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String faculty = faculty_example; // String | Nombre de facultad
        String career = career_example; // String | Nombre de carrera
        Integer plan = 56; // Integer | Plan
        RootEstudiante body = ; // RootEstudiante | Modelo de estudiante
        try {
            array['String'] result = apiInstance.evalPlan(faculty, career, plan, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#evalPlan");
            e.printStackTrace();
        }
    }
}
String *faculty = faculty_example; // Nombre de facultad
String *career = career_example; // Nombre de carrera
Integer *plan = 56; // Plan
RootEstudiante *body = ; // Modelo de estudiante (optional)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Evalúa qué UCs puede cursar un estudiante
[apiInstance evalPlanWith:faculty
    career:career
    plan:plan
    body:body
              completionHandler: ^(array['String'] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var CurrculaDocs = require('currcula_docs');

var api = new CurrculaDocs.DefaultApi()
var faculty = faculty_example; // {{String}} Nombre de facultad
var career = career_example; // {{String}} Nombre de carrera
var plan = 56; // {{Integer}} Plan
var opts = { 
  'body':  // {{RootEstudiante}} Modelo de estudiante
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.evalPlan(facultycareerplan, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class evalPlanExample
    {
        public void main()
        {

            var apiInstance = new DefaultApi();
            var faculty = faculty_example;  // String | Nombre de facultad
            var career = career_example;  // String | Nombre de carrera
            var plan = 56;  // Integer | Plan
            var body = new RootEstudiante(); // RootEstudiante | Modelo de estudiante (optional) 

            try
            {
                // Evalúa qué UCs puede cursar un estudiante
                array['String'] result = apiInstance.evalPlan(faculty, career, plan, body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.evalPlan: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiDefaultApi();
$faculty = faculty_example; // String | Nombre de facultad
$career = career_example; // String | Nombre de carrera
$plan = 56; // Integer | Plan
$body = ; // RootEstudiante | Modelo de estudiante

try {
    $result = $api_instance->evalPlan($faculty, $career, $plan, $body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->evalPlan: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $faculty = faculty_example; # String | Nombre de facultad
my $career = career_example; # String | Nombre de carrera
my $plan = 56; # Integer | Plan
my $body = WWW::SwaggerClient::Object::RootEstudiante->new(); # RootEstudiante | Modelo de estudiante

eval { 
    my $result = $api_instance->evalPlan(faculty => $faculty, career => $career, plan => $plan, body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->evalPlan: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
faculty = faculty_example # String | Nombre de facultad
career = career_example # String | Nombre de carrera
plan = 56 # Integer | Plan
body =  # RootEstudiante | Modelo de estudiante (optional)

try: 
    # Evalúa qué UCs puede cursar un estudiante
    api_response = api_instance.eval_plan(faculty, career, plan, body=body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->evalPlan: %s\n" % e)

Parameters

Body parameters
Name Description
body
Query parameters
Name Description
faculty*
String
Nombre de facultad
Required
career*
String
Nombre de carrera
Required
plan*
Integer
Plan
Required

Responses

Status: 200 - Success

Status: 400 - Malformed request

Status: 404 - Plan not found


evaluations

Obtiene las evaluaciones de un estudiante (sin fecha)


/Faculty/Carrera/Plan/evaluations

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/xml"\
"http://localhost:8080/curricula_microservice/Faculty/Carrera/Plan/evaluations?faculty=&career=&plan="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String faculty = faculty_example; // String | Nombre de facultad
        String career = career_example; // String | Nombre de carrera
        Integer plan = 56; // Integer | Plan
        RootEstudiante body = ; // RootEstudiante | Modelo .xmi de estudiante
        try {
            array[StudentEvaluation] result = apiInstance.evaluations(faculty, career, plan, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#evaluations");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String faculty = faculty_example; // String | Nombre de facultad
        String career = career_example; // String | Nombre de carrera
        Integer plan = 56; // Integer | Plan
        RootEstudiante body = ; // RootEstudiante | Modelo .xmi de estudiante
        try {
            array[StudentEvaluation] result = apiInstance.evaluations(faculty, career, plan, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#evaluations");
            e.printStackTrace();
        }
    }
}
String *faculty = faculty_example; // Nombre de facultad
String *career = career_example; // Nombre de carrera
Integer *plan = 56; // Plan
RootEstudiante *body = ; // Modelo .xmi de estudiante (optional)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Obtiene las evaluaciones de un estudiante (sin fecha)
[apiInstance evaluationsWith:faculty
    career:career
    plan:plan
    body:body
              completionHandler: ^(array[StudentEvaluation] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var CurrculaDocs = require('currcula_docs');

var api = new CurrculaDocs.DefaultApi()
var faculty = faculty_example; // {{String}} Nombre de facultad
var career = career_example; // {{String}} Nombre de carrera
var plan = 56; // {{Integer}} Plan
var opts = { 
  'body':  // {{RootEstudiante}} Modelo .xmi de estudiante
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.evaluations(facultycareerplan, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class evaluationsExample
    {
        public void main()
        {

            var apiInstance = new DefaultApi();
            var faculty = faculty_example;  // String | Nombre de facultad
            var career = career_example;  // String | Nombre de carrera
            var plan = 56;  // Integer | Plan
            var body = new RootEstudiante(); // RootEstudiante | Modelo .xmi de estudiante (optional) 

            try
            {
                // Obtiene las evaluaciones de un estudiante (sin fecha)
                array[StudentEvaluation] result = apiInstance.evaluations(faculty, career, plan, body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.evaluations: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiDefaultApi();
$faculty = faculty_example; // String | Nombre de facultad
$career = career_example; // String | Nombre de carrera
$plan = 56; // Integer | Plan
$body = ; // RootEstudiante | Modelo .xmi de estudiante

try {
    $result = $api_instance->evaluations($faculty, $career, $plan, $body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->evaluations: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $faculty = faculty_example; # String | Nombre de facultad
my $career = career_example; # String | Nombre de carrera
my $plan = 56; # Integer | Plan
my $body = WWW::SwaggerClient::Object::RootEstudiante->new(); # RootEstudiante | Modelo .xmi de estudiante

eval { 
    my $result = $api_instance->evaluations(faculty => $faculty, career => $career, plan => $plan, body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->evaluations: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
faculty = faculty_example # String | Nombre de facultad
career = career_example # String | Nombre de carrera
plan = 56 # Integer | Plan
body =  # RootEstudiante | Modelo .xmi de estudiante (optional)

try: 
    # Obtiene las evaluaciones de un estudiante (sin fecha)
    api_response = api_instance.evaluations(faculty, career, plan, body=body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->evaluations: %s\n" % e)

Parameters

Body parameters
Name Description
body
Query parameters
Name Description
faculty*
String
Nombre de facultad
Required
career*
String
Nombre de carrera
Required
plan*
Integer
Plan
Required

Responses

Status: 200 - Success

Status: 404 - Plan not found


getCarrera

Obtener información de una carrera


/Faculty/Carrera

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"http://localhost:8080/curricula_microservice/Faculty/Carrera?faculty=&career="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String faculty = faculty_example; // String | Nombre de facultad
        String career = career_example; // String | Nombre de carrera
        try {
            Carrera result = apiInstance.getCarrera(faculty, career);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getCarrera");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String faculty = faculty_example; // String | Nombre de facultad
        String career = career_example; // String | Nombre de carrera
        try {
            Carrera result = apiInstance.getCarrera(faculty, career);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getCarrera");
            e.printStackTrace();
        }
    }
}
String *faculty = faculty_example; // Nombre de facultad
String *career = career_example; // Nombre de carrera

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Obtener información de una carrera
[apiInstance getCarreraWith:faculty
    career:career
              completionHandler: ^(Carrera output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var CurrculaDocs = require('currcula_docs');

var api = new CurrculaDocs.DefaultApi()
var faculty = faculty_example; // {{String}} Nombre de facultad
var career = career_example; // {{String}} Nombre de carrera

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getCarrera(faculty, career, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getCarreraExample
    {
        public void main()
        {

            var apiInstance = new DefaultApi();
            var faculty = faculty_example;  // String | Nombre de facultad
            var career = career_example;  // String | Nombre de carrera

            try
            {
                // Obtener información de una carrera
                Carrera result = apiInstance.getCarrera(faculty, career);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.getCarrera: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiDefaultApi();
$faculty = faculty_example; // String | Nombre de facultad
$career = career_example; // String | Nombre de carrera

try {
    $result = $api_instance->getCarrera($faculty, $career);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->getCarrera: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $faculty = faculty_example; # String | Nombre de facultad
my $career = career_example; # String | Nombre de carrera

eval { 
    my $result = $api_instance->getCarrera(faculty => $faculty, career => $career);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->getCarrera: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
faculty = faculty_example # String | Nombre de facultad
career = career_example # String | Nombre de carrera

try: 
    # Obtener información de una carrera
    api_response = api_instance.get_carrera(faculty, career)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->getCarrera: %s\n" % e)

Parameters

Query parameters
Name Description
faculty*
String
Nombre de facultad
Required
career*
String
Nombre de carrera
Required

Responses

Status: 200 - Successful operation

Status: 404 - Career not found


getFaculty

Obtener información de una facultad


/Faculty

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"http://localhost:8080/curricula_microservice/Faculty?faculty="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String faculty = faculty_example; // String | Nombre de Facultad
        try {
            Facultad result = apiInstance.getFaculty(faculty);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getFaculty");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String faculty = faculty_example; // String | Nombre de Facultad
        try {
            Facultad result = apiInstance.getFaculty(faculty);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getFaculty");
            e.printStackTrace();
        }
    }
}
String *faculty = faculty_example; // Nombre de Facultad

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Obtener información de una facultad
[apiInstance getFacultyWith:faculty
              completionHandler: ^(Facultad output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var CurrculaDocs = require('currcula_docs');

var api = new CurrculaDocs.DefaultApi()
var faculty = faculty_example; // {{String}} Nombre de Facultad

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getFaculty(faculty, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getFacultyExample
    {
        public void main()
        {

            var apiInstance = new DefaultApi();
            var faculty = faculty_example;  // String | Nombre de Facultad

            try
            {
                // Obtener información de una facultad
                Facultad result = apiInstance.getFaculty(faculty);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.getFaculty: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiDefaultApi();
$faculty = faculty_example; // String | Nombre de Facultad

try {
    $result = $api_instance->getFaculty($faculty);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->getFaculty: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $faculty = faculty_example; # String | Nombre de Facultad

eval { 
    my $result = $api_instance->getFaculty(faculty => $faculty);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->getFaculty: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
faculty = faculty_example # String | Nombre de Facultad

try: 
    # Obtener información de una facultad
    api_response = api_instance.get_faculty(faculty)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->getFaculty: %s\n" % e)

Parameters

Query parameters
Name Description
faculty*
String
Nombre de Facultad
Required

Responses

Status: 200 - Successful operation

Status: 404 - Facultad not found


getPlan

Obtener información de un plan


/Faculty/Carrera/Plan

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"http://localhost:8080/curricula_microservice/Faculty/Carrera/Plan?faculty=&career=&plan="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String faculty = faculty_example; // String | Nombre de facultad
        String career = career_example; // String | Nombre de carrera
        Integer plan = 56; // Integer | Plan
        try {
            Plan result = apiInstance.getPlan(faculty, career, plan);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getPlan");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String faculty = faculty_example; // String | Nombre de facultad
        String career = career_example; // String | Nombre de carrera
        Integer plan = 56; // Integer | Plan
        try {
            Plan result = apiInstance.getPlan(faculty, career, plan);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getPlan");
            e.printStackTrace();
        }
    }
}
String *faculty = faculty_example; // Nombre de facultad
String *career = career_example; // Nombre de carrera
Integer *plan = 56; // Plan

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Obtener información de un plan
[apiInstance getPlanWith:faculty
    career:career
    plan:plan
              completionHandler: ^(Plan output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var CurrculaDocs = require('currcula_docs');

var api = new CurrculaDocs.DefaultApi()
var faculty = faculty_example; // {{String}} Nombre de facultad
var career = career_example; // {{String}} Nombre de carrera
var plan = 56; // {{Integer}} Plan

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getPlan(faculty, career, plan, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getPlanExample
    {
        public void main()
        {

            var apiInstance = new DefaultApi();
            var faculty = faculty_example;  // String | Nombre de facultad
            var career = career_example;  // String | Nombre de carrera
            var plan = 56;  // Integer | Plan

            try
            {
                // Obtener información de un plan
                Plan result = apiInstance.getPlan(faculty, career, plan);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.getPlan: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiDefaultApi();
$faculty = faculty_example; // String | Nombre de facultad
$career = career_example; // String | Nombre de carrera
$plan = 56; // Integer | Plan

try {
    $result = $api_instance->getPlan($faculty, $career, $plan);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->getPlan: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $faculty = faculty_example; # String | Nombre de facultad
my $career = career_example; # String | Nombre de carrera
my $plan = 56; # Integer | Plan

eval { 
    my $result = $api_instance->getPlan(faculty => $faculty, career => $career, plan => $plan);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->getPlan: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
faculty = faculty_example # String | Nombre de facultad
career = career_example # String | Nombre de carrera
plan = 56 # Integer | Plan

try: 
    # Obtener información de un plan
    api_response = api_instance.get_plan(faculty, career, plan)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->getPlan: %s\n" % e)

Parameters

Query parameters
Name Description
faculty*
String
Nombre de facultad
Required
career*
String
Nombre de carrera
Required
plan*
Integer
Plan
Required

Responses

Status: 200 - Successful operation

Status: 404 - Plan not found


getPlanSubject

Obtener información de una materia en un plan


/Faculty/Carrera/Plan/Subjects

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"http://localhost:8080/curricula_microservice/Faculty/Carrera/Plan/Subjects?faculty=&career=&plan=&subject="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String faculty = faculty_example; // String | Nombre de facultad
        String career = career_example; // String | Nombre de carrera
        Integer plan = 56; // Integer | Plan
        String subject = subject_example; // String | Nombre de materia
        try {
            materia result = apiInstance.getPlanSubject(faculty, career, plan, subject);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getPlanSubject");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String faculty = faculty_example; // String | Nombre de facultad
        String career = career_example; // String | Nombre de carrera
        Integer plan = 56; // Integer | Plan
        String subject = subject_example; // String | Nombre de materia
        try {
            materia result = apiInstance.getPlanSubject(faculty, career, plan, subject);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getPlanSubject");
            e.printStackTrace();
        }
    }
}
String *faculty = faculty_example; // Nombre de facultad
String *career = career_example; // Nombre de carrera
Integer *plan = 56; // Plan
String *subject = subject_example; // Nombre de materia

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Obtener información de una materia en un plan
[apiInstance getPlanSubjectWith:faculty
    career:career
    plan:plan
    subject:subject
              completionHandler: ^(materia output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var CurrculaDocs = require('currcula_docs');

var api = new CurrculaDocs.DefaultApi()
var faculty = faculty_example; // {{String}} Nombre de facultad
var career = career_example; // {{String}} Nombre de carrera
var plan = 56; // {{Integer}} Plan
var subject = subject_example; // {{String}} Nombre de materia

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getPlanSubject(faculty, career, plan, subject, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getPlanSubjectExample
    {
        public void main()
        {

            var apiInstance = new DefaultApi();
            var faculty = faculty_example;  // String | Nombre de facultad
            var career = career_example;  // String | Nombre de carrera
            var plan = 56;  // Integer | Plan
            var subject = subject_example;  // String | Nombre de materia

            try
            {
                // Obtener información de una materia en un plan
                materia result = apiInstance.getPlanSubject(faculty, career, plan, subject);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.getPlanSubject: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiDefaultApi();
$faculty = faculty_example; // String | Nombre de facultad
$career = career_example; // String | Nombre de carrera
$plan = 56; // Integer | Plan
$subject = subject_example; // String | Nombre de materia

try {
    $result = $api_instance->getPlanSubject($faculty, $career, $plan, $subject);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->getPlanSubject: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $faculty = faculty_example; # String | Nombre de facultad
my $career = career_example; # String | Nombre de carrera
my $plan = 56; # Integer | Plan
my $subject = subject_example; # String | Nombre de materia

eval { 
    my $result = $api_instance->getPlanSubject(faculty => $faculty, career => $career, plan => $plan, subject => $subject);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->getPlanSubject: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
faculty = faculty_example # String | Nombre de facultad
career = career_example # String | Nombre de carrera
plan = 56 # Integer | Plan
subject = subject_example # String | Nombre de materia

try: 
    # Obtener información de una materia en un plan
    api_response = api_instance.get_plan_subject(faculty, career, plan, subject)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->getPlanSubject: %s\n" % e)

Parameters

Query parameters
Name Description
faculty*
String
Nombre de facultad
Required
career*
String
Nombre de carrera
Required
plan*
Integer
Plan
Required
subject*
String
Nombre de materia
Required

Responses

Status: 200 - Successful operation

Status: 404 - subject not found


getUCPlan

Obtener información de las UCs de un plan


/Faculty/Carrera/Plan/ucs

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"http://localhost:8080/curricula_microservice/Faculty/Carrera/Plan/ucs?faculty=&career=&plan="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String faculty = faculty_example; // String | Nombre de facultad
        String career = career_example; // String | Nombre de carrera
        Integer plan = 56; // Integer | Plan
        try {
            array['String'] result = apiInstance.getUCPlan(faculty, career, plan);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getUCPlan");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String faculty = faculty_example; // String | Nombre de facultad
        String career = career_example; // String | Nombre de carrera
        Integer plan = 56; // Integer | Plan
        try {
            array['String'] result = apiInstance.getUCPlan(faculty, career, plan);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getUCPlan");
            e.printStackTrace();
        }
    }
}
String *faculty = faculty_example; // Nombre de facultad
String *career = career_example; // Nombre de carrera
Integer *plan = 56; // Plan

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Obtener información de las UCs de un plan
[apiInstance getUCPlanWith:faculty
    career:career
    plan:plan
              completionHandler: ^(array['String'] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var CurrculaDocs = require('currcula_docs');

var api = new CurrculaDocs.DefaultApi()
var faculty = faculty_example; // {{String}} Nombre de facultad
var career = career_example; // {{String}} Nombre de carrera
var plan = 56; // {{Integer}} Plan

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getUCPlan(faculty, career, plan, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getUCPlanExample
    {
        public void main()
        {

            var apiInstance = new DefaultApi();
            var faculty = faculty_example;  // String | Nombre de facultad
            var career = career_example;  // String | Nombre de carrera
            var plan = 56;  // Integer | Plan

            try
            {
                // Obtener información de las UCs de un plan
                array['String'] result = apiInstance.getUCPlan(faculty, career, plan);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.getUCPlan: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiDefaultApi();
$faculty = faculty_example; // String | Nombre de facultad
$career = career_example; // String | Nombre de carrera
$plan = 56; // Integer | Plan

try {
    $result = $api_instance->getUCPlan($faculty, $career, $plan);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->getUCPlan: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $faculty = faculty_example; # String | Nombre de facultad
my $career = career_example; # String | Nombre de carrera
my $plan = 56; # Integer | Plan

eval { 
    my $result = $api_instance->getUCPlan(faculty => $faculty, career => $career, plan => $plan);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->getUCPlan: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
faculty = faculty_example # String | Nombre de facultad
career = career_example # String | Nombre de carrera
plan = 56 # Integer | Plan

try: 
    # Obtener información de las UCs de un plan
    api_response = api_instance.get_uc_plan(faculty, career, plan)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->getUCPlan: %s\n" % e)

Parameters

Query parameters
Name Description
faculty*
String
Nombre de facultad
Required
career*
String
Nombre de carrera
Required
plan*
Integer
Plan
Required

Responses

Status: 200 - Successful operation

Status: 404 - Plan not found


getuc

Obtener información de una UC


/Faculty/ucs

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"http://localhost:8080/curricula_microservice/Faculty/ucs?faculty=&uc="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String faculty = faculty_example; // String | Nombre de facultad
        String uc = uc_example; // String | Id de UC
        try {
            uc result = apiInstance.getuc(faculty, uc);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getuc");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String faculty = faculty_example; // String | Nombre de facultad
        String uc = uc_example; // String | Id de UC
        try {
            uc result = apiInstance.getuc(faculty, uc);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getuc");
            e.printStackTrace();
        }
    }
}
String *faculty = faculty_example; // Nombre de facultad
String *uc = uc_example; // Id de UC

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Obtener información de una UC
[apiInstance getucWith:faculty
    uc:uc
              completionHandler: ^(uc output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var CurrculaDocs = require('currcula_docs');

var api = new CurrculaDocs.DefaultApi()
var faculty = faculty_example; // {{String}} Nombre de facultad
var uc = uc_example; // {{String}} Id de UC

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getuc(faculty, uc, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getucExample
    {
        public void main()
        {

            var apiInstance = new DefaultApi();
            var faculty = faculty_example;  // String | Nombre de facultad
            var uc = uc_example;  // String | Id de UC

            try
            {
                // Obtener información de una UC
                uc result = apiInstance.getuc(faculty, uc);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.getuc: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiDefaultApi();
$faculty = faculty_example; // String | Nombre de facultad
$uc = uc_example; // String | Id de UC

try {
    $result = $api_instance->getuc($faculty, $uc);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->getuc: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $faculty = faculty_example; # String | Nombre de facultad
my $uc = uc_example; # String | Id de UC

eval { 
    my $result = $api_instance->getuc(faculty => $faculty, uc => $uc);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->getuc: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
faculty = faculty_example # String | Nombre de facultad
uc = uc_example # String | Id de UC

try: 
    # Obtener información de una UC
    api_response = api_instance.getuc(faculty, uc)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->getuc: %s\n" % e)

Parameters

Query parameters
Name Description
faculty*
String
Nombre de facultad
Required
uc*
String
Id de UC
Required

Responses

Status: 200 - Successful operation

Status: 404 - uc not found