api/v1/sims/{id}/locationdetails

Method: GET https://simportal-api-staging.azurewebsites.net/api/v1/sims/{id}/locationdetails

Summary

Retrieve location details for a SIM that supports location data and has granted consent to this data. Results are cached for 30 minutes.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

The Id(UUID) of the SIM

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

SimGeolocation
NameDescriptionTypeAdditional information
Identifier

string

None.

IdentifierType

string

None.

Timestamp

integer

None.

LastSeenTimestamp

integer

None.

Duration

integer

None.

CellId

string

None.

LAC

string

None.

MCC

integer

None.

MNC

integer

None.

Longitude

decimal number

None.

Latitude

decimal number

None.

ApproximateAddress

string

None.

Accuracy

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Identifier": "sample string 1",
  "IdentifierType": "sample string 2",
  "Timestamp": 3,
  "LastSeenTimestamp": 4,
  "Duration": 5,
  "CellId": "sample string 6",
  "LAC": "sample string 7",
  "MCC": 8,
  "MNC": 9,
  "Longitude": 10.1,
  "Latitude": 11.1,
  "ApproximateAddress": "sample string 12",
  "Accuracy": 13
}

application/xml, text/xml

Sample:
<SimGeolocation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JolaSimPortal.Shared.Models">
  <Accuracy>13</Accuracy>
  <ApproximateAddress>sample string 12</ApproximateAddress>
  <CellId>sample string 6</CellId>
  <Duration>5</Duration>
  <Identifier>sample string 1</Identifier>
  <IdentifierType>sample string 2</IdentifierType>
  <LAC>sample string 7</LAC>
  <LastSeenTimestamp>4</LastSeenTimestamp>
  <Latitude>11.1</Latitude>
  <Longitude>10.1</Longitude>
  <MCC>8</MCC>
  <MNC>9</MNC>
  <Timestamp>3</Timestamp>
</SimGeolocation>