Insert a list of locations into the datastore.
Name | Description | Additional information |
---|---|---|
locations |
Define this parameter in the request body. |
[ { "provider": "sample string 1", "hasAccuracy": true, "accuracy": 3.1, "hasAltitude": true, "altitude": 5.1, "latitude": 6.1, "longitude": 7.1, "hasSpeed": true, "speed": 9.1, "timestamp": 10, "deviceId": "sample string 11", "deviceName": "sample string 12", "userId": "sample string 13", "userName": "sample string 14", "inMotion": true, "extras": { "sample string 1": {}, "sample string 3": {}, "sample string 5": {} } }, { "provider": "sample string 1", "hasAccuracy": true, "accuracy": 3.1, "hasAltitude": true, "altitude": 5.1, "latitude": 6.1, "longitude": 7.1, "hasSpeed": true, "speed": 9.1, "timestamp": 10, "deviceId": "sample string 11", "deviceName": "sample string 12", "userId": "sample string 13", "userName": "sample string 14", "inMotion": true, "extras": { "sample string 1": {}, "sample string 3": {}, "sample string 5": {} } }, { "provider": "sample string 1", "hasAccuracy": true, "accuracy": 3.1, "hasAltitude": true, "altitude": 5.1, "latitude": 6.1, "longitude": 7.1, "hasSpeed": true, "speed": 9.1, "timestamp": 10, "deviceId": "sample string 11", "deviceName": "sample string 12", "userId": "sample string 13", "userName": "sample string 14", "inMotion": true, "extras": { "sample string 1": {}, "sample string 3": {}, "sample string 5": {} } } ]
<ArrayOfLocation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BlueDot.Cyan.Server.Core.Models.Internal"> <Location> <Accuracy>3.1</Accuracy> <Altitude>5.1</Altitude> <DeviceId>sample string 11</DeviceId> <DeviceName>sample string 12</DeviceName> <Extras xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:KeyValueOfstringanyType> <d3p1:Key>sample string 1</d3p1:Key> <d3p1:Value /> </d3p1:KeyValueOfstringanyType> <d3p1:KeyValueOfstringanyType> <d3p1:Key>sample string 3</d3p1:Key> <d3p1:Value /> </d3p1:KeyValueOfstringanyType> <d3p1:KeyValueOfstringanyType> <d3p1:Key>sample string 5</d3p1:Key> <d3p1:Value /> </d3p1:KeyValueOfstringanyType> </Extras> <HasAccuracy>true</HasAccuracy> <HasAltitude>true</HasAltitude> <HasSpeed>true</HasSpeed> <InMotion>true</InMotion> <Latitude>6.1</Latitude> <Longitude>7.1</Longitude> <Provider>sample string 1</Provider> <Speed>9.1</Speed> <Timestamp>10</Timestamp> <UserId>sample string 13</UserId> <UserName>sample string 14</UserName> </Location> <Location> <Accuracy>3.1</Accuracy> <Altitude>5.1</Altitude> <DeviceId>sample string 11</DeviceId> <DeviceName>sample string 12</DeviceName> <Extras xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:KeyValueOfstringanyType> <d3p1:Key>sample string 1</d3p1:Key> <d3p1:Value /> </d3p1:KeyValueOfstringanyType> <d3p1:KeyValueOfstringanyType> <d3p1:Key>sample string 3</d3p1:Key> <d3p1:Value /> </d3p1:KeyValueOfstringanyType> <d3p1:KeyValueOfstringanyType> <d3p1:Key>sample string 5</d3p1:Key> <d3p1:Value /> </d3p1:KeyValueOfstringanyType> </Extras> <HasAccuracy>true</HasAccuracy> <HasAltitude>true</HasAltitude> <HasSpeed>true</HasSpeed> <InMotion>true</InMotion> <Latitude>6.1</Latitude> <Longitude>7.1</Longitude> <Provider>sample string 1</Provider> <Speed>9.1</Speed> <Timestamp>10</Timestamp> <UserId>sample string 13</UserId> <UserName>sample string 14</UserName> </Location> <Location> <Accuracy>3.1</Accuracy> <Altitude>5.1</Altitude> <DeviceId>sample string 11</DeviceId> <DeviceName>sample string 12</DeviceName> <Extras xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:KeyValueOfstringanyType> <d3p1:Key>sample string 1</d3p1:Key> <d3p1:Value /> </d3p1:KeyValueOfstringanyType> <d3p1:KeyValueOfstringanyType> <d3p1:Key>sample string 3</d3p1:Key> <d3p1:Value /> </d3p1:KeyValueOfstringanyType> <d3p1:KeyValueOfstringanyType> <d3p1:Key>sample string 5</d3p1:Key> <d3p1:Value /> </d3p1:KeyValueOfstringanyType> </Extras> <HasAccuracy>true</HasAccuracy> <HasAltitude>true</HasAltitude> <HasSpeed>true</HasSpeed> <InMotion>true</InMotion> <Latitude>6.1</Latitude> <Longitude>7.1</Longitude> <Provider>sample string 1</Provider> <Speed>9.1</Speed> <Timestamp>10</Timestamp> <UserId>sample string 13</UserId> <UserName>sample string 14</UserName> </Location> </ArrayOfLocation>
Sample not available.