SET.API.Services

<back to all web services

Completed

The following routes are available for this service:
GET/RideShare/Completed
ListingResults Parameters:
NameParameterData TypeRequiredDescription
NbrRecordsformintNo
RecordsformList<ServiceOrder>No
ServiceOrder Parameters:
NameParameterData TypeRequiredDescription
ClaimantNameformstringNo
FirstNameformstringNo
LastNameformstringNo
CellformstringNo
ServiceDateformstringNo
StatusformstringNo
OriginformstringNo
DestinationformstringNo
ServiceIdformintNo
RecordIdformintNo
LegIdformintNo
RecordStatusformintNo
EmailformstringNo
TagformstringNo
RedeemableformstringNo
ClaimantIdformstringNo
RideStatusformstringNo
OrderIdformintNo
UberOriginformstringNo
UberDestinationformstringNo

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

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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

GET /RideShare/Completed HTTP/1.1 
Host: set-api-service-prod.azurewebsites.net 
Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"NbrRecords":0,"Records":[{"ClaimantName":"String","FirstName":"String","LastName":"String","Cell":"String","ServiceDate":"String","Status":"String","Origin":"String","Destination":"String","ServiceId":0,"RecordId":0,"LegId":0,"RecordStatus":0,"Email":"String","Tag":"String","Redeemable":"String","ClaimantId":"String","RideStatus":"String","OrderId":0,"UberOrigin":"String","UberDestination":"String"}]}