GET api/Monitoring

Request Information

URI Parameters

None.

Body Parameters

Dictionary of string [key] and string [value]

Request Formats

application/json, text/json

Sample:
{
  "sample string 1": "sample string 2",
  "sample string 3": "sample string 4"
}

application/xml, text/xml

Sample:
<ArrayOfKeyValueOfstringstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
  <KeyValueOfstringstring>
    <Key>sample string 1</Key>
    <Value>sample string 2</Value>
  </KeyValueOfstringstring>
  <KeyValueOfstringstring>
    <Key>sample string 3</Key>
    <Value>sample string 4</Value>
  </KeyValueOfstringstring>
</ArrayOfKeyValueOfstringstring>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'Dictionary`2'.

Response Information

Resource Description

Message
NameDescriptionTypeAdditional information
result

boolean

None.

error

None.

Response Formats

application/json, text/json

Sample:
{
  "result": true,
  "error": {
    "code": "sample string 1",
    "message": "sample string 2",
    "timestamp_request": "sample string 3",
    "http_request": "sample string 4",
    "response_code": "sample string 5",
    "response_description": "sample string 6",
    "id_request": "sample string 7",
    "http_method": "sample string 8",
    "request_type": "sample string 9",
    "ip_client": "sample string 10",
    "user_agent": "sample string 11",
    "duration": "sample string 12",
    "params": {
      "sample string 1": "sample string 2",
      "sample string 3": "sample string 4"
    },
    "rp_message": {
      "error": [
        0,
        0
      ]
    }
  },
  "data": [
    {
      "legs": [
        {
          "transport": {
            "travel_mode": "sample string 1",
            "long_name": "sample string 2",
            "short_name": "sample string 3",
            "ride_id": "sample string 4",
            "driver_id": "sample string 5",
            "ride_name": "sample string 6",
            "route_url": "sample string 7",
            "agency_id": "sample string 8",
            "route_id": "sample string 9",
            "trip_id": "sample string 10",
            "trip_headsign": "sample string 11",
            "availability": "sample string 12",
            "route_color": "sample string 13",
            "route_text_color": "sample string 14",
            "shape_id": "sample string 15",
            "route_shape": "sample string 16"
          },
          "route": {
            "points": [
              {
                "address": "sample string 1",
                "point": {
                  "lat": "sample string 1",
                  "lon": "sample string 2"
                },
                "date": "sample string 2",
                "stop_id": "sample string 3",
                "departure_time": "sample string 4"
              },
              {
                "address": "sample string 1",
                "point": {
                  "lat": "sample string 1",
                  "lon": "sample string 2"
                },
                "date": "sample string 2",
                "stop_id": "sample string 3",
                "departure_time": "sample string 4"
              }
            ]
          },
          "distance": "sample string 1",
          "stops": "sample string 2",
          "duration": "sample string 3",
          "waiting_time": "sample string 4",
          "departure_time": "sample string 5"
        },
        {
          "transport": {
            "travel_mode": "sample string 1",
            "long_name": "sample string 2",
            "short_name": "sample string 3",
            "ride_id": "sample string 4",
            "driver_id": "sample string 5",
            "ride_name": "sample string 6",
            "route_url": "sample string 7",
            "agency_id": "sample string 8",
            "route_id": "sample string 9",
            "trip_id": "sample string 10",
            "trip_headsign": "sample string 11",
            "availability": "sample string 12",
            "route_color": "sample string 13",
            "route_text_color": "sample string 14",
            "shape_id": "sample string 15",
            "route_shape": "sample string 16"
          },
          "route": {
            "points": [
              {
                "address": "sample string 1",
                "point": {
                  "lat": "sample string 1",
                  "lon": "sample string 2"
                },
                "date": "sample string 2",
                "stop_id": "sample string 3",
                "departure_time": "sample string 4"
              },
              {
                "address": "sample string 1",
                "point": {
                  "lat": "sample string 1",
                  "lon": "sample string 2"
                },
                "date": "sample string 2",
                "stop_id": "sample string 3",
                "departure_time": "sample string 4"
              }
            ]
          },
          "distance": "sample string 1",
          "stops": "sample string 2",
          "duration": "sample string 3",
          "waiting_time": "sample string 4",
          "departure_time": "sample string 5"
        }
      ],
      "count_pt": 1,
      "trip_duration": 2.1,
      "trip_distance": 3.1,
      "info": "sample string 4"
    },
    {
      "legs": [
        {
          "transport": {
            "travel_mode": "sample string 1",
            "long_name": "sample string 2",
            "short_name": "sample string 3",
            "ride_id": "sample string 4",
            "driver_id": "sample string 5",
            "ride_name": "sample string 6",
            "route_url": "sample string 7",
            "agency_id": "sample string 8",
            "route_id": "sample string 9",
            "trip_id": "sample string 10",
            "trip_headsign": "sample string 11",
            "availability": "sample string 12",
            "route_color": "sample string 13",
            "route_text_color": "sample string 14",
            "shape_id": "sample string 15",
            "route_shape": "sample string 16"
          },
          "route": {
            "points": [
              {
                "address": "sample string 1",
                "point": {
                  "lat": "sample string 1",
                  "lon": "sample string 2"
                },
                "date": "sample string 2",
                "stop_id": "sample string 3",
                "departure_time": "sample string 4"
              },
              {
                "address": "sample string 1",
                "point": {
                  "lat": "sample string 1",
                  "lon": "sample string 2"
                },
                "date": "sample string 2",
                "stop_id": "sample string 3",
                "departure_time": "sample string 4"
              }
            ]
          },
          "distance": "sample string 1",
          "stops": "sample string 2",
          "duration": "sample string 3",
          "waiting_time": "sample string 4",
          "departure_time": "sample string 5"
        },
        {
          "transport": {
            "travel_mode": "sample string 1",
            "long_name": "sample string 2",
            "short_name": "sample string 3",
            "ride_id": "sample string 4",
            "driver_id": "sample string 5",
            "ride_name": "sample string 6",
            "route_url": "sample string 7",
            "agency_id": "sample string 8",
            "route_id": "sample string 9",
            "trip_id": "sample string 10",
            "trip_headsign": "sample string 11",
            "availability": "sample string 12",
            "route_color": "sample string 13",
            "route_text_color": "sample string 14",
            "shape_id": "sample string 15",
            "route_shape": "sample string 16"
          },
          "route": {
            "points": [
              {
                "address": "sample string 1",
                "point": {
                  "lat": "sample string 1",
                  "lon": "sample string 2"
                },
                "date": "sample string 2",
                "stop_id": "sample string 3",
                "departure_time": "sample string 4"
              },
              {
                "address": "sample string 1",
                "point": {
                  "lat": "sample string 1",
                  "lon": "sample string 2"
                },
                "date": "sample string 2",
                "stop_id": "sample string 3",
                "departure_time": "sample string 4"
              }
            ]
          },
          "distance": "sample string 1",
          "stops": "sample string 2",
          "duration": "sample string 3",
          "waiting_time": "sample string 4",
          "departure_time": "sample string 5"
        }
      ],
      "count_pt": 1,
      "trip_duration": 2.1,
      "trip_distance": 3.1,
      "info": "sample string 4"
    }
  ],
  "bad": [
    {
      "legs": [
        {
          "transport": {
            "travel_mode": "sample string 1",
            "long_name": "sample string 2",
            "short_name": "sample string 3",
            "ride_id": "sample string 4",
            "driver_id": "sample string 5",
            "ride_name": "sample string 6",
            "route_url": "sample string 7",
            "agency_id": "sample string 8",
            "route_id": "sample string 9",
            "trip_id": "sample string 10",
            "trip_headsign": "sample string 11",
            "availability": "sample string 12",
            "route_color": "sample string 13",
            "route_text_color": "sample string 14",
            "shape_id": "sample string 15",
            "route_shape": "sample string 16"
          },
          "route": {
            "points": [
              {
                "address": "sample string 1",
                "point": {
                  "lat": "sample string 1",
                  "lon": "sample string 2"
                },
                "date": "sample string 2",
                "stop_id": "sample string 3",
                "departure_time": "sample string 4"
              },
              {
                "address": "sample string 1",
                "point": {
                  "lat": "sample string 1",
                  "lon": "sample string 2"
                },
                "date": "sample string 2",
                "stop_id": "sample string 3",
                "departure_time": "sample string 4"
              }
            ]
          },
          "distance": "sample string 1",
          "stops": "sample string 2",
          "duration": "sample string 3",
          "waiting_time": "sample string 4",
          "departure_time": "sample string 5"
        },
        {
          "transport": {
            "travel_mode": "sample string 1",
            "long_name": "sample string 2",
            "short_name": "sample string 3",
            "ride_id": "sample string 4",
            "driver_id": "sample string 5",
            "ride_name": "sample string 6",
            "route_url": "sample string 7",
            "agency_id": "sample string 8",
            "route_id": "sample string 9",
            "trip_id": "sample string 10",
            "trip_headsign": "sample string 11",
            "availability": "sample string 12",
            "route_color": "sample string 13",
            "route_text_color": "sample string 14",
            "shape_id": "sample string 15",
            "route_shape": "sample string 16"
          },
          "route": {
            "points": [
              {
                "address": "sample string 1",
                "point": {
                  "lat": "sample string 1",
                  "lon": "sample string 2"
                },
                "date": "sample string 2",
                "stop_id": "sample string 3",
                "departure_time": "sample string 4"
              },
              {
                "address": "sample string 1",
                "point": {
                  "lat": "sample string 1",
                  "lon": "sample string 2"
                },
                "date": "sample string 2",
                "stop_id": "sample string 3",
                "departure_time": "sample string 4"
              }
            ]
          },
          "distance": "sample string 1",
          "stops": "sample string 2",
          "duration": "sample string 3",
          "waiting_time": "sample string 4",
          "departure_time": "sample string 5"
        }
      ],
      "count_pt": 1,
      "trip_duration": 2.1,
      "trip_distance": 3.1,
      "info": "sample string 4"
    },
    {
      "legs": [
        {
          "transport": {
            "travel_mode": "sample string 1",
            "long_name": "sample string 2",
            "short_name": "sample string 3",
            "ride_id": "sample string 4",
            "driver_id": "sample string 5",
            "ride_name": "sample string 6",
            "route_url": "sample string 7",
            "agency_id": "sample string 8",
            "route_id": "sample string 9",
            "trip_id": "sample string 10",
            "trip_headsign": "sample string 11",
            "availability": "sample string 12",
            "route_color": "sample string 13",
            "route_text_color": "sample string 14",
            "shape_id": "sample string 15",
            "route_shape": "sample string 16"
          },
          "route": {
            "points": [
              {
                "address": "sample string 1",
                "point": {
                  "lat": "sample string 1",
                  "lon": "sample string 2"
                },
                "date": "sample string 2",
                "stop_id": "sample string 3",
                "departure_time": "sample string 4"
              },
              {
                "address": "sample string 1",
                "point": {
                  "lat": "sample string 1",
                  "lon": "sample string 2"
                },
                "date": "sample string 2",
                "stop_id": "sample string 3",
                "departure_time": "sample string 4"
              }
            ]
          },
          "distance": "sample string 1",
          "stops": "sample string 2",
          "duration": "sample string 3",
          "waiting_time": "sample string 4",
          "departure_time": "sample string 5"
        },
        {
          "transport": {
            "travel_mode": "sample string 1",
            "long_name": "sample string 2",
            "short_name": "sample string 3",
            "ride_id": "sample string 4",
            "driver_id": "sample string 5",
            "ride_name": "sample string 6",
            "route_url": "sample string 7",
            "agency_id": "sample string 8",
            "route_id": "sample string 9",
            "trip_id": "sample string 10",
            "trip_headsign": "sample string 11",
            "availability": "sample string 12",
            "route_color": "sample string 13",
            "route_text_color": "sample string 14",
            "shape_id": "sample string 15",
            "route_shape": "sample string 16"
          },
          "route": {
            "points": [
              {
                "address": "sample string 1",
                "point": {
                  "lat": "sample string 1",
                  "lon": "sample string 2"
                },
                "date": "sample string 2",
                "stop_id": "sample string 3",
                "departure_time": "sample string 4"
              },
              {
                "address": "sample string 1",
                "point": {
                  "lat": "sample string 1",
                  "lon": "sample string 2"
                },
                "date": "sample string 2",
                "stop_id": "sample string 3",
                "departure_time": "sample string 4"
              }
            ]
          },
          "distance": "sample string 1",
          "stops": "sample string 2",
          "duration": "sample string 3",
          "waiting_time": "sample string 4",
          "departure_time": "sample string 5"
        }
      ],
      "count_pt": 1,
      "trip_duration": 2.1,
      "trip_distance": 3.1,
      "info": "sample string 4"
    }
  ]
}

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Type 'MultimodalRoutePlanner.RoutePlanner.Routing.Router+RouterFactors' cannot be serialized. Consider marking it with the DataContractAttribute attribute, and marking all of its members you want serialized with the DataMemberAttribute attribute. If the type is a collection, consider marking it with the CollectionDataContractAttribute. See the Microsoft .NET Framework documentation for other supported types.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Type 'MultimodalRoutePlanner.RoutePlanner.Routing.Router+RouterFactors' cannot be serialized. Consider marking it with the DataContractAttribute attribute, and marking all of its members you want serialized with the DataMemberAttribute attribute. If the type is a collection, consider marking it with the CollectionDataContractAttribute. See the Microsoft .NET Framework documentation for other supported types.