Fastboat Booking Engine API Documentation for Ekajaya Fastboat!

Introduction

We’re thrilled to have you on board as you explore the capabilities and features of our powerful Fastboat Booking Engine API, specifically tailored for Ekajaya Fastboat and currently connected to Nusa Travel as a sample implementation.

Designed with both flexibility and ease of use in mind, our API enables you to seamlessly integrate Ekajaya Fastboat’s robust booking engine with your existing website or application, providing your customers with a seamless and efficient booking experience.

This documentation aims to provide you with all the necessary information to help you get started, understand the API’s functionality, and implement it effectively. You’ll find comprehensive guides, code examples, and detailed explanations to help you harness the full potential of our Fastboat Booking Engine API in the context of Ekajaya Fastboat and its connection to Nusa Travel.

Whether you’re a developer looking to build a custom fastboat booking solution for Ekajaya Fastboat or a business owner aiming to streamline your booking process, our API is designed to meet your needs and exceed your expectations.

Dive in, and let’s embark on this journey together towards revolutionizing Ekajaya Fastboat’s booking experience! If you have any questions or need assistance along the way, our dedicated support team is always here to help.

Get   Docks

				
					http://localhost:8000/api/fastboat/places
				
			
HEADERS

authorization

				
					$2y$10$4yuQQuDpaLY3Zzo9LXXJ1OaaL6a98zTklNd1w/03qJeZKgWTlfAbu
				
			
Example Request
Docks [SUCCESS]
				
					curl --location 'http://localhost:8000/api/fastboat/places' \
--header 'authorization: $2y$10$4yuQQuDpaLY3Zzo9LXXJ1OaaL6a98zTklNd1w/03qJeZKgWTlfAbu'
				
			
Example Response
				
					[{"name":"SENGGIGI","id":"2a6ead12-9f7b-4774-85d2-e3f3a4a3a039"},{"name":"LEMBONGAN","id":"3c3961d8-6f27-4c04-adc9-6cc83abfa425"},{"name":"BANGSAL","id":"7078b090-41c6-4ca7-a02b-f56423336dbe"},{"name":"GILI TRAWANGAN","id":"8b85afd2-4f32-4191-a952-b3a00675af82"},{"name":"SERANGAN","id":"918e465b-5378-4df6-9612-69feab1ca1b7"},{"name":"AIR","id":"9bde9c30-9515-4c1b-b18c-352b362c672e"},{"name":"MENO","id":"a3778c63-7553-4697-b712-545a2cc99c71"},{"name":"PADANGBAI","id":"c0b1149e-4617-41db-acf3-c7a73c4e954d"},{"name":"PENIDA","id":"e758ab9e-7dc9-4ae1-a530-4f200b200d77"}]
				
			

Get   Track Avability

				
					http://localhost:8000/api/tracks?from=SENGGIGI&to=SERANGAN&date=2023-03-25
				
			
HEADERS

authorization

				
					$2y$10$2XQyvhiWqu7SnnktXRLEHeXMZfDlprbwwUNuUQ6EsA4Kv03mds/Oe
				
			
Parameters
from
SENGGIGI
to
SERANGAN
date
2023-03-25
Example Request
Track Avability [SUCCESS]
				
					curl --location 'http://localhost:8000/api/tracks?from=SENGGIGI&to=SERANGAN&date=2023-03-23' \
--header 'authorization: abc-test' \
--data ''
				
			
Example Response
				
					{"data":[{"id":"98bfda4c-a01f-46e6-aae2-024763f54f97","fastboat_id":"13fa9d8a-6d8c-4b35-92ee-655193e4a65e","fastboat":"Fastboat 3","from_id":"2a6ead12-9f7b-4774-85d2-e3f3a4a3a039","from":"SENGGIGI","to_id":"918e465b-5378-4df6-9612-69feab1ca1b7","to":"SERANGAN","name":"SENGGIGI - SERANGAN","arrival_time":"11:00","departure_time":"13:00","price":"1002.00","capacity":99,"updated_at":"22-03-2023 22:03","source":null},{"id":"98bfc5f3-7388-4947-899f-3c8388842284","fastboat_id":"0aa27c73-efa5-4ab5-8b3f-9f080cb1d487","fastboat":"Fastboat 3","from_id":"9a565b33-2fef-41f0-a852-8515f74daeae","from":"SENGGIGI","to_id":"8298356f-e8d0-48a0-beca-481d61c76760","to":"SERANGAN","name":"SENGGIGI - SERANGAN","arrival_time":"23:00","departure_time":"23:30","price":"11100.00","capacity":100,"updated_at":"22-03-2023 22:03","source":"App\\Services\\EkajayaService"}],"links":{"first":"http:\/\/localhost:8000\/api\/tracks?page=1","last":"http:\/\/localhost:8000\/api\/tracks?page=1","prev":null,"next":null},"meta":{"current_page":1,"from":1,"last_page":1,"links":[{"url":null,"label":"« Previous","active":false},{"url":"http:\/\/localhost:8000\/api\/tracks?page=1","label":"1","active":true},{"url":null,"label":"Next »","active":false}],"path":"http:\/\/localhost:8000\/api\/tracks","per_page":15,"to":2,"total":2}}
				
			

