CarpoolWorld REST API - Trip status
→ Developers
→ REST Api
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
HTTP Methods
POST
Resource description
Use POST https://www.carpoolworld.com/rest_trip_status.html/IOFormatResource URL
https://www.carpoolworld.com/rest_trip_status.html/IOFormatParameters
partner_name | required | Your developer partner name |
partner_key | required | Your developer partner key |
traveler_name | required | A traveler name of your choice. Up to 20 characters. Letters (a-z), numbers (0-9) and underscores (_) are allowed |
traveler_password | required | A 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_id | required | Specify 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. |
status | optional | Trip status ""=active "X"=deleted "D"=passive |
Example request
JSON
XML
Responses
The response is formatted as followsJSON
XML
Success or error | Status | Description |
---|---|---|
9000 | Invalid partner or partner key | |
9001 | Invalid traveler login | |
9002 | ERRORlistsallerrors | |
0000 | Initialize | |
3000 | SUCCESS - the trip id trip# is now Active Passive or Deleted | |
9999 | Finalize |