Fuel Card API

/v1/fuel_cards/{id} - PUT

Replaces the FuelCardResource resource.


Open Swagger Specification

Endpoint

    PUT - https://api.travisroadservices.com/v1/fuel_cards/{id}
    Copy
  

Query params

Parameter Type Description
id string FuelCardResource identifier

Request body

Response body

Response 200

Response 400

No response body

Response 422


{
    "type": "https://tools.ietf.org/html/rfc2616#section-10",
    "title": "An error occurred",
    "detail": "vehicleType: This value should not be blank.",
    "violations": [
        {
            "propertyPath": "vehicleType",
            "message": "This value should not be blank.",
            "code": "c1051bb4-d103-4f74-8988-acbcafc7fdc3"
        }
    ]
}

Response 404

No response body