PUT | /RideShare/UBER/ChargeInfo |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
TripId | form | string | No | |
TransactionTime | form | DateTime | No | |
TransactionType | form | string | No | |
TripCreatedTime | form | DateTime | No | |
FlexTripTime | form | string | No | |
BeginTripDate | form | DateTime | No | |
BeginTripTime | form | string | No | |
DropOffTripDate | form | DateTime | No | |
DropOffTime | form | string | No | |
TimeZone | form | string | No | |
Status | form | string | No | |
RequestType | form | string | No | |
AsTheCrowFlies | form | decimal | No | |
Miles | form | decimal | No | |
TripDuration | form | decimal | No | |
FirstName | form | string | No | |
LastName | form | string | No | |
PhoneNumber | form | string | No | |
Coordinator | form | string | No | |
CoordinatorGroup | form | string | No | |
CoordinatorID | form | string | No | |
PickupAddress | form | string | No | |
DropoffAddress | form | string | No | |
ProductName | form | string | No | |
CurrencyCode | form | string | No | |
FareAmount | form | decimal | No | |
InternalMemo | form | string | No | |
CalculatedServiceId | form | int | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
PUT /RideShare/UBER/ChargeInfo HTTP/1.1
Host: set-api-service-prod.azurewebsites.net
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{"TripId":"String","TransactionTime":"\/Date(-62135596800000-0000)\/","TransactionType":"String","TripCreatedTime":"\/Date(-62135596800000-0000)\/","FlexTripTime":"String","BeginTripDate":"\/Date(-62135596800000-0000)\/","BeginTripTime":"String","DropOffTripDate":"\/Date(-62135596800000-0000)\/","DropOffTime":"String","TimeZone":"String","Status":"String","RequestType":"String","AsTheCrowFlies":0,"Miles":0,"TripDuration":0,"FirstName":"String","LastName":"String","PhoneNumber":"String","Coordinator":"String","CoordinatorGroup":"String","CoordinatorID":"String","PickupAddress":"String","DropoffAddress":"String","ProductName":"String","CurrencyCode":"String","FareAmount":0,"InternalMemo":"String","CalculatedServiceId":0}