apidocs.puzzlebooking.com
Open in
urlscan Pro
52.206.105.62
Public Scan
URL:
https://apidocs.puzzlebooking.com/
Submission: On April 01 via automatic, source certstream-suspicious — Scanned from DE
Submission: On April 01 via automatic, source certstream-suspicious — Scanned from DE
Form analysis
0 forms found in the DOMText Content
Public Documentation Settings ENVIRONMENT No Environment LAYOUT Double Column LANGUAGE cURL - cURL Puzzle B2B Introduction TO INFORM: Overview Support Kullanım Şartları API PUZZLE B2B TO INFORM: > In the current system, it was possible to choose a Pegasus SPECIAL class, or > protocol flight, during the round-trip ticketing phase and continue with a > different airline for the 2nd ticket. In accordance with the sales rule of the > Pegasus airline company regarding SPECIAL, that is, protocol flights, if there > is a Pegasus SPECIAL class flight in the round trip, the round trip tickets > must be purchased at the Pegasus company. > > > The error response of this sales control "reservation/flight" request, which > we have published in the API test environment, will be given below. This is > how you should structure your software development setup It is the API documentation resource you can use for the Puzzle API. It contains the necessary information to use API methods. Thanks to the API Document, you can have information about API services. By using software tools, you can develop your applications faster and more securely, and you can gain speed by looking at sample codes. This document describes the use of PuzzleTravel Web Service for services such as inquiry, sale and reservation of PuzzleTravel products from member organizations' own web environments. OVERVIEW We have gathered the information you will need to use the Puzzle API in this document. In order to use the services mentioned in this document, key information must be obtained from the Access Token service on the Authentication API. * Contract and Request Form SUPPORT Feel free to contact us for help accessing the Puzzle API. You can also contact us via e-mail. apidestek@puzzletravel.com. To get help with Puzzle API, please fill out the form below and send it to the specified e-mail address. * Support Request Form KULLANIM ŞARTLARI For information on API terms of use and privacy, see your policy document at Agreements. API From the navigation pane, you can go to the services you want to get information from and see the sample requests, replies and request parameters in detail. You can examine the relevant object in the answer that the service has returned to you by clicking on the name of the object in the answers section, and you can find detailed explanations about each feature. It uses API REST services. It is designed to use HTTP response codes to indicate API errors due to the use of the HTTP protocol. Basic authentication structure is used to ensure secure interaction with the API. API Services supports json and application/x-www-form-urlencoded formats as form parameters. All answers can be returned in json format. * In API development, we mostly tried to comply with JSONAPI standards. * We used Postman API Documentation to create documentation. > A valid user code is required to run the examples in this guide. Unless > otherwise stated, all API operations will use JSON format and character > encoding will be UTF8. All API requests must be sent using the POST method > unless otherwise stated. API CANLI VE TEST ORTAMLARI EnvURLEndpointhttp://b2b.puzzletur.net/ HEADER BILGISI ParametersDataMandotoryDescscriptionContent-Typeapplication/jsonEvetapplication/json gönderilmelidir.LanguageTRAuthorization**EvetAPI Token AUTHENTICATION When calling all API functions, either the token if it has already been received or the user code-password should be sent if not. Tokens will be returned to you when you log in with the user code and password. In addition, a new token is sent when the password is changed. 1 - REZERVASYON API aracılığıyla yapılacak rezervasyonlar ve fiyat müsaitlik sorgulaması ve rezervasyon gerçekleştirme işlemlerini içerir. REZERVASYON SÜREÇLERI SEPET KURGUSUNDA ILERLER. SÜREÇ BEŞ ADIMDAN OLUŞMAKTADIR. * Ürün müsaitlik ve fiyat sorgulama * Seçilen ürünleri sepete eklenmesi * Misafir ve iletişim bilgilerinin eklenmesi * Otel kar marjı belirleme (Eğer sepette otel varsa kullanılır.) * Ödeme ve rezervasyon tamamlama REZERVASYON SÜREÇ ŞEMALARI * Uçak rezervasyon sürecini anlatan şema * Hotel rezervasyon sürecini anlatan şema * Transfer rezervasyon sürecini anlatan şema * Paket rezervasyon sürecini anlatan şema REZERVASYON SEPET UYGULAMASI * Ürün fiyat müsatlik sorgulaması (Uçak, Otel, Transfer) yapılır. * Seçilen ilk ürün fiyat kodu kullanılarak ilgili rezervasyon metoduna gönderilir. (ÖRN: available/hotel > reservation/hotel) * Eklenen ilk ürünle sepete ait rezervasyon kodu oluşturulur. Bu sepete eklenecek diğer ürünler için bu kod kullanılır. * Eklenen ilk ürünle sepete ait misafir bilgileri ve kodları oluşturulur. Misafir bilgilerinin girilmesi için bu kodlar kullanılır. * Sepete ait misafir bilgileri ve iletişim bilgileri güncellenir. * Eğer sepet içerisinde konaklama mevcut ise ve satış fiyatı güncellenmek isteniyorsa (Standart komisyon tutarı azaltılmak veya attırılmak isteniyorsa) "reservation/hotel_price_update" metodu kullanılır. * Ödeme adımıyla sepete ait rezervasyon süreci tamamlanır. 1.1 - FIYAT VE MÜSAITLIK Api servis üzerinde tüm müsaitlik sorguları bu alan altında toplanmış ve yapılabilecek müsaitlik sorugları aşağıda yer almaktadır. Loading