Get   Pickups

				
					http://localhost:8000/api/pickups?name=
				
			
HEADERS

authorization

abc-test

Parameters
name
page
1
Example Request
Pickups [SUCCESS]
				
					curl --location 'http://localhost:8000/api/pickups?name=' \
--header 'authorization: abc-test'
				
			
Example Response
				
					{"data":[{"id":"0886e2d7-ab88-42d6-981d-884f99ad4bc9","name":"PANTAI","car_name":"Bus","description":"SERANGAN PORT - HOTEL (Ubud \/ Tanah Lot)","price":"1000000.00","source_place":"SENGGIGI","source_place_id":"2a6ead12-9f7b-4774-85d2-e3f3a4a3a039"},{"id":"1a570647-0420-438d-9c4a-d053ddbc2127","name":"PELABUHAN","car_name":"Bus","description":"SERANGAN PORT - HOTEL (Ubud \/ Tanah Lot)","price":"1000000.00","source_place":"SENGGIGI","source_place_id":"2a6ead12-9f7b-4774-85d2-e3f3a4a3a039"},{"id":"6e7c7c56-577b-4f11-9e1b-9ff12ea70c1b","name":"HOTEL","car_name":"Bus","description":"SERANGAN PORT - HOTEL (Ubud \/ Tanah Lot)","price":"1000000.00","source_place":"SENGGIGI","source_place_id":"2a6ead12-9f7b-4774-85d2-e3f3a4a3a039"},{"id":"ac7acc12-3c78-4c70-ba75-cefb2809634d","name":"BANDARA","car_name":"Bus","description":"SERANGAN PORT - HOTEL (Ubud \/ Tanah Lot)","price":"1000000.00","source_place":"SENGGIGI","source_place_id":"2a6ead12-9f7b-4774-85d2-e3f3a4a3a039"}],"links":{"first":"http:\/\/localhost:8000\/api\/pickups?page=1","last":"http:\/\/localhost:8000\/api\/pickups?page=1","prev":null,"next":null},"meta":{"current_page":1,"from":1,"last_page":1,"links":[{"url":null,"label":"« Previous","active":false},{"url":"http:\/\/localhost:8000\/api\/pickups?page=1","label":"1","active":true},{"url":null,"label":"Next »","active":false}],"path":"http:\/\/localhost:8000\/api\/pickups","per_page":15,"to":4,"total":4}}
				
			
POST Order
				
					http://localhost:8000/api/order
				
			
HEADERS

authorization

				
					$2y$10$Ka6Rd5OnGT.jJqKjiyBf.eIlXBKCSnheP6d7kkFyApTsaVZQCzAUG
				
			

accept

				
					application/json
				
			
Body raw (json)
				
					{"persons":[{"national_id":"3456789021312","nation":"WNA","name":"Jhon doe"},{"national_id":"345678903456789","nation":"WNA","name":"Billy"},{"national_id":"123456789","nation":"WNI","name":"Rany"}],"order":{"date":"2023-03-23","qty":3,"price":10000,"total_payed":10000,"track_id":"98bfef39-b067-4695-957e-0ecda7f785cf"}}
				
			
Example Request
Order [SUCCESS]
				
					curl --location 'http://localhost:8000/api/order' \
--header 'authorization: $2y$10$0R2wQPi05Pk486VMqD1FS.Pq42s2t1J3wDMZyMvOWHWqv0j9koKN2' \
--header 'Accept: application/json' \
--data '{
    "persons": [
        {
            "national_id": "3456789021312",
            "nation": "WNA",
            "name": "Jhon doe"
        },
        {
            "national_id": "345678903456789",
            "nation": "WNA",
            "name": "Billy"
        },
        {
            "national_id": "123456789",
            "nation": "WNI",
            "name": "Rany"
        }
    ],
    "order": {
        "date": "2023-03-24",
        "qty": 3,
        "price": 10000.00,
        "total_payed":10000,
        "track_id": "98bf3e66-cb2b-4a0a-8679-7ee5e7251d6f"
    }
}'
				
			
Example Response
				
					{"message":"Succses","details":"Order recorded"}
				
			
Select the fields to be shown. Others will be hidden. Drag and drop to rearrange the order.
  • Image
  • SKU
  • Rating
  • Price
  • Stock
  • Availability
  • Add to cart
  • Description
  • Content
  • Weight
  • Dimensions
  • Additional information
Click outside to hide the comparison bar
Compare