Track Statuses

Statuses

Status

Description

Draft

received and processed track but without risk & eco scores yet

Active

processed track which is participating in user's risk & eco scores calculation

Deleted

processed track which is not participating in user's risk & eco scores calculation

Hidden

processed track which is participating in user's risk & eco scores calculation but can be not shown to user

Get track status dictionary

GET https://mobilesdk.telematicssdk.com/mobilesdk/stage/track/statuses/v1/get

Authorization: DeviceToken in Header

Headers

NameTypeDescription

DeviceToken

string

DeviceToken (GUID)

{
  "Result": {
    "Statuses": [
      {
        "DisplayName": "Unknown",
        "Code": "Unknown"
      },
      {
        "DisplayName": "Draft",
        "Code": "Draft"
      },
      {
        "DisplayName": "Active",
        "Code": "Active"
      },
      {
        "DisplayName": "Deleted",
        "Code": "Deleted"
      },
      {
        "DisplayName": "Hidden",
        "Code": "Hidden"
      }
    ],
    "Code": 200
  }
}

Set Active Status

POST https://mobilesdk.telematicssdk.com/mobilesdk/stage/track/{trackToken}/setactive/v1

Authorization: DeviceToken in Header

Headers

NameTypeDescription

DeviceToken

string

DeviceToken (GUID), which recorded this track

{
    "Result": {
        "Code": 200
    }
}

Set Deleted Status

POST https://mobilesdk.telematicssdk.com/mobilesdk/stage/track/{trackToken}/setdeleted/v1

Authorization: DeviceToken in Header

Headers

NameTypeDescription

DeviceToken

string

DeviceToken (GUID), which recorded this track

{
    "Result": {
        "Code": 200
    }
}

Set Hidden Status

POST https://mobilesdk.telematicssdk.com/mobilesdk/stage/track/{trackToken}/sethidden/v1

Authorization: DeviceToken in Header

Headers

NameTypeDescription

DeviceToken

string

DeviceToken (GUID), which recorded this track

Last updated