-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
IVIS-46: - Update API chapter (guardians).
- Loading branch information
1 parent
35c5d06
commit ba85bc1
Showing
6 changed files
with
133 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
List of properties from AcademicYear | ||
==================================== | ||
|
||
#. id(NUMBER) | ||
#. name(STRING) | ||
|
||
Example of response: | ||
~~~~~~~~~~~~~~~~~~~~ | ||
|
||
.. code-block:: json | ||
{ | ||
"id" : 0, | ||
"name" : "" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
List of properties from AfterSchoolCenterSchema | ||
=============================================== | ||
|
||
#. after_school_section(Object) | ||
type of `AfterSchoolCenterSection <http://docs.ivis.se/en/latest/api/afterschoolcentersection.html>`_ | ||
#. day_of_week(STRING) | ||
Only can be "MONDAY" .. "SUNDAY" | ||
#. use_before_school(BOOLEAN) | ||
#. use_after_school(BOOLEAN) | ||
|
||
Example of response: | ||
~~~~~~~~~~~~~~~~~~~~ | ||
|
||
.. code-block:: json | ||
{ | ||
"after_school_section" : {}, | ||
"day_of_week" : "MONDAY", | ||
"use_before_school" : false, | ||
"use_after_school" : false | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
List of properties from Guardian | ||
================================ | ||
|
||
#. id(NUMBER) | ||
#. person(OBJECT) | ||
type of `Person <http://docs.ivis.se/en/latest/api/person.html>`_ | ||
#. pupils(ARRAY) | ||
type of `Pupil <http://docs.ivis.se/en/latest/api/pupil.html>`_ | ||
|
||
Example of response: | ||
~~~~~~~~~~~~~~~~~~~~ | ||
|
||
.. code-block:: json | ||
{ | ||
"id" : 0, | ||
"person" : { | ||
"id" : null, | ||
"personal_id" : null, | ||
"first_name" : null, | ||
"last_name" : null, | ||
"addresses" : { }, | ||
"emails" : { }, | ||
"phones" : { } | ||
}, | ||
"pupils" : [ ] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
List of properties from Pupil | ||
============================= | ||
|
||
#. id(NUMBER) | ||
#. person(OBJECT) | ||
type of `Person <http://docs.ivis.se/en/latest/api/person.html>`_ | ||
#. contact_person(OBJECT) | ||
type of `Person <http://docs.ivis.se/en/latest/api/person.html>`_ | ||
#. class_placement_from(NUMBER) | ||
#. class_placement_to(NUMBER) | ||
#. school_class(OBJECT) | ||
type of `SchoolClass <http://docs.ivis.se/en/latest/api/schoolclass.html>`_ | ||
#. school | ||
type of `School <http://docs.ivis.se/en/latest/api/school.html>`_ | ||
#. academic_year(OBJECT) | ||
type of `AcademicYear <http://docs.ivis.se/en/latest/api/academicyear.html>`_ | ||
#. guardians(ARRAY) | ||
type of `Guardian <http://docs.ivis.se/en/latest/api/guardian.html>`_ | ||
#. truancies(ARRAY) | ||
type of `Truancy <http://docs.ivis.se/en/latest/api/truancy.html>`_ | ||
#. after_school_center_section(OBJECT) | ||
type of `AfterSchoolCenterSection <http://docs.ivis.se/en/latest/api/afterschoolcentersection.html>`_ | ||
#. school_center_schema(ARRAY) | ||
type of `AfterSchoolCenterSchema <http://docs.ivis.se/en/latest/api/afterschoolcenterschema.html>`_ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
List of properties from Truancy | ||
=============================== | ||
|
||
#. id(NUMBER) | ||
#. pupil(OBJECT) | ||
type of `Pupil <http://docs.ivis.se/en/latest/api/pupil.html>`_ | ||
#. start_date(NUMBER) | ||
#. end_date(NUMBER) | ||
|
||
Example of response: | ||
~~~~~~~~~~~~~~~~~~~~ | ||
|
||
.. code-block:: json | ||
{ | ||
"id" : 0, | ||
"pupil" : { | ||
"id" : null, | ||
"person" : { | ||
"id" : null, | ||
"personal_id" : null, | ||
"first_name" : null, | ||
"last_name" : null, | ||
"addresses" : { }, | ||
"emails" : { }, | ||
"phones" : { } | ||
}, | ||
"contact_person" : null, | ||
"class_placement_from" : null, | ||
"class_placement_to" : null, | ||
"school_class" : null, | ||
"school" : null, | ||
"academic_year" : null, | ||
"guardians" : [ ], | ||
"after_school_center_section" : null, | ||
"school_center_schema" : [ ] | ||
}, | ||
"start_date" : 1477474352801, | ||
"end_date" : 1477474352801 | ||
} |