SET.API.Services

<back to all web services

Schedule

The following routes are available for this service:
POST/RideShare/{ServiceId}/{LegId}
Schedule Parameters:
NameParameterData TypeRequiredDescription
ServiceIdpathintNo
LegIdpathintNo
CreateForAllLegsbodyboolNo
VendorIdbodyintNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /RideShare/{ServiceId}/{LegId} HTTP/1.1 
Host: set-api-service-prod.azurewebsites.net 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"ServiceId":0,"LegId":0,"CreateForAllLegs":false,"VendorId":0}