Get_Bookings
Display all bookings from your TaxisNetwork Partner Portal in your own solution without any hassle.
Get_Bookings is a GET request API. It retrieves data over the HTTP protocol and returns the response in JSON format, making it simple and convenient to use the obtained data without having to log in to the TaxisNetwork Partner Portal.
Name | Type | Description |
---|---|---|
BookingID | String | Booking ID for the Job. |
RecordID | String | Record ID is used to process booking on the POST API requests. |
Date & Time | String | Date and Time of the booking. |
Account | String | Cash or Card. |
Partner Fare | Double | Your Share for the Job. |
Customer Fare | Double | Actual fare for the Job. |
Extra Items | String | Extra Items the passenger is carrying. |
Comment | String | Comments / Extra information for the Booking. |
Driver Name | String | Driver Name will be shown if a driver has been allocated for that specific job. |
Customer Details | String | Customer Name, Email and telephone number will only be shown after a job has been marked as confirmed. |
Booking State | String | Available To Claim |
Journey Data | Array | Journey Data contains an Array of objects which contain data about the journey like Address, Doorno, Postcode, Latitude & Longitude. The First object of JourneyData will be the Customer origin and the Last object will always be the Destination where customer wants to reach. The objects in middle will be the Vias. |
Request
Get_Bookings just need your Unique APIKEY Generated from your TaxiNetwork Partner Portal to get authorized and brings you the tailored response according to your account.
https://taxisnetwork.com/api/API/Get_Bookings?key=YOURUNIQUEAPIKEY
Response
{
"Bookings": [
{
"BookingID": "TNWxxxxxx",
"RecordID": "xxx123456xxx79872",
"Date": "27-06-21",
"Time": "01:30",
"Account": "CASH",
"PartnerFare": 26,
"CustomerFare": 27,
"ExtraItems": "1x Cabin",
"Comment": "Make Sure the Cab is sanitized",
"VehicleName": "Saloon",
"DriverName": "",
"CustomerName": "",
"CustomerEmail": "",
"CustomerNumber": "",
"BookingState": "unconfirmed",
"JourneyData": [
{
"address": "KT9 HOOK ROAD",
"doorno": "",
"postcode": "KT9 1AH",
"latitude": "51.36933",
"longitude": "-0.30624"
},
{
"address": "BRACKEN CLOSE",
"doorno": "",
"postcode": "TW2 7EW",
"latitude": "51.45197",
"longitude": "-0.37244"
}
]
},
{20 items},
{20 items},
{20 items}
],
"Status": "Success"
}
}
Selected_Bookings
Display all bookings from your TaxisNetwork Partner Portal on your own dedicated solution without any hassle.
Selected_Bookings is a GET request API. It retrieves data over the HTTP protocol and returns the response in JSON format, making it simple and convenient to use the obtained data without having to log in to the TaxisNetwork Partner Portal.
Name | Type | Description |
---|---|---|
BookingID | String | Booking ID for the Job. |
RecordID | String | Record ID is used to process booking on the POST API requests. |
Date & Time | String | Date and Time of the booking. |
Account | String | Cash or Card. |
Partner Fare | Double | Your Share for the Job. |
Customer Fare | Double | Actual fare for the Job. |
Extra Items | String | Extra Items the passenger is carrying. |
Comment | String | Comments / Extra information for the Booking. |
Driver Name | String | Driver Name will be shown if a driver has been allocated for that specific job. |
Customer Details | String | Customer Name, Email and telephone number will only be shown after a job has been marked as confirmed. |
Booking State | String | Use booking states to differentiate between Unconfirmed, Confirmed, and Job Done. |
Journey Data | Array | Journey Data contains an Array of objects which contain data about the journey like Address, Doorno, Postcode, Latitude & Longitude. The First object of JourneyData will be the Customer origin and the Last object will always be the Destination where customer wants to reach. The objects in middle will be the Vias. |
Request
Selected_Bookings just need your Unique APIKEY Generated from your TaxiNetwork Partner Portal to get authorized and brings you the tailored response according to your account.
https://taxisnetwork.com/api/API/Selected_Bookings?key=YOURUNIQUEAPIKEY
Response
{
"Bookings": [
{
"BookingID": "TNWxxxxxx",
"RecordID": "xxx123456xxx79872",
"Date": "27-06-21",
"Time": "01:30",
"Account": "CASH",
"PartnerFare": 26,
"CustomerFare": 27,
"ExtraItems": "1x Cabin",
"Comment": "Make Sure the Cab is sanitized",
"VehicleName": "Saloon",
"DriverName": "",
"CustomerName": "",
"CustomerEmail": "",
"CustomerNumber": "",
"BookingState": "unconfirmed",
"JourneyData": [
{
"address": "KT9 HOOK ROAD",
"doorno": "",
"postcode": "KT9 1AH",
"latitude": "51.36933",
"longitude": "-0.30624"
},
{
"address": "BRACKEN CLOSE",
"doorno": "",
"postcode": "TW2 7EW",
"latitude": "51.45197",
"longitude": "-0.37244"
}
]
},
{20 items},
{20 items},
{20 items}
],
"Status": "Success"
}
}
ConfirmNewBooking
Confirms a booking by record ID from the POST request.
ConfirmNewBooking is a POST request API.
It requires an object containing the APIKey
and RecordId
of the unconfirmed job that needs to be confirmed.
The API returns a success or failure response in JSON format.
Name | Type | Description |
---|---|---|
Message | String | Success or Failure Message / Reason. |
Status | String | Success or Fail. |
Request
ConfirmNewBooking POST request requires an object containing your Uniquely Generated API key and Record Id for the Job.
https://taxisnetwork.com/api/API/ConfirmNewBooking
Body
{
"key": "YOURUNIQUEAPIKEY",
"id": "JOB RECORD ID" }
Response
{
"Message": "Response",
"Status": "Success / Fail" }
CompleteBooking
Complete a single confirmed booking using the record ID provided in the POST request object.
CompleteBooking is a POST API that completes a confirmed and allocated job.
It requires an APIKey
and RecordId
in the request body and returns a JSON response indicating success or failure.
Name | Type | Description |
---|---|---|
Message | String | Success or Failure Message / Reason. |
Status | String | Success or Fail. |
Request
CompleteBooking POST request requires an object containing your Uniquely Generated API key and Record Id for the Job.
https://taxisnetwork.com/api/API/CompleteBooking
Body
{
"key": "YOURUNIQUEAPIKEY",
"id": "JOB RECORD ID" }
Response
{
"Message": "Response",
"Status": "Success / Fail" }