v1

latestOpenAPI 3.1.02026-07-24903209.1 KB

Get trip with details and waypoints

Call this method to get trip waypoints and events Required level of authorization:

  • User
post/v1/{TripId}

Path parameters

TripIdstring required

Request body

RAW_BODYstring json

Response

200

Statusinteger
Titlestring

Example response

{
  "Result": {
    "Id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "DateUpdated": "2022-06-20T09:52:20.213Z",
    "Identifiers": {
      "CompanyId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "ApplicationId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "InstanceId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "UserId": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
    },
    "Data": {
      "StartDate": "2022-06-20T09:52:20.213Z",
      "EndDate": "2022-06-20T09:52:20.213Z",
      "UnitSystem": "Si",
      "Addresses": {
        "Start": {
          "Full": "string",
          "Parts": {
            "CountryCode": "string",
            "Country": "string",
            "County": "string",
            "State": "string",
            "City": "string",
            "District": "string",
            "Street": "string",
            "House": "string"
          }
        },
        "End": {
          "Full": "string",
          "Parts": {
            "CountryCode": "string",
            "Country": "string",
            "County": "string",
            "State": "string",
            "City": "string",
            "District": "string",
            "Street": "string",
            "House": "string"
          }
        }
      },
      "TransportType": {
        "Current": "string",
        "ConfirmNeeded": true
      },
      "Tags": [
        {
          "Name": "string",
          "SourceType": "string",
          "Source": "string"
        }
      ],
      "Vehicle": {
        "Id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "Source": "string"
      }
    },
    "Waypoints": [
      {
        "Speeding": "string",
        "PhoneUsage": true
      }
    ],
    "Events": [
      {
        "Id": "string",
        "Type": "string",
        "Date": "2022-06-20T09:52:20.213Z",
        "ConfirmNeeded": true
      }
    ],
    "Related": [
      {
        "Type": "string",
        "Uri": "string"
      }
    ]
  },
  "Title": "string",
  "Errors": [
    {
      "Key": "string",
      "Message": "string"
    }
  ]
}