GET api/Group/{SchoolID}/Location
列出目標學校經緯度
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| SchoolID |
目標學校編碼(6位數字編碼) |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
SchoolLocation| Name | Description | Type | Additional information |
|---|---|---|---|
| SchoolName |
學校名稱 |
string |
None. |
| SchoolLon |
學校經度 |
string |
None. |
| SchoolLat |
學校緯度 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"SchoolName": "sample string 1",
"SchoolLon": "sample string 2",
"SchoolLat": "sample string 3"
}
application/xml, text/xml
Sample:
<SchoolLocation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/iMOE_Back_End.Controllers"> <SchoolLat>sample string 3</SchoolLat> <SchoolLon>sample string 2</SchoolLon> <SchoolName>sample string 1</SchoolName> </SchoolLocation>