---
title: Get Travels by guid
slug: get-travels-by-guid
docTags: 
createdAt: 2026-10-08T08:29:29.588Z
---

{
  "id": "lWFodRhIcreKECOAJzBPv",
  "type": "api-oas-v2",
  "data": {
    "method": "GET",
    "url": "https://dev1.frontu.com//client/api/v2/travels/{guid}",
    "servers": [
      {
        "url": "https://dev1.frontu.com//client/api/v2/travels/{guid}"
      }
    ],
    "name": "Get Travels by guid",
    "description": "Get information about travels form by guid",
    "contentType": "application/json",
    "request": {
      "pathParameters": [
        {
          "kind": "required",
          "name": "guid",
          "type": "string",
          "description": ""
        }
      ],
      "headerParameters": [
        {
          "name": "accept",
          "type": "string",
          "kind": "optional",
          "description": "Generated from available response content types",
          "enum": [
            "application/json",
            "Example",
            "Example with custom values"
          ],
          "default": "application/json"
        }
      ],
      "queryParameters": [],
      "bodyDataParameters": [],
      "formDataParameters": [],
      "oAuthParameters": [
        {
          "id": "Bearer",
          "name": "Authorization",
          "kind": "optional",
          "type": "apiKey",
          "description": "<p>Value: Bearer {access_token}</p>",
          "in": "header"
        }
      ],
      "cookieParameters": []
    },
    "responses": [
      {
        "statusCode": "200",
        "description": "OK",
        "jsonExample": "",
        "isExpanded": true,
        "schema": [
          {
            "kind": "optional",
            "type": "object",
            "description": "",
            "schema": [
              {
                "name": "id",
                "kind": "required",
                "type": "number",
                "description": ""
              },
              {
                "name": "version",
                "kind": "required",
                "type": "number",
                "description": ""
              },
              {
                "name": "task",
                "kind": "required",
                "type": "string",
                "description": "",
                "minLength": 1
              },
              {
                "name": "user",
                "kind": "required",
                "type": "string",
                "description": "",
                "minLength": 1
              },
              {
                "name": "guid",
                "kind": "required",
                "type": "string",
                "description": "",
                "minLength": 1
              },
              {
                "name": "created",
                "kind": "required",
                "type": "string",
                "description": "",
                "minLength": 1
              },
              {
                "name": "updated",
                "kind": "required",
                "type": "string",
                "description": "",
                "minLength": 1
              },
              {
                "name": "deleted",
                "kind": "required",
                "type": "boolean",
                "description": ""
              },
              {
                "name": "started",
                "kind": "required",
                "type": "string",
                "description": "",
                "minLength": 1
              },
              {
                "name": "ended",
                "kind": "optional",
                "type": "object",
                "description": "",
                "example": "",
                "schema": []
              },
              {
                "name": "duration",
                "kind": "optional",
                "type": "object",
                "description": "",
                "example": "",
                "schema": []
              },
              {
                "name": "startLongitude",
                "kind": "required",
                "type": "number",
                "description": ""
              },
              {
                "name": "startLatitude",
                "kind": "required",
                "type": "number",
                "description": ""
              },
              {
                "name": "endLongitude",
                "kind": "optional",
                "type": "object",
                "description": "",
                "example": "",
                "schema": []
              },
              {
                "name": "endLatitude",
                "kind": "optional",
                "type": "object",
                "description": "",
                "example": "",
                "schema": []
              },
              {
                "name": "systemId",
                "kind": "optional",
                "type": "object",
                "description": "",
                "example": "",
                "schema": []
              },
              {
                "name": "vehicle",
                "kind": "optional",
                "type": "object",
                "description": "",
                "example": "",
                "schema": []
              },
              {
                "name": "distance",
                "kind": "optional",
                "type": "object",
                "description": "",
                "example": "",
                "schema": []
              }
            ],
            "isExpanded": true
          }
        ]
      }
    ],
    "hasXCodeSamples": false,
    "examples": {
      "languages": [
        {
          "id": "3tGnJGSKZzBN9bqTPLeHQ",
          "language": "curl",
          "label": "cURL",
          "code": "curl --request GET \\\n     --url https://dev1.frontu.com//client/api/v2/travels/{guid} \\\n     --header 'accept: application/json'"
        },
        {
          "id": "-hjppNBglxdGMFZRtAUlK",
          "language": "javascript",
          "label": "javascript",
          "code": "var myHeaders = new Headers();\nmyHeaders.append(\"accept\", \"application/json\");\nmyHeaders.append(\"content-type\", \"application/json\");\n\nvar requestOptions = {\n   method: 'GET',\n   headers: myHeaders,\n   redirect: 'follow'\n};\n\nfetch(\"https://dev1.frontu.com//client/api/v2/travels/{guid}\", requestOptions)\n   .then(response => response.text())\n   .then(result => console.log(result))\n   .catch(error => console.log('error', error));"
        },
        {
          "id": "Bs4NqbP3tfTbCh65wunps",
          "language": "ruby",
          "label": "Ruby",
          "code": "require \"uri\"\nrequire \"json\"\nrequire \"net/http\"\n\nurl = URI(\"https://dev1.frontu.com//client/api/v2/travels/{guid}\")\n\nhttps = Net::HTTP.new(url.host, url.port)\nhttps.use_ssl = true\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"accept\"] = \"application/json\"\nrequest[\"content-type\"] = \"application/json\"\n\nresponse = https.request(request)\nputs response.read_body\n"
        },
        {
          "id": "w9gvoUPQ4kiFBw9JkOyqD",
          "language": "python",
          "label": "Python",
          "code": "import requests\nimport json\n\nurl = \"https://dev1.frontu.com//client/api/v2/travels/{guid}\"\n\npayload = {}\nheaders = {\n   'accept': 'application/json',\n   'content-type': 'application/json'\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, data=payload)\n\nprint(response.text)\n"
        }
      ],
      "selectedLanguageId": "3tGnJGSKZzBN9bqTPLeHQ"
    },
    "results": {
      "languages": [
        {
          "id": "SUw8s6TYUZvh12G_wmdQK",
          "language": "200",
          "code": "// OK\n{\n  \"id\": 0,\n  \"version\": 0,\n  \"task\": \"\",\n  \"user\": \"\",\n  \"guid\": \"\",\n  \"created\": \"\",\n  \"updated\": \"\",\n  \"deleted\": false,\n  \"started\": \"\",\n  \"ended\": {},\n  \"duration\": {},\n  \"startLongitude\": 0,\n  \"startLatitude\": 0,\n  \"endLongitude\": {},\n  \"endLatitude\": {},\n  \"systemId\": {},\n  \"vehicle\": {},\n  \"distance\": {}\n}"
        }
      ],
      "selectedLanguageId": "SUw8s6TYUZvh12G_wmdQK"
    }
  },
  "children": [
    {
      "text": ""
    }
  ]
}