Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- swagger: '2.0'
- info:
- version: ''
- title: online school system
- description: |-
- ## Welcome
- This is a place to put general notes and extra information, for internal use.
- To get started designing/documenting this API, select a version on the left. # Title
- No Description
- host: 'localhost:9000'
- basePath: /api/v1
- schemes:
- - http
- consumes:
- - application/json
- produces:
- - application/json
- paths:
- /students:
- get:
- summary: Get students
- tags:
- - students
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/students_full'
- post:
- summary: Create students
- tags:
- - students
- parameters:
- - name: body
- in: body
- schema:
- $ref: '#/definitions/students_full'
- responses:
- '201':
- description: ''
- schema:
- $ref: '#/definitions/students_full'
- /hello/{name}:
- parameters:
- - name: name
- in: path
- required: true
- type: string
- get:
- summary: Say hello
- tags:
- - hello
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/hello'
- /accounts:
- get:
- summary: Get accounts
- tags:
- - accounts
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/students_full'
- post:
- summary: Create account
- tags:
- - accounts
- parameters:
- - name: body
- in: body
- schema:
- $ref: '#/definitions/accounts_full'
- responses:
- '201':
- description: ''
- schema:
- type: object
- properties:
- id:
- type: integer
- last_name:
- type: string
- first_name:
- type: string
- middle_name:
- type: string
- email:
- type: string
- gender:
- type: string
- birth_year:
- type: integer
- birth_month:
- type: integer
- birth_day:
- type: integer
- school_id:
- type: integer
- school_name:
- type: string
- type:
- type: integer
- type_name:
- type: string
- current_balance:
- type: integer
- date_created:
- type: string
- date_updated:
- type: string
- password:
- type: string
- examples:
- application/json:
- id: 1
- last_name: Ong
- first_name: Miles
- middle_name: Nolasco
- email: miles.ong@seer_technologies.com
- gender: Male
- birth_year: 1993
- birth_month: 5
- birth_day: 10
- school_id: 1
- school_name: Ateneo de Manila University
- type: 4
- type_name: Student
- current_balance: 10000
- date_created: 1/18/2016
- date_updated: 7/18/2016
- /accounts/{id}:
- parameters:
- - name: id
- in: path
- required: true
- type: string
- put:
- summary: Update account
- tags:
- - accounts
- parameters:
- - name: body
- in: body
- schema:
- $ref: '#/definitions/accounts_full'
- responses:
- '200':
- description: ''
- schema:
- type: object
- properties:
- id:
- type: integer
- last_name:
- type: string
- first_name:
- type: string
- middle_name:
- type: string
- email:
- type: string
- gender:
- type: string
- birth_year:
- type: integer
- birth_month:
- type: integer
- birth_day:
- type: integer
- school_id:
- type: integer
- school_name:
- type: string
- type:
- type: integer
- type_name:
- type: string
- current_balance:
- type: integer
- date_created:
- type: string
- date_updated:
- type: string
- examples:
- application/json:
- id: 1
- last_name: Ong
- first_name: Miles
- middle_name: Nolasco
- email: miles.ong@seer_technologies.com
- gender: Male
- birth_year: 1993
- birth_month: 5
- birth_day: 10
- school_id: 1
- school_name: Ateneo de Manila University
- type: 4
- type_name: Student
- current_balance: 10000
- date_created: 1/18/2016
- date_updated: 7/18/2016
- delete:
- summary: Delete account
- tags:
- - accounts
- responses:
- '204':
- description: ''
- schema:
- type: object
- get:
- summary: Get account by id
- tags:
- - accounts
- responses:
- '200':
- description: ''
- schema:
- type: object
- properties:
- id:
- type: integer
- last_name:
- type: string
- first_name:
- type: string
- middle_name:
- type: string
- email:
- type: string
- gender:
- type: string
- birth_year:
- type: integer
- birth_month:
- type: integer
- birth_day:
- type: integer
- school_id:
- type: integer
- school_name:
- type: string
- type:
- type: integer
- type_name:
- type: string
- current_balance:
- type: integer
- date_created:
- type: string
- date_updated:
- type: string
- examples:
- application/json:
- id: 1
- last_name: Ong
- first_name: Miles
- middle_name: Nolasco
- email: miles.ong@seer_technologies.com
- gender: Male
- birth_year: 1993
- birth_month: 5
- birth_day: 10
- school_id: 1
- school_name: Ateneo de Manila University
- type: 4
- type_name: Student
- current_balance: 10000
- date_created: 1/18/2016
- date_updated: 7/18/2016
- /login:
- post:
- parameters:
- - name: body
- in: body
- schema:
- $ref: '#/definitions/user_login'
- responses:
- 200:
- description: ''
- schema:
- $ref: '#/definitions/user_login_response'
- /programs:
- get:
- summary: Get programs
- tags:
- - programs
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/programs_data_get'
- post:
- summary: Create new programs
- tags:
- - programs
- parameters:
- - name: body
- in: body
- schema:
- $ref: '#/definitions/programs_data'
- responses:
- '200':
- description: ''
- schema:
- type: object
- properties:
- product_id:
- type: integer
- product_code:
- type: string
- title:
- type: string
- description:
- type: string
- units:
- type: integer
- requirements:
- type: array
- items:
- type: object
- properties:
- course_id:
- type: integer
- course_code:
- type: string
- requirement_type:
- type: integer
- department_id:
- type: integer
- department_name:
- type: string
- published_price:
- type: integer
- product_type:
- type: integer
- examples:
- application/json:
- product_id: 0
- product_code: string
- title: string
- description: string
- units: 0
- requirements:
- - course_id: 0
- course_code: string
- requirement_type: 0
- department_id: 0
- department_name: string
- published_price: 0
- product_type: 0
- /programs/{id}:
- parameters:
- - name: id
- in: path
- required: true
- type: string
- put:
- summary: Update program information.
- tags:
- - programs
- parameters:
- - name: body
- in: body
- schema:
- $ref: '#/definitions/programs_data'
- responses:
- '200':
- description: ''
- schema:
- type: object
- properties:
- product_id:
- type: integer
- product_code:
- type: string
- title:
- type: string
- description:
- type: string
- units:
- type: integer
- requirements:
- type: array
- items:
- type: object
- properties:
- course_id:
- type: integer
- course_code:
- type: string
- requirement_type:
- type: integer
- department_id:
- type: integer
- department_name:
- type: string
- published_price:
- type: integer
- product_type:
- type: integer
- examples:
- application/json:
- product_id: 0
- product_code: string
- title: string
- description: string
- units: 0
- requirements:
- - course_id: 0
- course_code: string
- requirement_type: 0
- department_id: 0
- department_name: string
- published_price: 0
- product_type: 0
- get:
- summary: Get specific program information
- tags:
- - programs
- responses:
- '200':
- description: ''
- schema:
- type: object
- properties:
- product_id:
- type: integer
- product_code:
- type: string
- title:
- type: string
- description:
- type: string
- units:
- type: integer
- requirements:
- type: array
- items:
- type: object
- properties:
- course_id:
- type: integer
- course_code:
- type: string
- requirement_type:
- type: integer
- department_id:
- type: integer
- department_name:
- type: string
- published_price:
- type: integer
- product_type:
- type: integer
- examples:
- application/json:
- product_id: 0
- product_code: string
- title: string
- description: string
- units: 0
- requirements:
- - course_id: 0
- course_code: string
- requirement_type: 0
- department_id: 0
- department_name: string
- published_price: 0
- product_type: 0
- delete:
- summary: Delete specific program
- tags:
- - programs
- responses:
- '204':
- description: ''
- /programs/{id}/student_count:
- parameters:
- - name: id
- in: path
- required: true
- type: integer
- get:
- operationId: 'modules.programs.get_specific_students_count'
- summary: Get count of students enrolled.
- tags:
- - programs
- responses:
- '200':
- description: ''
- schema:
- type: object
- properties:
- data:
- type: array
- items:
- type: object
- properties:
- program:
- type: string
- student_count:
- type: integer
- id:
- type: integer
- /programs/student_count:
- get:
- operationId: 'modules.programs.get_all_students_count'
- summary: Get count of students enrolled.
- tags:
- - programs
- responses:
- '200':
- description: ''
- schema:
- type: object
- properties:
- data:
- type: array
- items:
- type: object
- properties:
- program:
- type: string
- student_count:
- type: integer
- id:
- type: integer
- /courses:
- get:
- summary: Get courses
- tags:
- - courses
- responses:
- '200':
- description: ''
- schema:
- type: array
- items:
- type: object
- properties:
- course_id:
- type: integer
- course_code:
- type: string
- title:
- type: string
- description:
- type: string
- units:
- type: integer
- requirements:
- type: array
- items:
- type: object
- properties:
- course_id:
- type: integer
- course_code:
- type: string
- requirement_type:
- type: integer
- department_id:
- type: integer
- department_name:
- type: string
- published_price:
- type: integer
- product_type:
- type: integer
- examples:
- application/json:
- - course_id: 0
- course_code: string
- title: string
- description: string
- units: 0
- requirements:
- - course_id: 0
- course_code: string
- requirement_type: 0
- department_id: 0
- department_name: string
- published_price: 0
- product_type: 0
- post:
- summary: Create new course
- tags:
- - courses
- parameters:
- - name: body
- in: body
- schema:
- $ref: '#/definitions/course_data'
- responses:
- '200':
- description: ''
- schema:
- type: object
- properties:
- course_id:
- type: integer
- course_code:
- type: string
- title:
- type: string
- description:
- type: string
- units:
- type: integer
- requirements:
- type: array
- items:
- type: object
- properties:
- course_id:
- type: integer
- course_code:
- type: string
- requirement_type:
- type: integer
- department_id:
- type: integer
- department_name:
- type: string
- published_price:
- type: integer
- product_type:
- type: integer
- examples:
- application/json:
- course_id: 0
- course_code: string
- title: string
- description: string
- units: 0
- requirements:
- - course_id: 0
- course_code: string
- requirement_type: 0
- department_id: 0
- department_name: string
- published_price: 0
- product_type: 0
- /courses/{id}:
- parameters:
- - name: id
- in: path
- required: true
- type: string
- put:
- summary: Update course
- tags:
- - courses
- parameters:
- - name: body
- in: body
- schema:
- $ref: '#/definitions/course_data'
- responses:
- '200':
- description: ''
- schema:
- type: object
- properties:
- course_id:
- type: integer
- course_code:
- type: string
- title:
- type: string
- description:
- type: string
- units:
- type: integer
- requirements:
- type: array
- items:
- type: object
- properties:
- course_id:
- type: integer
- course_code:
- type: string
- requirement_type:
- type: integer
- department_id:
- type: integer
- department_name:
- type: string
- published_price:
- type: integer
- product_type:
- type: integer
- examples:
- application/json:
- course_id: 0
- course_code: string
- title: string
- description: string
- units: 0
- requirements:
- - course_id: 0
- course_code: string
- requirement_type: 0
- department_id: 0
- department_name: string
- published_price: 0
- product_type: 0
- get:
- summary: Get a particular course
- tags:
- - courses
- responses:
- '200':
- description: ''
- schema:
- type: object
- properties:
- course_id:
- type: integer
- course_code:
- type: string
- title:
- type: string
- description:
- type: string
- units:
- type: integer
- requirements:
- type: array
- items:
- type: object
- properties:
- course_id:
- type: integer
- course_code:
- type: string
- requirement_type:
- type: integer
- department_id:
- type: integer
- department_name:
- type: string
- published_price:
- type: integer
- product_type:
- type: integer
- examples:
- application/json:
- course_id: 0
- course_code: string
- title: string
- description: string
- units: 0
- requirements:
- - course_id: 0
- course_code: string
- requirement_type: 0
- department_id: 0
- department_name: string
- published_price: 0
- product_type: 0
- delete:
- summary: Delete a particular course
- tags:
- - courses
- responses:
- '204':
- description: ''
- /students/{account_id}:
- parameters:
- - name: account_id
- in: path
- required: true
- type: string
- get:
- summary: Get student by account id
- tags:
- - students
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/students_full'
- put:
- summary: Update students
- tags:
- - students
- parameters:
- - name: body
- in: body
- schema:
- $ref: '#/definitions/students_full'
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/students_full'
- delete:
- summary: Delete students
- tags:
- - students
- responses:
- '204':
- description: ''
- schema:
- type: object
- properties:
- status:
- type: integer
- error:
- type: string
- examples:
- application/json:
- - status: 0
- - status: -1
- error: Unknown error.
- /students/{account_id}/application:
- parameters:
- - name: account_id
- in: path
- required: true
- type: string
- get:
- operationId: 'modules.students.get_applications'
- summary: Show student's pending / approved applications
- tags:
- - students
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/show_applications'
- post:
- parameters:
- - name: body
- in: body
- schema:
- $ref: '#/definitions/apply_applications'
- operationId: 'modules.students.apply_programs'
- summary: Student applies for 1-3 programs
- tags:
- - students
- responses:
- '201':
- description: ''
- /students/{account_id}/classes:
- parameters:
- - name: account_id
- in: path
- required: true
- type: string
- get:
- operationId: 'modules.students.get_student_currently_enrolled_classes'
- summary: Get a student's currently enrolled classes
- tags:
- - students
- responses:
- '200':
- description: ''
- schema:
- type: object
- properties:
- account_id:
- type: integer
- current_period:
- type: string
- current_classes:
- type: array
- items:
- type: object
- properties:
- course_id:
- type: integer
- course_code:
- type: string
- offering_id:
- type: integer
- units:
- type: integer
- grade:
- type: integer
- course_accomplishment:
- type: string
- examples:
- application/json:
- account_id: 0
- current_period: string
- current_classes:
- - course_id: 0
- course_code: string
- offering_id: 0
- units: 3
- grade: 0
- course_accomplishment: Incomplete
- /students/{account_id}/gwa/{term_id}:
- parameters:
- - name: term_id
- in: path
- required: true
- type: string
- - name: account_id
- in: path
- required: true
- type: string
- get:
- operationId: 'modules.students.get_gwa'
- summary: 'Get student general weighted average for a specific term'
- tags:
- - students
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/students_gwa'
- /students/{account_id}/transcripts:
- parameters:
- - name: account_id
- in: path
- required: true
- type: string
- get:
- operationId: 'modules.students.get_transcripts'
- summary: Get student's transcripts
- tags:
- - courses
- responses:
- '200':
- description: ''
- schema:
- type: object
- properties:
- account_id:
- type: integer
- transcripts:
- type: array
- items:
- type: object
- properties:
- course_id:
- type: integer
- course_code:
- type: string
- period_offered:
- type: string
- units:
- type: integer
- grade:
- type: number
- course_accomplishment:
- type: string
- examples:
- application/json:
- account_id: 0
- transcript:
- - course_id: 1
- course_code: FIL11
- period_offered: 2016-1
- units: 3
- grade: 0
- course_accomplishment: Incomplete
- '/teachers/offerings':
- get:
- operationId: 'modules.teachers.offerings_all'
- summary: Assign a course to teacher / mentor
- tags:
- - teachers
- responses:
- '200':
- description: 'Teacher assign to a course'
- schema:
- $ref: '#/definitions/teacher_products_matching'
- '/teachers/{account_id}/offerings':
- parameters:
- - name: account_id
- in: path
- required: true
- type: string
- get:
- operationId: 'modules.teachers.offerings_teacher'
- summary: Get a student's currently enrolled classes
- tags:
- - teachers
- responses:
- '200':
- description: 'Teacher assign to a course'
- schema:
- $ref: '#/definitions/teacher_products_matching'
- post:
- operationId: 'modules.teachers.assign_course'
- summary: Assign a course to teacher / mentor
- tags:
- - teachers
- parameters:
- - name: body
- in: body
- schema:
- $ref: '#/definitions/teacher_course_assign'
- responses:
- '204':
- description: 'Teacher assign to a course'
- '/teachers/{account_id}/offerings/{product_id}':
- parameters:
- - name: account_id
- in: path
- required: true
- type: string
- - name: product_id
- in: path
- required: true
- type: string
- delete:
- operationId: 'modules.teachers.retract_course'
- summary: Retract assigned course to a teacher
- tags:
- - teachers
- responses:
- '204':
- description: ''
- /students/students_count_location:
- get:
- operationId: 'modules.students.students_loc_distribution'
- summary: Get students count by location
- tags:
- - students
- responses:
- '200':
- description: ''
- schema:
- type: object
- properties:
- status:
- type: integer
- error:
- type: string
- data:
- type: object
- items:
- type: object
- properties:
- country:
- type: array
- items:
- type: object
- properties:
- name:
- type: string
- student_count:
- type: integer
- city:
- type: array
- items:
- type: object
- properties:
- name:
- type: string
- no_of_male:
- type: integer
- no_of_female:
- type: integer
- examples:
- application/json:
- data:
- country:
- - name: Philippines
- student_count: 20
- city:
- - name: Manila
- no_of_male: 10
- no_of_female: 4
- - name: Quezon city
- no_of_male: 3
- no_of_female: 3
- - name: United States
- student_count: 25
- city:
- - name: New York
- no_of_male: 8
- no_of_female: 7
- - name: San Jose
- no_of_male: 4
- no_of_female: 6
- /students/students_gad:
- get:
- operationId: 'modules.students.students_age_gender_distribution'
- summary: Get student gender age distribution list
- tags:
- - students
- responses:
- '200':
- description: ''
- schema:
- type: object
- properties:
- data:
- type: array
- items:
- type: object
- properties:
- age:
- type: integer
- no_of_males:
- type: integer
- no_of_females:
- type: integer
- examples:
- application/json:
- data:
- - age: 24
- no_of_male: 10
- no_of_female: 11
- - age: 25
- no_of_male: 12
- no_of_female: 10
- /teachers:
- get:
- operationId: 'modules.teachers.get_teachers_list'
- summary: Get a list of teachers
- tags:
- - teachers
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/teachers_all'
- post:
- operationId: 'modules.teachers.add_teacher'
- summary: Add Teacher / Person
- tags:
- - teachers
- parameters:
- - name: body
- in: body
- schema:
- $ref: '#/definitions/teacher_create'
- responses:
- '201':
- description: ''
- /teachers/{account_id}:
- parameters:
- - name: account_id
- in: path
- required: true
- type: string
- get:
- operationId: 'modules.teachers.get_teacher'
- summary: Get specific teacher
- tags:
- - teachers
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/teacher_details'
- put:
- operationId: 'modules.teachers.modify_teacher_info'
- summary: Update specific teacher
- tags:
- - teachers
- parameters:
- - name: body
- in: body
- schema:
- $ref: '#/definitions/teacher_modify'
- responses:
- '204':
- description: ''
- delete:
- operationId: 'modules.teachers.delete_teacher'
- summary: Delete Teachers
- tags:
- - teachers
- responses:
- '204':
- description: ''
- /paymentscheme:
- post:
- summary: Add payment schemes
- tags:
- - payment schemes
- parameters:
- - name: body
- in: body
- schema:
- $ref: '#/definitions/add_payment_scheme'
- responses:
- '201':
- description: ''
- schema:
- type: object
- properties:
- status:
- type: integer
- error:
- type: string
- /enrollments/course:
- post:
- operationId: 'modules.enrollments.enroll_subject'
- summary: Create Enrollments
- tags:
- - enrollments
- parameters:
- - name: body
- in: body
- schema:
- $ref: '#/definitions/enrollments_courses_input'
- responses:
- '201':
- description: ''
- schema:
- $ref: '#/definitions/enrollments_courses_input'
- /enrollments/programs:
- post:
- operationId: 'modules.enrollments.enroll_programs'
- summary: Create Enrollments
- tags:
- - enrollments
- parameters:
- - name: body
- in: body
- schema:
- $ref: '#/definitions/enrollments_programs_input'
- responses:
- '201':
- description: ''
- /enrollments/shortcourse:
- post:
- operationId: 'modules.enrollments.enroll_shortcourse'
- summary: Create Enrollments
- tags:
- - enrollments
- parameters:
- - name: body
- in: body
- schema:
- $ref: '#/definitions/enrollments_programs_input'
- responses:
- '201':
- description: ''
- /applications:
- get:
- operationId: 'modules.applications.get_applications_list'
- summary: List all pending applications
- tags:
- - applications
- responses:
- '200':
- description: ''
- schema:
- $ref: '#/definitions/applications_list'
- definitions:
- hello:
- type: object
- properties:
- greeting:
- type: string
- accounts_full:
- title: accounts Full
- type: object
- properties:
- id:
- type: integer
- last_name:
- type: string
- first_name:
- type: string
- middle_name:
- type: string
- email:
- type: string
- password:
- type: string
- gender:
- type: string
- birth_year:
- type: integer
- birth_month:
- type: integer
- birth_day:
- type: integer
- school_id:
- type: integer
- school_name:
- type: string
- type:
- type: integer
- type_name:
- type: string
- outstanding_balance:
- type: integer
- date_created:
- type: string
- date_updated:
- type: string
- example:
- id: 1
- last_name: Ong
- first_name: Miles
- middle_name: Nolasco
- email: miles.ong@seer_technologies.com
- password: asdf1234
- gender: Male
- birth_year: 1993
- birth_month: 5
- birth_day: 10
- school_id: 1
- school_name: Ateneo de Manila University
- type: 4
- type_name: Student
- outstanding_balance: -10000
- date_created: 1/18/2016
- date_updated: 7/18/2016
- user_login:
- type: object
- properties:
- email:
- type: string
- password:
- type: string
- example:
- email: tricia.reyes@seer-technologies.com
- password: test123
- user_login_response:
- type: object
- properties:
- account_id:
- type: string
- first_name:
- type: string
- last_name:
- type: string
- email:
- type: string
- position:
- type: string
- token:
- type: string
- example:
- account_id: 1
- email: tricia.reyes@seer-technologies.com
- first_name: TRICIA
- last_name: REYES
- position: Student
- token: 73a3e831e9e99b6e4ebfbcefff32e91
- course_data:
- title: course data
- type: object
- properties:
- course_id:
- type: integer
- course_code:
- type: string
- title:
- type: string
- description:
- type: string
- units:
- type: integer
- product_name:
- type: string
- requirements:
- type: array
- items:
- type: object
- properties:
- course_id:
- type: integer
- course_code:
- type: string
- requirement_type:
- type: integer
- published_price:
- type: integer
- product_type:
- type: integer
- programs_data:
- title: programs data
- type: object
- properties:
- product_name:
- type: string
- product_code:
- type: string
- description:
- type: string
- requirements:
- type: array
- items:
- type: object
- properties:
- course_id:
- type: integer
- course_code:
- type: string
- requirement_type:
- type: integer
- programs_data_get:
- type: array
- items:
- type: object
- properties:
- product_id:
- type: integer
- product_code:
- type: string
- title:
- type: string
- description:
- type: string
- units:
- type: integer
- requirements:
- type: array
- items:
- type: object
- properties:
- course_id:
- type: integer
- course_code:
- type: string
- requirement_type:
- type: integer
- department_id:
- type: integer
- department_name:
- type: string
- published_price:
- type: integer
- product_type:
- type: integer
- example:
- application/json:
- - product_id: 0
- product_code: string
- title: string
- description: string
- units: 0
- requirements:
- - course_id: 0
- course_code: string
- requirement_type: 0
- department_id: 0
- department_name: string
- published_price: 0
- product_type: 0
- students_full:
- title: students Full
- type: object
- properties:
- account_id:
- type: integer
- school_issued_id:
- type: string
- last_name:
- type: string
- first_name:
- type: string
- middle_name:
- type: string
- email:
- type: string
- password:
- type: string
- gender:
- type: string
- birth_day:
- type: integer
- birth_month:
- type: integer
- birth_year:
- type: integer
- address:
- type: array
- items:
- properties:
- id:
- type: integer
- address_line:
- type: string
- barangay:
- type: string
- city:
- type: string
- zip_code:
- type: integer
- state_province:
- type: string
- address_type:
- type: string
- country:
- type: string
- contacts:
- type: array
- items:
- properties:
- id:
- type: integer
- contact_info_type:
- type: string
- contact_detail:
- type: integer
- example:
- account_id: 0
- school_issued_id: string
- last_name: string
- first_name: string
- middle_name: string
- email: john.manauis@seer-technologies.com
- password: pass123
- gender: M
- birth_day: 02
- birth_month: 10
- birth_year: 1982
- address:
- - address_line: Annex 45 Betterliving
- barangay: Sun Valley
- city: Paranaque
- zip_code: 1711
- state_province: Cagayan
- address_type: Home Address
- id: 0
- country: Philippines
- - address_line: Annex 45 Betterliving
- barangay: Sun Valley
- city: Paranaque
- zip_code: 1711
- state_province: Cagayan
- address_type: Billing Address
- id: 15
- country: Philippines
- contacts:
- - id: 0
- contact_info_type: Mobile Number
- contact_detail: 639224181156
- - contact_info_type: Secondary Mobile
- contact_detail: 639224181157
- id: 14
- - contact_info_type: Fax Number
- contact_detail: 123456
- id: 15
- teacher_course_assign:
- title: Assign product to a teacher
- type: object
- properties:
- product_id:
- type: integer
- example:
- product_id: 12
- students_gwa:
- title: students genearal weighted average
- type: object
- properties:
- status:
- type: integer
- data:
- type: object
- properties:
- gwa:
- type: integer
- subjects:
- type: array
- items:
- type: object
- properties:
- enrollment_id:
- type: integer
- course_code:
- type: string
- course_name:
- type: string
- course_units_lec:
- type: integer
- course_units_lab:
- type: integer
- course_grade:
- type: integer
- example:
- gwa: 1.75
- subjects:
- - enrollment_id: 23
- course_code: CS101
- course_name: Computer Science 1
- course_units_lec: 3
- course_units_lab: 1
- course_grade: 1.5
- - enrollment_id: 26
- course_code: CS102
- course_name: Computer Science 2
- course_units_lec: 3
- course_units_lab: 1
- course_grade: 2
- teacher_products_matching:
- title: students genearal weighted average
- type: object
- properties:
- data:
- type: object
- properties:
- email:
- type: string
- first_name:
- type: string
- last_name:
- type: string
- middle_name:
- type: string
- account_id:
- type: integer
- subjects:
- type: array
- items:
- type: object
- properties:
- description:
- type: string
- lab_units:
- type: integer
- lecture_units:
- type: integer
- product_code:
- type: string
- product_name:
- type: string
- example:
- email: kim.javier@seer-technologies.com
- first_name: joseph
- last_name: javier
- middle_name: cruz
- account_id: 1
- subjects:
- - description: Intro to computer science
- lab_units: 4
- lecture_units: 3
- product_code: CS101
- product_name: Introduction to computer science
- - description: Intro to Discrete Math
- lab_units: 4
- lecture_units: 3
- product_code: MAT032
- product_name: Discrete Mathematics
- show_applications:
- title: show student program application
- type: object
- properties:
- status:
- type: integer
- data:
- type: object
- properties:
- gwa:
- type: integer
- programs:
- type: array
- items:
- type: object
- properties:
- product_code:
- type: string
- product_name:
- type: string
- description:
- type: string
- rank:
- type: integer
- status:
- type: integer
- apply_applications:
- title: Send Student Program Application
- type: object
- properties:
- choices:
- type: array
- items:
- type: object
- properties:
- product_id:
- type: integer
- rank:
- type: integer
- example:
- choices:
- - product_id: 3
- rank: 1
- - product_id: 2
- rank: 2
- - product_id: 1
- rank: 3
- teachers_all:
- title: List of Mentors / Instructors / Teachers
- type: array
- items:
- type: object
- properties:
- account_id:
- type: integer
- last_name:
- type: string
- first_name:
- type: string
- middle_name:
- type: string
- position:
- type: integer
- email:
- type: string
- example:
- application/json:
- - account_id: 0
- last_name: Javier
- first_name: Joseph Kim
- middle_name: Panaligan
- position: 5
- email: kim.javier@seer-technologies.com
- - account_id: 2
- last_name: Manauis
- first_name: John Patrick
- middle_name: Reyes
- position: 5
- email: jp.mamauis@seer-technologies.com
- teacher_details:
- title: teacher all details
- type: object
- properties:
- account_id:
- type: integer
- birth_year:
- type: integer
- birth_month:
- type: integer
- birth_day:
- type: integer
- last_name:
- type: string
- first_name:
- type: string
- middle_name:
- type: string
- email:
- type: string
- gender_type:
- type: string
- position:
- type: integer
- example:
- last_name: Ong
- first_name: Miles
- middle_name: Nolasco
- email: miles.ong@seer_technologies.com
- gender_type: M
- birth_year: 1993
- birth_month: 5
- birth_day: 10
- account_id: 0
- position: 5
- teacher_create:
- title: Body for create teacher
- type: object
- properties:
- first_name:
- type: string
- last_name:
- type: string
- middle_name:
- type: string
- email:
- type: string
- password:
- type: string
- gender_type:
- type: string
- image_url:
- type: string
- birth_year:
- type: integer
- birth_month:
- type: integer
- birth_day:
- type: integer
- position:
- type: integer
- example:
- first_name: Joseph
- last_name: Javier
- middle_name: Uy
- email: joseph@test.com
- password: test123
- gender_type: M
- image_url: http://www.jqueryscript.net/images/Simplest-Responsive-jQuery-Image-Lightbox-Plugin-simple-lightbox.jpg
- birth_year: 2016
- birth_month: 1
- birth_day: 1
- position: 10
- teacher_modify:
- title: teacher modify body
- type: object
- properties:
- product_id:
- type: integer
- product_code:
- type: string
- title:
- type: string
- description:
- type: string
- units:
- type: integer
- requirements:
- type: array
- items:
- type: object
- properties:
- course_id:
- type: integer
- course_code:
- type: string
- requirement_type:
- type: integer
- department_id:
- type: integer
- department_name:
- type: string
- published_price:
- type: integer
- product_type:
- type: integer
- example:
- application/json:
- - product_id: 0
- product_code: string
- title: string
- description: string
- units: 0
- requirements:
- - course_id: 0
- course_code: string
- requirement_type: 0
- department_id: 0
- department_name: string
- published_price: 0
- product_type: 0
- add_payment_scheme:
- type: object
- properties:
- name:
- type: string
- items:
- type: array
- items:
- type: object
- properties:
- installment_number:
- type: integer
- percentage:
- type: integer
- example:
- name: 2-part installment scheme
- items:
- - installment_number: 1
- percentage: 30
- - installment_number: 2
- percentage: 70
- enrollments_programs_input:
- title: program enrollments input
- type: object
- properties:
- account_id:
- type: integer
- product_offering_id:
- type: integer
- example:
- account_id: 1
- product_offering_id: 1
- enrollments_courses_input:
- type: object
- properties:
- account_id:
- type: integer
- courses_to_enroll:
- type: array
- items:
- type: object
- properties:
- course_id:
- type: integer
- status:
- type: integer
- example:
- account_id: 5
- courses_to_enroll:
- - course_id: 21
- - course_id: 22
- applications_list:
- title: Applications List Body
- type: object
- properties:
- account_id:
- type: integer
- first_name:
- type: string
- middle_name:
- type: string
- last_name:
- type: string
- email:
- type: string
- gender_type:
- type: string
- birth_day:
- type: integer
- birth_month:
- type: integer
- birth_year:
- type: integer
- student_number:
- type: string
- year_entered:
- type: integer
- student_type:
- type: string
- student_requirements:
- type: array
- items:
- type: object
- properties:
- requirements:
- type: string
- status:
- type: string
- student_applications:
- type: array
- items:
- type: object
- properties:
- product_code:
- type: string
- product_name:
- type: string
- description:
- type: string
- published_price:
- type: string
- product_type:
- type: string
- rank:
- type: integer
- example:
- account_id: 7
- first_name: JOSELITO MIGUEL
- middle_name:
- last_name: HERNANDEZ
- email: miguel.hernandez@seer-technologies.com
- gender_type: M
- birth_day: 01
- birth_month: 01
- birth_year: 1990
- year_entered: 2017
- student_type: Freshman
- student_requirements:
- - requirements: Highschool Diploma
- status: 1
- - requirements: Highschool TOR
- status: 1
- - requirements: Highschool Report Card
- status: 1
- student_applications:
- - product_code: BS CS
- prodcut_name: Bachelor of Science in Computer Science
- description:
- published_price: 0
- product_type:
- rank: 1
- - product_code: BS IT
- product_name: Bachelor of Science in Information Technology
- description:
- published_price: 0
- product_type:
- rank: 2
- - product_code: BS COMENG
- product_name: Bachelor of Science in Computer Engineering
- description:
- published_price: 0
- product_type:
- rank: 3
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement