Dolphin MOVE SDK
2.x
2.x
  • Introduction
  • MOVE Services
  • MOVE SDK
    • Getting Started
      • MOVE Dashboard
        • Access Control
        • Configuration
        • Timeline
        • Points of Interest
      • Android
        • Installation
        • Quick Start
      • iOS
        • Installation
        • Quick Start
        • Troubleshooting
      • React Native
      • Flutter
      • Move SDK CLI
    • API Interface
      • Android
        • Initialization
        • Services
      • iOS
        • Initialization
        • Setup
        • Services
      • React Native
        • Components
        • Initialization
        • Services
      • Flutter
        • Initialization
        • Services
    • Models
      • Listeners/Callbacks
      • MoveAssistanceCallStatus
      • MoveAuth
      • MoveAuthError
      • MoveAuthResult
      • MoveAuthState
      • MoveConfig
      • MoveConfigurationError
      • MoveDevice
      • MoveDeviceStatus
      • MoveGeocodeError
      • MoveHealthItem
      • MoveHealthScore
      • MoveOptions
        • DeviceDiscovery
      • MoveSdkState
      • MoveSdkAndroidConfig
      • MoveTripState
      • MoveScanResult
      • MoveServiceFailure
      • MoveServiceWarning
      • MoveShutdownResult
    • Appendix
      • Token refresh
      • Android
        • Permission Handling
          • Permission Overview
          • Runtime Permissions
        • Battery optimization
        • Notification Management
      • iOS
        • Permissions Handling
        • App Store
      • React Native
        • Permission Handling
  • MOVE Backend
    • MOVE Backend
      • MOVE Admin API
      • MOVE TIMELINE API
      • MOVE State API
      • MOVE Last Location API
    • MOVE Generic Notifier
    • MOVE Assistance Notifier
    • Example requests
  • FAQ
  • Changelog
    • Android
    • iOS
    • React
    • Flutter
    • Backend
  • Data privacy (GDPR)
Powered by GitBook
On this page
  • Last location
  • Last context location
  1. MOVE Backend
  2. MOVE Backend

MOVE Last Location API

MOVE Backend APIs

Returns the last known location of an SDK user. The context describes the location source. At the moment the following contexts exist:

  • TIMELINE-END: last timeline location

  • CAR-END: last car trip location

  • TRIP-POSITION: live updates during a trip

  • USERPOS: user position - reported about once per day (if OS wakes up app at all), independent of user timeline; NOTE may be older than e.g. timeline-end, so please check timestamp

  • TAG: Trip position can be tagged the context name is

    TAG:TAG_NAME

Last location

GET https://sdk.dolph.in/v20/location

Returns last position of each context

Query Parameters

Name
Type
Description

projectId *

integer

userId*

String

Headers

Name
Type
Description

Authorization*

String

Basic <ProjectId>:<API-Key>

[
  {
    "context": "string",
    "lat": 0,
    "lon": 0,
    "accuracy": 0,
    "timestamp": "2022-08-08T09:51:44.109Z"
  }
]

Last context location

GET https://sdk.dolph.in/v20/location/{context}

Returns last location of specific context

Path Parameters

Name
Type
Description

context*

String

timeline-end, car-end, userpos, trip-position

Query Parameters

Name
Type
Description

userId*

String

projectId*

String

Headers

Name
Type
Description

Authorization

String

Basic <ProjectId>:<API-Key>

{
  "context": "string",
  "lat": 0,
  "lon": 0,
  "accuracy": 0,
  "timestamp": "2022-08-08T09:37:46.648Z"
}
PreviousMOVE State APINextMOVE Generic Notifier

Last updated 1 year ago