CarpoolWorld REST API - Trip status

Version:

REST API: Trip status

Change the status of a trip.

Resource information

https://www.carpoolworld.com/rest_trip_status.html
Request/Response Formats (IOFormat)
XML or JSON
Version
2
HTTP Methods
POST

Resource description

Use POST https://www.carpoolworld.com/rest_trip_status.html/IOFormat/Version

Resource URL

https://www.carpoolworld.com/rest_trip_status.html/IOFormat/Version

Parameters

partner_namerequiredYour developer partner name
partner_keyrequiredYour developer partner key
traveler_namerequiredA traveler name of your choice.
Up to 20 characters. Letters (a-z), numbers (0-9) and underscores (_) are allowed
traveler_passwordrequiredA traveler password of your choice, if this is an existing traveler, the passwords must match. The password are stored encrypted in the carpoolworld database
Up to 20 characters.
trip_idrequiredSpecify a valid trip number to change the data for the trip specified, use the trip_list specification to retrieve a list of trips and the details of each trip.
statusoptionalTrip status
""=active "X"=deleted "D"=passive

Example request

JSON

XML

Responses

The response is formatted as follows

JSON

XML

Success or errorStatusDescription
9000Invalid partner or partner key
9001Invalid traveler login
9002ERRORlistsallerrors
3000SUCCESS - the trip id trip# is now Active Passive or Deleted