GET | /Service/{Id} |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Id | path | Guid | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
DateOfService | form | string | No | |
PickupTime | form | string | No | |
Status | form | string | No | |
AutoAssignProvider | form | string | No | |
AutoAssignProviderId | form | Guid | No | |
GlueId | form | int | No | |
Legs | form | List<ServiceLeg> | No | |
Rates | form | ProviderRates | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
LegId | form | Guid | No | |
Miles | form | int | No | |
TravelTimeInMinutes | form | int | No | |
StartLocation | form | Place | No | |
EndLocation | form | Place | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Name | form | string | No | |
Address1 | form | string | No | |
Address2 | form | string | No | |
City | form | string | No | |
State | form | string | No | |
Zip | form | string | No | |
Latitiude | form | string | No | |
Longitude | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
FlatFee | form | string | No | |
MileageFee | form | string | No | |
WaitRate | form | string | No | |
NoShowFee | form | string | No | |
Miles | form | int | No | |
LoadFee | form | string | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /Service/{Id} HTTP/1.1 Host: set-api-service-prod.azurewebsites.net Accept: text/jsv
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length { DateOfService: String, PickupTime: String, Status: String, AutoAssignProvider: String, AutoAssignProviderId: 00000000000000000000000000000000, GlueId: 0, Legs: [ { LegId: 00000000000000000000000000000000, Miles: 0, TravelTimeInMinutes: 0, StartLocation: { Name: String, Address1: String, Address2: String, City: String, State: String, Zip: String, Latitiude: String, Longitude: String }, EndLocation: { Name: String, Address1: String, Address2: String, City: String, State: String, Zip: String, Latitiude: String, Longitude: String } } ], Rates: { FlatFee: String, MileageFee: String, WaitRate: String, NoShowFee: String, Miles: 0, LoadFee: String } }