Appearance
Delivery Stations
Station resource is used to define the delivery stations required for operating with Clever Point delivery network. Resources
Method | Resource | Description |
---|---|---|
GET | /Stations/DeliveryStations | Returns a list of delivery stations that are available at the time of request. |
GET | /Stations/DeliveryStations/{id} | Returns the details of a specific delivery station defined by the station id. |
Station properties
Property Name | Type | Description |
---|---|---|
StationId | UUID | A system generated universal unique identifier of the station. |
Prefix | Text | A prefix code of the station. |
Code | Text | A unique code of the station. |
Name | Text | The long name of the station. |
ShortName | Text | The short name of the station. |
AddressLine1 | Text | |
AddressLine2 | Text | |
City | Text | The city of the station. |
Perfecture | Text | The perfecture of the station. |
ZipCode | Text | |
Phones | Text | A comma separated list of phone numbers. |
Emails | Text | A comma separated list of email addresses. |
MaxDimension | Decimal | The maximum item dimension the station is capable to handle (in centimeters). |
MaxWeight | Decimal | The maximum item weight the station is capable to handle (in kilograms). |
WorkHours | Text (array) | A 7-items JSON encoded array (one dimension per day of week starting from Monday). Each array element is an array of strings describing the working hours for the specific day. See the examples below for more details. |
WorkHours examples
- Working each day (except Sunday) from 9:00 to 21:00
[["09:00-21:00"],["09:00-21:00"],["09:00-21:00"],["09:00-21:00"],
["09:00-21:00"],["09:00-18:00"],["Closed"]]
- Working all days from 10:00 to 15:00 and 18:00 to 22:50
[["10:00-15:00","18:00-22:50"],["10:00-15:00","18:00-22:50"],
["10:00-15:00","18:00-22:50"],["10:00-15:00","18:00-22:50"],
["10:00-15:00","18:00-22:50"],["10:00-15:00","18:00-22:50"],
["10:00-15:00","18:00-22:50"]]
- 24x7
[["AllDay"],["AllDay"],["AllDay"],["AllDay"],["AllDay"],["AllDay"],
["AllDay"]]
Get Delivery Stations Example
- Return a list of active delivery stations
GET /Stations/DeliveryStations
- Response body
json
{
"ResultType": "Success",
"Content":
[
{
"StationId": "4cf5a25b-bd73-4038-96d6-0b1e8821903b",
"Prefix": "5061",
"Code": "IAR",
"Name": "ΡΗΓΟΣ ΙΩΑΝΝΗΣ & ΥΙΟΣ Ο.Ε",
"ShortName": "ΡΗΓΟΣ ΙΩΑΝΝΗΣ & ΥΙΟΣ Ο.Ε.",
"AddressLine1": "20 ΧΙΛ. ΛΕΩΦΟΡΟΣ ΜΑΡΑΘΩΝΟΣ - ΠΙΚΕΡΜΙΟΥ ",
"ZipCode": "19009",
"Phones": "2106038770",
"Emails": "info@cleverservices.gr,rigosjohn@yahoo.gr",
"MaxDimension": 200.0,
"MaxWeight": 18.0,
"WorkHours": "[[\"07:30-22:00\"],[\"07:30-22:00\"],[\"07:30-22:00\"],[\"07:30-22:00\"],[\"07:30-22:00\"],[\"07:30-22:00\"],[\"0
7:30-22:00\"]]"
},
{
"StationId": "1540ae54-4784-4690-a937-df007c75c982",
"Prefix": "5062",
"Code": "BAN",
"Name": "ΝΤΖΙΟΚΑΣ ΑΛΕΞ. ΒΑΣΙΛΕΙΟΣ",
"ShortName": "Bonsai ΝΤΖΙΟΚΑΣ Flowers",
"AddressLine1": "ΠΑΤΗΣΙΩΝ 230",
"ZipCode": "11256",
"Phones": "2108673165",
"Emails": "info@cleverservices.gr,b.ntziokas@gmail.com",
"MaxDimension": 250.0,
"MaxWeight": 25.0,
"WorkHours": "[[\"09:30-22:00\"],[\"09:30-22:00\"],[\"09:30-22:00\"],[\"09:30-22:00\"],[\"09:30-22:00\"],[\"09:30-22:00\"],[\"1
0:00-21:30\"]]"
},
. . . the rest of the items in list
]
}