Please Note: This endpoint is intended for small organizations with a low trip volume, under 50 trips per day in total. If you are a high volume submitter, it is highly recommended that you manage riders separately, through the rider endpoint and use the single trip endpoint to create trips. A future API version will be fully removing this endpoint.
Sample Payload
{
"tp_api_key": "00e1015d588f448384b6b3a7207762c1",
"trip_id": "w342rfgnfgjdfj",
"rider": {
"rider_id": "fdsdhr756756u",
"first_name": "David",
"last_name": "Reinkensmeyer",
"middle_name": "M",
"address": {
"location_name": "Hello",
"address1": "3825 E Camelback Rd",
"address2": "243",
"city": "Phoenix",
"state": "AZ",
"zip": "85018",
"longitude": -111.99806096627871,
"latitude": 33.50910324890402
},
"phone": "602654654",
"mobile_phone": "2342342",
"date_of_birth": "03/07/1981",
"is_male": true,
"is_Female": false,
"comments": "",
"private_comments": ""
},
"pickup": {
"event_name": "pickup",
"event_comment": "string",
"complete_address": "2882 N Scottsdale Rd, Scottsdale, AZ 85257",
"event_location": {
"location_name": "Hospital",
"address1": "",
"address2": "",
"city": "",
"state": "",
"zip": "",
"longitude": -111.9287566,
"latitude": 33.4799636
},
"pickup_time": "2021-04-30 14: 48: 49.403",
"phone_number": "123123123"
},
"dropoff": {
"event_name": "string",
"event_comment": "",
"complete_address": "",
"event_location": {
"location_name": "home",
"address1": "6606 W Camelback Rd",
"address2": "",
"city": "Glendale",
"state": "AZ",
"zip": "85301",
"longitude": -112.2035528,
"latitude": 33.5097911
},
"appt_time": "04/30/2021 3:00PM",
"phone_number": "123123123"
},
"funding_source_id": 1698,
"space_type": "AMB",
"billable_distance": 43,
"phone": "string",
"trip_type": "Appointment",
"additional_passengers": [
{
"space_type": "AMB",
"count": 1
}
],
"trip_charges": 0
}