Dolphin MOVE SDK
SDK
1.x
1.x
  • Introduction
  • MOVE Services
  • MOVE SDK
    • Getting Started
      • MOVE Dashboard
      • Android
        • Installation
        • Quick Start
      • iOS
        • Installation
        • Quick Start
      • React Native
    • API Interface
      • Android
        • Initialization
        • Services
      • iOS
        • Initialization
        • Services
      • React Native
        • Initialization
        • Services
    • Models
      • MoveAuth
      • MoveConfig
      • MoveConfigurationError
      • MoveDeviceStatus
      • MoveSDKState
      • MoveTripState
      • MoveAuthState
      • Listeners/Callbacks
    • Appendix
      • Android
        • Token refresh
        • Permission Handling
        • Battery optimization
        • Notification Management
      • iOS
        • Permissions Handling
        • App Store
  • MOVE Backend
    • MOVE Timeline
    • MOVE State
    • MOVE Last Location
    • MOVE Generic Notifier
    • Open Api Specification
  • Changelog
    • Android
    • iOS
  • Data privacy (GDPR)
Powered by GitBook
On this page
  • Last location
  • Last context location
  1. MOVE Backend

MOVE Last Location

Returns last known location of SDK user. Context describes location source. At the moment 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, independent of user timeline (although device may need to switch location in order for app to be operational); NOTE may be older than timeline-end, so please check timestamp

Last location

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

Returns a list of last location for every context

Query Parameters

Name
Type
Description

productId *

integer

contractId*

String

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

Last context location

GET https://sdk.dolph.in/location/v1_5/{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

contractId*

String

productId*

String

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

Last updated 2 years ago