PUT api/TripActivities/{id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
Body Parameters
TripActivityName | Description | Type | Additional information |
---|---|---|---|
ID | integer |
None. |
|
startTime | date |
None. |
|
endTime | date |
None. |
|
originID | integer |
None. |
|
destinationID | integer |
None. |
|
milesRun | integer |
None. |
|
fuelConsumed | integer |
None. |
|
consumptionUnit | string |
Required String length: inclusive between 0 and 50 |
|
contentType | string |
String length: inclusive between 0 and 50 |
|
contentTransferred | integer |
None. |
|
transferUnit | string |
Required String length: inclusive between 0 and 50 |
|
waterConsumed | integer |
None. |
|
wConsumptionUnit | string |
Required String length: inclusive between 0 and 50 |
|
waterTransferred | integer |
None. |
|
wTransferUnit | string |
Required String length: inclusive between 0 and 50 |
|
activity1ID | integer |
None. |
|
activity2ID | integer |
None. |
|
activity3 | string |
String length: inclusive between 0 and 150 |
|
longitude | decimal number |
None. |
|
Latitude | decimal number |
None. |
|
tripID | integer |
None. |
|
entryDate | date |
None. |
|
activity1 | Activity |
None. |
|
activity2 | Activity |
None. |
|
origin | Location |
None. |
|
destination | Location |
None. |
|
trip | Trip |
None. |
Request Formats
application/json
Sample:
Sample not available.
text/json
Sample:
Sample not available.
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.