Points elements have e.href | String | The URI address to the resource of the particular point | |
name | String | Point ID. This is its unique name, for a Station | the kinds that are in given • automatic stations shipment handling points where a parcel machine shipment can be sent. • pop - Shipment handling points.
• automatic stations • Shipment handling a parcel machine shipment can be sent to. containing information on geographic : .Sample object the | information about point it ..Distrance a stated in the search provided then it about the point : postal Sample the isnext payments in the . together this that .availableBoolean | Dostępność płatności w danym punkcie. Istnieje możliwość wystąpienia payment_available=true razem z payment_type=0, oznacza to, że płatność jest dostępna. | payment_type | String | virtual | virtual | Integer | Point virtuality
| recommended_low_Recommended other Sample Point resource in the JSON format:
Code Block |
{
"href":"http:/KRA011KRA011"latitude":50.09103,199299},"location_type":null,"location_description":"StacjapaliwLukoil", location_description_1"","location_description_2":"LUKOIL","distance":null,"opening_hours":null"address":{line1Opolska 9"line2":"31-274 Kraków" }"address_details":{cityKraków"province":"małopolskie",
postcode"31-274",
"street":"Opolska",buildingnumber9"flat_number},"phone_number":null,paymentpoint_descr"Płatność internetowa PayByLink"functions":[allegro_courier_collect",
"allegro_courier_reverse_return_send","allegro_courier_send",allegro_letter_send"allegro_parcel_collect",allegro_parcel_reverse_return_send",
"allegro_parcel_send","parcel" "parcel_collect",parcel_reverse_return_send",
"parcel_send","standard_courier_reverse_return_send"standard_courier_send"],partner_id0,
is_next:false"payment_available":true,"payment_type":{0"Brak obsługi płatności"},"virtual0"recommended_low_interest_box_machines_list":null
}Authentication
Access . pointsPobieranie listy punktówSample In the response the server will return a collection with the list of points.
The collection supports paging that is described on page API General.
HTTP/1.1
Host: api-shipx-pl.easypack24.netResponse
HTTP/1.1 200 OK
5363215httpADA01NADA01N"status":"Operating",location{74455,"longitude":22.25847}typeGroszek"Groszek"Kleeberga5BKleeberga5BPayByLink. Dostępność 24/7",true"Brak obsługipłatności},"virtual":"0", "recommended_low_interest_box_machines_listnull
},
{href":"http://api-pl-points.easypack24.net/v1/points/ALK01A""name"ALK01A""type[ parcellocker], status"Operating","location":{latitude52.8684"longitude":18.7031}, "location_type":null"location_description":"Przy biurze usług ubezpieczeniowych","location_description_1":"" "location_description_2":"",
distancenull, "opening_hours":"24/7",
"address":{
line1Słowackiego 131
line2"87-700AleksandrówKujawski"}, address_details{ "city":"Aleksandrów Kujawski",province"kujawsko-pomorskie",
postcode87-700 streetSłowackiego buildingnumber131
flatnumbernull], [...]
}
Point details
Collecting point details.
Code Block |
---|
GET /v1/points/:nazwa_punktu |
In the response the server will return point details.
Sample request
Code Block |
---|
GET https://api-shipx-pl.easypack24.net/v1/points/AAB001 HTTP/1.1
Host: api-shipx-pl.easypack24.net |
Response
Code Block |
HTTP/1.1 200 OK
Content-Type: application/json
{href"http://api-pl-points.easypack24.net/v1/points/ADA01N"name":"ADA01N",type[parcellocker
]"status":"Operating",location{latitude51.74455,longitude22.25847locationtypelocationdescription"Przy sklepie Groszek",
"location_description_1":null,
"location_description_2":"Groszek",distancenull,"opening_hours":"24/7",address":{line1":"Kleeberga 5B",line2":"21-412 Adamów"},addressdetails:{city":"Adamów""province":"lubelskie",post_code":"21-412""street":"Kleebergabuildingnumber:"5B""flat_number":null},phonenumber:null"payment_point_descr":"Płatność internetowa PayByLink. Dostępność 24/7",functions":[allegrocourier_collect",
allegro_courier_reverse_return_send",
allegrocourier_send" allegro_letter_reverse_return_send",allegro_letter_send",
"allegro_parcel_collect", "allegro_parcel_reverse_return_send" allegro_parcel_send"parcel",parcel_collectparcel_reverse_return_sendparcel_send"standard_courier_reverse_return_send"standard_courier_sendpartnerid0,
"is_next":truepaymentavailablepaymenttype0"Brakobsługipłatności""virtual":"0"recommendedlow_interest_box_machines_listPoint the name specified in the searchList of types of points, comma separated, which are to be returned in the response points the stated points all the listed parcel points the stated _id points the stated _id that are NEXTFiltering the list of points on the availability of payments for . points which have the stated postal points which have the stated postal points which have the stated points which have the stated city points which have the stated voivodeship. Searches for points which have the stated voivodeships points with the stated virtuality. Searches for points with the stated virtualities.?virtual=0 ?virtual=1,6 | updated_from
| Date | Search for points by the date when the point update was made. The parameter should be provided together with updated_to. If the updated_to parameter has not been specified, the date cannot be earlier than 3 days back counting from the current date. | ?updated_from=2018-04-24 |
updated_to
| Date | Search for points by the date when the point update was made. The parameter should be provided together with updated_from.
If the updated_from parameter has not been specified, the date cannot be later than 3 days back counting from the updated_from parameter located as close as possible stated geographical coordinates. located as close as possible stated postal .Specifies distance in meters from the point stated in ..Using the parameter forces
: Limit of returned points parameters in .Sorting resultsSorting .Sorting from the relative point Sorting Sorting done in both directions, using the sort_order parameter: points points By default, the results are sorted ascending (asc) by point name (name).
Paging
page | Specifies the results page, which should be returned.Specifies number of results displayed on the page. value value displayed Specifies list of to be displayed on page.