Skip to content

Files

Latest commit

07716c6 · Jul 30, 2015

History

History
124 lines (115 loc) · 2.58 KB

faculties.md

File metadata and controls

124 lines (115 loc) · 2.58 KB

Find Information of Faculties

GET /faculties

Description

Find faculty's information by his/her Chinese name.

Request

Headers

Name Required Description
X-NCU-API-TOKEN yes your API token

Query Parameters

Name Required Description
cname yes faculty's Chinese name

Example

GET /faculties?cname=王小明

Response

Formats

  • json

Structure

Field Name Type Value Description
chineseName String faculty's Chinese name
englishName String faculty's English name
title String faculty's title
primaryUnit [Unit Object] primary unit
secondaryUnit [Unit Object] secondary unit
officePhone Tel faculty's office extension

Example

[
    {
        "chineseName" : "王小明",
        "englishName" : "Wang, Xiao Ming",
        "title" : "助理",
        "primaryUnit" : {
            "unitCode" : "A800",
            "chineseName" : "電子計算機中心",
            "englishName" : "Computer Center",
            "shortName" : "電算中心",
            "fullName" : "電子計算機中心",
            "url" : "http://www.cc.ncu.edu.tw/introduction/member.php",
            "location" : {
                "lat" : 24.970128,
                "lng" : 121.193719
            }
        },
        "secondaryUnit" : {
            "unitCode" : "A830",
            "chineseName" : "校務資訊組",
            "englishName" : "Campus Information Management Division",
            "shortName" : "校務資訊組",
            "fullName" : "電子計算機中心-校務資訊組",
            "url" : "http://www.cc.ncu.edu.tw/introduction/member.php",
            "location" : {
                "lat" : 24.970128,
                "lng" : 121.193719
            }
        },
        "officePhone" : "99999"
    }
]

Notes