url | https://api.rmutsv.ac.th/elogin |
method | post |
input | username: string <- epassport username |
password: string <- epassport password | |
output | status: string <- reply status |
ok = successful | |
json = json error | |
password = incorrect password or username | |
cid: string <- citizen id | |
username: string <- epassport username | |
name: string <- fullname in Thai | |
type: string <- username type | |
staff = staff person such as teacher or officer | |
student = student person | |
faccode: string <- faculty Code | |
facname: string <- faculty name | |
depcode: string <- department Code | |
depname: string <- department name | |
seccode: string <- section Code | |
secname: string <- section name | |
faccode: string <- faculty Code | |
email: string <- email | |
token: string <- security token |
url | https://api.rmutsv.ac.th/elogin/token/token |
token: string <- security token | |
method | get |
output | status: string <- reply status |
ok = successful | |
database = database server is a problem | |
token = incorrect token | |
cid: string <- citizen id | |
username: string <- epassport username | |
name: string <- fullname in Thai | |
type: string <- username type | |
staff = staff person such as teacher or officer | |
student = student person | |
faccode: string <- faculty code | |
facname: string <- faculty name | |
depcode: string <- department Code | |
depname: string <- department name | |
seccode: string <- section Code | |
secname: string <- section name | |
faccode: string <- faculty Code | |
email: string <- email | |
token: string <- security token |
url | https://api.rmutsv.ac.th/personal/academic/token |
token: string <- security token | |
method | get |
output | status: string <- reply status |
ok = successful | |
database = database server is a problem | |
token = incorrect token | |
not found = information can not be found | |
data: []struct <- Information data | |
data.cid: string <- citizen id | |
data.prefix: string <- name prefix | |
data.fname: string <- first name in Thai | |
data.lname: string <- last name in Thai | |
data.fnamee: string <- first name in English | |
data.lnamee: string <- last name in English | |
data.aposition: string <- academic postion | |
data.campuscode: string <- campus code | |
data.campusname: string <- campus name | |
data.facultycode: string <- faculty code | |
data.facultyname: string <- faculty name | |
data.departmentcode: string <- departmant code | |
data.departname: string <- department name | |
data.sectioncode: string <- section code | |
data.sectionname: string <- section name | |
data.email: string <- email | |
data.gender: string <- gender | |
data.epassport: string <- epassport username | |
data.education: []struct <- education information | |
data.education.graduate: string <- graduated date in format yyyy-mm-dd | |
data.education.level: string <- education level | |
data.education.degree: string <- education degree | |
data.education.program: string <- education program | |
data.education.university: string <- university | |
data.education.nation: string <- university country in Thai | |
data.education.natione: string <- university country in English |
url | https://api.rmutsv.ac.th/personal/academic/token |
token: string <- security token | |
method | post |
input | username: []string <- epassport username |
output | status: string <- reply status |
ok = successful | |
permission = not a privilege | |
token = incorrect token | |
data: []struct <- Information data | |
data.cid: string <- citizen id | |
data.prefix: string <- name prefix | |
data.fname: string <- first name in Thai | |
data.lname: string <- last name in Thai | |
data.fnamee: string <- first name in English | |
data.lnamee: string <- last name in English | |
data.aposition: string <- academic postion | |
data.campuscode: string <- campus code | |
data.campusname: string <- campus name | |
data.facultycode: string <- faculty code | |
data.facultyname: string <- faculty name | |
data.departmentcode: string <- departmant code | |
data.departname: string <- department name | |
data.sectioncode: string <- section code | |
data.sectionname: string <- section name | |
data.email: string <- email | |
data.gender: string <- gender | |
data.epassport: string <- epassport username | |
data.education: []struct <- education information | |
data.education.graduate: string <- graduated date in format yyyy-mm-dd | |
data.education.level: string <- education level | |
data.education.degree: string <- education degree | |
data.education.program: string <- education program | |
data.education.university: string <- university | |
data.education.nation: string <- university country in Thai | |
data.education.natione: string <- university country in English |