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 .jsv suffix or ?format=jsv

HTTP + JSV

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/jsv
Content-Type: text/jsv
Content-Length: length

{
	ServiceId: 0,
	LegId: 0,
	CreateForAllLegs: False,
	VendorId: 0
}