Appearance
Get Locker Stations
Request Method
http
GET /openapi/station/get-stations?postcode=xxxxxxxx
Header
Field | Description |
---|---|
Content-Type | application/json |
x-auth-token | $TOKEN |
x-auth-name | $APP_NAME |
x-auth-seed | $TS |
GET Parameter
Field | Mandatory | Type | Description | Length |
---|---|---|---|---|
postcode | Y | string | Post Code |
Request
http
GET /openapi/station/get-stations?postcode=xxxxxxxx
Response(Success)
json
{
"code": 0,
"message": "success",
"data": [
{
"Zipcode": "544774",
"Station_Name": "Parcel Santa - Terrasse",
"Station_Address": "- 21 Terrasse Ln, Singapore 544774",
"Address_Detail": "Terrasse, Arcadia Clubhouse 1, basement, outside MA office",
"Distance": 197.977,
"Station_Code": "PK1689"
},
{
"Zipcode": "546692",
"Station_Name": "Parcel Santa - The Waterline",
"Station_Address": "- 167 Poh Huat Road West Singapore 546695",
"Address_Detail": "The Waterline, B1 Carpark, beside the Ejector Pit",
"Distance": 305.928,
"Station_Code": "PK1655"
},
{
"Zipcode": "530628",
"Station_Name": "Pick - 628 Hougang Avenue 8",
"Station_Address": "628 Hougang Avenue 8",
"Address_Detail": "Near Lift A & B ",
"Distance": 321.347,
"Station_Code": "PK622"
},
{
"Zipcode": "544604",
"Station_Name": "Parcel Santa - Hundred Palms Residences",
"Station_Address": "- 276 Yio Chu Kang Rd, Singapore 544604",
"Address_Detail": "Hundred Palms Residences, Blk 276 main bicycle parking/washing area, behind management office",
"Distance": 390.707,
"Station_Code": "PK1691"
},
{
"Zipcode": "530641",
"Station_Name": "Pick - 641 Hougang Avenue 8",
"Station_Address": "641 Hougang Avenue 8",
"Address_Detail": "Near Letterbox",
"Distance": 428.492,
"Station_Code": "PK129"
},
{
"Zipcode": "550139",
"Station_Name": "Pick - 139 Serangoon North Avenue 2",
"Station_Address": "139 Serangoon North Avenue 2",
"Address_Detail": "Near Lift A & B",
"Distance": 449.037,
"Station_Code": "PK371"
},
{
"Zipcode": "530623",
"Station_Name": "Pick - 623 Hougang Avenue 8",
"Station_Address": "623 Hougang Avenue 8",
"Address_Detail": "Near Lift C",
"Distance": 524.894,
"Station_Code": "PK893"
},
{
"Zipcode": "550512",
"Station_Name": "Pick - 512 Serangoon North Avenue 4",
"Station_Address": "512 Serangoon North Avenue 4",
"Address_Detail": "Near Letterbox",
"Distance": 614.865,
"Station_Code": "PK327"
},
{
"Zipcode": "530615",
"Station_Name": "Pick - 615 Hougang Avenue 8",
"Station_Address": "615 Hougang Avenue 8",
"Address_Detail": "Near Lift A",
"Distance": 695.57,
"Station_Code": "PK551"
},
{
"Zipcode": "546053",
"Station_Name": "Parcel Santa - Bliss @Kovan",
"Station_Address": "- 4 Simon Lane Singapore 546018",
"Address_Detail": "Bliss @Kovan, Blk 6B, B1 Carpark, Outside Lift Lobby",
"Distance": 710.982,
"Station_Code": "PK1564"
}
]
}
Response(Fail)
json
{
"code": 1,
"message": "xxxxx error",
"data": []
}