POST Routes/InsertIdeal
Request Information
URI Parameters
None.
Body Parameters
IdealDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| RouteId | integer |
None. |
|
| TripId | integer |
None. |
|
| Time | string |
None. |
|
| Date | date |
None. |
|
| UserId | integer |
None. |
|
| Lat | string |
None. |
|
| Long | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"RouteId": 2,
"TripId": 3,
"Time": "sample string 4",
"Date": "2025-12-12T20:08:55.1611721+05:30",
"UserId": 6,
"Lat": "sample string 7",
"Long": "sample string 8"
}
text/html
Sample:
{"Id":1,"RouteId":2,"TripId":3,"Time":"sample string 4","Date":"2025-12-12T20:08:55.1611721+05:30","UserId":6,"Lat":"sample string 7","Long":"sample string 8"}
application/xml, text/xml
Sample:
<IdealDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tracking.Entity"> <Date>2025-12-12T20:08:55.1611721+05:30</Date> <Id>1</Id> <Lat>sample string 7</Lat> <Long>sample string 8</Long> <RouteId>2</RouteId> <Time>sample string 4</Time> <TripId>3</TripId> <UserId>6</UserId> </IdealDto>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, text/html, application/xml, text/xml
Sample:
Sample not available.