Input Text File

Following is the text file we use throughout our REST example. For sake of simplicity, we use one single vehicle and one location.

 

 
{
    "RoutingService":0,
    "IsNeedMatchCode":false,
    "CurrentTime":"0001-01-01T00:00:00Z",
    "DispatchMode":0,
    "MinimumOptimization":1,
    "DistanceUnit":0,
    "Vehicles":[{
        "Name":"V1",
        "Email":null,
        "Group":null,
        "Speed":0,
        "MaxStops":0,
        "MaxWeight":0,
        "MaxSkids":0,
        "MaxVolume":0,
        "MaxMinutes":0,
        "OnTheRoad":false,
        "Tin":"2013-11-06T19:08:16Z",
        "Tout":"0001-01-01T00:00:00Z",
        "StartLocation":{
            "MatchCode":0,
            "Name":null,
            "Delivery":null,
            "Vehicle":null,
            "Description":null,
            "Phone":null,
            "LatLong":{
                "Latitude":41.700154,
                "Longitude":-87.574963
            },
            "Address":null,
            "Priority":0,
            "Wait":0,
            "Volume":0,
            "Weight":0,
            "Skids":0,
            "TimeConstraintArrival":"0001-01-01T00:00:00Z",
            "TimeConstraintDeparture":"0001-01-01T00:00:00Z",
            "TimeConstraintArrival2":"0001-01-01T00:00:00Z",
            "TimeConstraintDeparture2":"0001-01-01T00:00:00Z",
            "LocationType":0,
            "CanArriveEarly":true,
            "Distance":0,
            "Time":0
        },
        "FinishLocation":null
    }],
    "Locations":[{
        "MatchCode":0,
        "Name":"Brussel",
        "Delivery":null,
        "Vehicle":null,
        "Description":null,
        "Phone":null,
        "LatLong":{
            "Latitude":41.859896,
            "Longitude":-87.620842
        },
		"Address":null,
        "Priority":0,
        "Wait":0,
        "Volume":0,
        "Weight":0,
        "Skids":0,
        "TimeConstraintArrival":"0001-01-01T00:00:00Z",
        "TimeConstraintDeparture":"0001-01-01T00:00:00Z",
        "TimeConstraintArrival2":"0001-01-01T00:00:00Z",
        "TimeConstraintDeparture2":"0001-01-01T00:00:00Z",
        "LocationType":0,
        "CanArriveEarly":true,
        "Distance":0,
        "Time":0
    }]}