PUT - Update Location

Updating a Location

🚧

Warning:

When updating a FixedLocation, both the existing parameters and the new parameters must be used in the body of the object.

The PUT /fixedLocation endpoint allows the updating of a specific FixedLocation in the Freight Portal.

The PUT HTTP Endpoint for FixedLocation is listed below:

HTTP Verb: PUT
URI: https://{domain}.locationmanagement.services.10-4.com/v1/fixedlocation/{fixedLocationCode}
Authentication: Bearer Token

Example Response:

{
    "fixedLocationType": "Generic",
    "fixedLocationName": "10-4 Systems",
    "streetAddressLine1": "4888 Pearl East Circle",
    "streetAddressLine2": null,
    "cityName": "Boulder",
    "stateCode": "CO",
    "postalCode": "80301",
    "countryCode": "US",
    "fixedLocationPoint": {
        "latitude": 40.0207,
        "longitude": -105.2394
    },
    "fixedLocationCode": "104SYS",
    "organizationReferenceCode": null,
    "overrideDeliveryStatusFlag": false,
    "geofenceRadiusInFeet": null,
    "earlyShipmentStatusMinutes": null,
    "onTimeShipmentStatusMinutes": null,
    "inJeopardyShipmentStatusMinutes": null,
    "lateShipmentStatusMinutes": null,
    "hasEarlyStatusDefined": false,
    "hasInJeopardyStatusDefined": false,
    "dwellTimeMinutes": null,
    "isActiveFlag": true,
    "lastUpdatedDate": "2019-01-31T01:21:37+00:00",
    "geofencePolygon": {
        "type": "Feature",
        "geometry": {
            "type": "Polygon",
            "coordinates": [
                [
                    [
                        -105.23998,
                        40.02117
                    ],
                    [
                        -105.24025,
                        40.02024
                    ],
                    [
                        -105.23854,
                        40.02001
                    ],
                    [
                        -105.2383,
                        40.02089
                    ],
                    [
                        -105.23998,
                        40.02117
                    ]
                ]
            ]
        },
        "properties": null
    },
    "allowGeofenceRewind": false,
    "operatingHours": [
        {
            "dayOfWeek": "Sunday",
            "startTime": "00:00:00",
            "endTime": "23:59:00"
        },
        {
            "dayOfWeek": "Monday",
            "startTime": "00:00:00",
            "endTime": "23:59:00"
        },
        {
            "dayOfWeek": "Tuesday",
            "startTime": "00:00:00",
            "endTime": "23:59:00"
        },
        {
            "dayOfWeek": "Wednesday",
            "startTime": "00:00:00",
            "endTime": "23:59:00"
        },
        {
            "dayOfWeek": "Thursday",
            "startTime": "00:00:00",
            "endTime": "23:59:00"
        },
        {
            "dayOfWeek": "Friday",
            "startTime": "00:00:00",
            "endTime": "23:59:00"
        },
        {
            "dayOfWeek": "Saturday",
            "startTime": "00:00:00",
            "endTime": "23:59:00"
        }
    ]
}

What’s Next