PUT api/Routes/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
Route| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
None. |
|
| DateCreated | date |
None. |
|
| LastModified | date |
None. |
|
| StartLongitude | decimal number |
None. |
|
| StartLatitude | decimal number |
None. |
|
| EndLongitue | decimal number |
None. |
|
| EndLatitude | decimal number |
None. |
|
| Active | boolean |
None. |
|
| RouteName | string |
None. |
|
| StartAddress | string |
None. |
|
| EndAddresss | string |
None. |
|
| AssociationId | integer |
None. |
|
| Distance | decimal number |
None. |
|
| Cost | decimal number |
None. |
|
| PassengerRadius | decimal number |
None. |
|
| AllowTolls | boolean |
None. |
|
| AllowHighways | boolean |
None. |
|
| PassengerUnitofMeasure | integer |
None. |
|
| DirectionType | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": 1,
"DateCreated": "2025-12-12T08:41:21.6332901+02:00",
"LastModified": "2025-12-12T08:41:21.6332901+02:00",
"StartLongitude": 4.1,
"StartLatitude": 5.1,
"EndLongitue": 6.1,
"EndLatitude": 7.1,
"Active": true,
"RouteName": "sample string 9",
"StartAddress": "sample string 10",
"EndAddresss": "sample string 11",
"AssociationId": 1,
"Distance": 12.1,
"Cost": 13.1,
"PassengerRadius": 14.1,
"AllowTolls": true,
"AllowHighways": true,
"PassengerUnitofMeasure": 1,
"DirectionType": 1
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.