POST api/v1/devices
Adds a device.
Request Information
URI Parameters
None.
Body Parameters
AddDeviceDtoName | Description | Type | Additional information |
---|---|---|---|
UserName |
@UserName for device |
string |
Required |
Password |
Password for the device |
string |
Required |
ConfirmPassword |
Confirmation of the password. Must match Password. |
string |
Required |
DisplayName |
The friendly name for the device. |
string |
None. |
AllowDuplicateMessages |
If the device is allowed to post duplicate status posts |
boolean |
None. |
AccessControl |
Simple access control options for the device. |
AccessControl |
None. |
Tags | Collection of string |
None. |
Request Formats
application/json, text/json, application/senml+json
{ "UserName": "sample string 1", "Password": "sample string 2", "ConfirmPassword": "sample string 3", "DisplayName": "sample string 4", "AllowDuplicateMessages": true, "AccessControl": 0, "Tags": [ "sample string 1", "sample string 2" ] }
application/xml, text/xml
<AddDeviceViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.Devices"> <AccessControl>None</AccessControl> <AllowDuplicateMessages>true</AllowDuplicateMessages> <ConfirmPassword>sample string 3</ConfirmPassword> <DisplayName>sample string 4</DisplayName> <Password>sample string 2</Password> <Tags xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </Tags> <UserName>sample string 1</UserName> </AddDeviceViewModel>
application/x-www-form-urlencoded
Sample not available.
Response Information
Resource Description
DeviceDtoName | Description | Type | Additional information |
---|---|---|---|
StatusSummary |
Readonly status details for the device. |
string |
None. |
StatusSummaryFormat |
The text to use on the UI for summary details about the last measurement. |
string |
None. |
FieldDescriptors |
Provides descriptions of each of the fields. |
Collection of FieldDescriptorDto |
None. |
TwitterCard |
Details for an optional twitter card. |
TwitterCardDetailsDto |
None. |
AllowAnonymousView |
Allow anonymous users to view details of the device. |
boolean |
None. |
AllowAnonymousViewEvents |
Allow anonymous users to view events raised by the device. |
boolean |
None. |
AllowAnonymousViewStatus |
Allow anonymous view of status messages posted by the device. |
boolean |
None. |
AllowAnonymousViewLocation |
Allow anonymous view of the devices location (and changes in location) |
boolean |
None. |
Location |
The devices current location |
LocationDto |
None. |
Links |
Includes a link to the last measurement, status, self. |
Collection of LinkDto |
None. |
Actions |
Actionable links (e.g. export measurements) |
Collection of LinkDto |
None. |
Channels |
User defined list of channels (and what they are for). |
Collection of ChannelDto |
None. |
Battery |
Last recorded battery percentage |
BatteryLevelDto |
None. |
RfStrength |
RF Strength of the device (WiFi, Cellular, SigFox, etc.) |
RfStrengthDto |
None. |
Id |
The User's Id. |
globally unique identifier |
None. |
UserName |
@Name for user/device |
string |
None. |
FullUserName |
The full username (username.account) as needed for MQTT access. |
string |
None. |
DisplayName |
The friendly name for the user/device. |
string |
None. |
The email address to send updates to, and to link emailed status messages from. |
string |
None. |
|
EmailConfirmed |
If the users email address has been confirmed |
boolean |
None. |
EmailAliases |
List of possible email addresses that this account may post email as. |
Collection of string |
None. |
AllowDuplicateMessages |
If duplicate status post messages should be allowed. |
boolean |
None. |
Description |
Description. |
string |
None. |
Locked |
If this account has been locked. |
boolean |
None. |
DateAdded |
The date/time added. |
date |
None. |
Approved |
Indicates if the account has been approved by the administrator |
boolean |
None. |
AccessControl |
Access levels granted to the device. |
AccessControl |
None. |
Connected |
If the user/device/bot is connected (on-line) |
boolean |
None. |
IsReporting |
If the Member/Device has reported measurements or status posts within the defined time period. |
boolean |
None. |
LastReportedOn |
Last time the user/device "reported" - send a status message or measurement. |
date |
None. |
NotReportingAsOf |
When the user/device was flagged as not reporting |
date |
None. |
ExpectedActivityTimePeriodSeconds |
How long after the last measurement/status to flag the user/device as not reporting. In Seconds (standard is 1 day). |
integer |
None. |
Tags | Collection of string |
None. |
|
MetaTags |
Meta data tag - do not use - experimental. |
Collection of NameValueTagDto |
None. |
IsHidden |
Setting this true allows the device to be hidden from view but still active / have measurements stored. |
boolean |
None. |
LocationToleranceMeters |
The tolerance in Meters for location changes. |
decimal number |
None. |
Response Formats
application/json, text/json, application/senml+json
{ "StatusSummary": "sample string 1", "StatusSummaryFormat": "sample string 2", "FieldDescriptors": [ { "Index": 1, "Channel": 2, "Name": "sample string 3", "Label": "sample string 4", "Unit": "sample string 5", "Visible": true, "IncludeOnChart": true, "Rounding": 8, "ChartColor": "sample string 9", "TwitterCard": { "Card": 0, "Title": "sample string 1", "Description": "sample string 2", "TwitterCardImageStyle": 0, "ChartTemplateId": "30c3e033-3ed5-4a6a-ad1a-81dab8049f57" }, "WorkingRange": { "Enabled": true, "Min": 2.0, "Max": 3.0, "BandColor": "sample string 4", "RangeStatus": { "RangeLevel": "Normal", "SetOn": "2024-11-22T04:51:59.3745321+00:00" } }, "AcceptableRange": { "Enabled": true, "Min": 2.0, "Max": 3.0, "BandColor": "sample string 4", "RangeStatus": { "RangeLevel": "Normal", "SetOn": "2024-11-22T04:51:59.3745321+00:00" } }, "Calibration": { "Enabled": true, "Offset": 2.0, "Slope": 3.0 }, "Tags": [ "sample string 1", "sample string 2" ], "UseSecondAxis": true, "YAxis": 0, "Links": [ { "Href": "sample string 1", "Rel": "sample string 2", "Action": "sample string 3" }, { "Href": "sample string 1", "Rel": "sample string 2", "Action": "sample string 3" } ], "IsPrimary": true, "FieldType": 0, "DefaultChartType": 0, "UseAlgorithm": 0, "UserAlgorithm": "sample string 12", "Variables": [ { "Name": "sample string 1", "Value": "sample string 2" }, { "Name": "sample string 1", "Value": "sample string 2" } ], "StartDate": "2024-11-22T04:51:59.3745321+00:00", "SetDeviceState": true, "OrderPosition": 1 }, { "Index": 1, "Channel": 2, "Name": "sample string 3", "Label": "sample string 4", "Unit": "sample string 5", "Visible": true, "IncludeOnChart": true, "Rounding": 8, "ChartColor": "sample string 9", "TwitterCard": { "Card": 0, "Title": "sample string 1", "Description": "sample string 2", "TwitterCardImageStyle": 0, "ChartTemplateId": "30c3e033-3ed5-4a6a-ad1a-81dab8049f57" }, "WorkingRange": { "Enabled": true, "Min": 2.0, "Max": 3.0, "BandColor": "sample string 4", "RangeStatus": { "RangeLevel": "Normal", "SetOn": "2024-11-22T04:51:59.3745321+00:00" } }, "AcceptableRange": { "Enabled": true, "Min": 2.0, "Max": 3.0, "BandColor": "sample string 4", "RangeStatus": { "RangeLevel": "Normal", "SetOn": "2024-11-22T04:51:59.3745321+00:00" } }, "Calibration": { "Enabled": true, "Offset": 2.0, "Slope": 3.0 }, "Tags": [ "sample string 1", "sample string 2" ], "UseSecondAxis": true, "YAxis": 0, "Links": [ { "Href": "sample string 1", "Rel": "sample string 2", "Action": "sample string 3" }, { "Href": "sample string 1", "Rel": "sample string 2", "Action": "sample string 3" } ], "IsPrimary": true, "FieldType": 0, "DefaultChartType": 0, "UseAlgorithm": 0, "UserAlgorithm": "sample string 12", "Variables": [ { "Name": "sample string 1", "Value": "sample string 2" }, { "Name": "sample string 1", "Value": "sample string 2" } ], "StartDate": "2024-11-22T04:51:59.3745321+00:00", "SetDeviceState": true, "OrderPosition": 1 } ], "TwitterCard": { "Card": 0, "Title": "sample string 1", "Description": "sample string 2", "TwitterCardImageStyle": 0, "ChartTemplateId": "30c3e033-3ed5-4a6a-ad1a-81dab8049f57" }, "AllowAnonymousView": true, "AllowAnonymousViewEvents": true, "AllowAnonymousViewStatus": true, "AllowAnonymousViewLocation": true, "Location": { "Name": "sample string 1", "Latitude": 2.1, "Longitude": 3.1, "Elevation": 4.1, "WellKnownLocationId": "8abacb9d-04af-4500-8035-f416315d9af9", "LastUpdated": "2024-11-22T04:51:59.3745321+00:00" }, "Links": [ { "Href": "sample string 1", "Rel": "sample string 2", "Action": "sample string 3" }, { "Href": "sample string 1", "Rel": "sample string 2", "Action": "sample string 3" } ], "Actions": [ { "Href": "sample string 1", "Rel": "sample string 2", "Action": "sample string 3" }, { "Href": "sample string 1", "Rel": "sample string 2", "Action": "sample string 3" } ], "Channels": [ { "Channel": 1, "Name": "sample string 2", "Hidden": true, "Deleted": true }, { "Channel": 1, "Name": "sample string 2", "Hidden": true, "Deleted": true } ], "Battery": { "Percentage": 1, "Value": 2.0, "LastUpdated": "2024-11-22T04:51:59.3899586+00:00" }, "RfStrength": { "Strength": 1, "Value": 2.0, "LastUpdated": "2024-11-22T04:51:59.3899586+00:00" }, "Id": "2689e044-03be-4922-ac10-dbfb229b446d", "UserName": "sample string 8", "FullUserName": "sample string 9", "DisplayName": "sample string 10", "Email": "sample string 11", "EmailConfirmed": true, "EmailAliases": [ "sample string 1", "sample string 2" ], "AllowDuplicateMessages": true, "Description": "sample string 14", "Locked": true, "DateAdded": "2024-11-22T04:51:59.3899586+00:00", "Approved": true, "AccessControl": "None", "Connected": true, "IsReporting": true, "LastReportedOn": "2024-11-22T04:51:59.3899586+00:00", "NotReportingAsOf": "2024-11-22T04:51:59.3899586+00:00", "ExpectedActivityTimePeriodSeconds": 20, "Tags": [ "sample string 1", "sample string 2" ], "MetaTags": [ { "Name": "sample string 1", "Value": "sample string 2", "NumericValue": 1.0, "LastUpdated": "2024-11-22T04:51:59.3899586+00:00" }, { "Name": "sample string 1", "Value": "sample string 2", "NumericValue": 1.0, "LastUpdated": "2024-11-22T04:51:59.3899586+00:00" } ], "IsHidden": true, "LocationToleranceMeters": 1.1 }
application/xml, text/xml
<DeviceViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.Devices"> <AccessControl xmlns="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.Shared">None</AccessControl> <AllowDuplicateMessages xmlns="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.Shared">true</AllowDuplicateMessages> <Approved xmlns="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.Shared">true</Approved> <Connected xmlns="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.Shared">true</Connected> <DateAdded xmlns="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.Shared">2024-11-22T04:51:59.3899586+00:00</DateAdded> <Description xmlns="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.Shared">sample string 14</Description> <DisplayName xmlns="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.Shared">sample string 10</DisplayName> <Email xmlns="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.Shared">sample string 11</Email> <EmailAliases xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.Shared"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </EmailAliases> <EmailConfirmed xmlns="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.Shared">true</EmailConfirmed> <ExpectedActivityTimePeriodSeconds xmlns="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.Shared">20</ExpectedActivityTimePeriodSeconds> <FullUserName xmlns="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.Shared">sample string 9</FullUserName> <Id xmlns="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.Shared">2689e044-03be-4922-ac10-dbfb229b446d</Id> <IsHidden xmlns="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.Shared">true</IsHidden> <IsReporting xmlns="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.Shared">true</IsReporting> <LastReportedOn xmlns="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.Shared">2024-11-22T04:51:59.3899586+00:00</LastReportedOn> <LocationToleranceMeters xmlns="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.Shared">1.1</LocationToleranceMeters> <Locked xmlns="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.Shared">true</Locked> <MetaTags xmlns="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.Shared"> <NameValueTagDto> <LastUpdated>2024-11-22T04:51:59.3899586+00:00</LastUpdated> <Name>sample string 1</Name> <NumericValue>1</NumericValue> <Value>sample string 2</Value> </NameValueTagDto> <NameValueTagDto> <LastUpdated>2024-11-22T04:51:59.3899586+00:00</LastUpdated> <Name>sample string 1</Name> <NumericValue>1</NumericValue> <Value>sample string 2</Value> </NameValueTagDto> </MetaTags> <NotReportingAsOf xmlns="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.Shared">2024-11-22T04:51:59.3899586+00:00</NotReportingAsOf> <Tags xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.Shared"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </Tags> <UserName xmlns="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.Shared">sample string 8</UserName> <Actions xmlns:d2p1="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.Shared"> <d2p1:LinkViewModel> <d2p1:Action>sample string 3</d2p1:Action> <d2p1:Href>sample string 1</d2p1:Href> <d2p1:Rel>sample string 2</d2p1:Rel> </d2p1:LinkViewModel> <d2p1:LinkViewModel> <d2p1:Action>sample string 3</d2p1:Action> <d2p1:Href>sample string 1</d2p1:Href> <d2p1:Rel>sample string 2</d2p1:Rel> </d2p1:LinkViewModel> </Actions> <AllowAnonymousView>true</AllowAnonymousView> <AllowAnonymousViewEvents>true</AllowAnonymousViewEvents> <AllowAnonymousViewLocation>true</AllowAnonymousViewLocation> <AllowAnonymousViewStatus>true</AllowAnonymousViewStatus> <Battery> <LastUpdated>2024-11-22T04:51:59.3899586+00:00</LastUpdated> <Percentage>1</Percentage> <Value>2</Value> </Battery> <Channels> <ChannelDto> <Channel>1</Channel> <Deleted>true</Deleted> <Hidden>true</Hidden> <Name>sample string 2</Name> </ChannelDto> <ChannelDto> <Channel>1</Channel> <Deleted>true</Deleted> <Hidden>true</Hidden> <Name>sample string 2</Name> </ChannelDto> </Channels> <FieldDescriptors> <FieldDescriptorDto> <AcceptableRange> <BandColor>sample string 4</BandColor> <Enabled>true</Enabled> <Max>3</Max> <Min>2</Min> <RangeStatus> <RangeLevel>Normal</RangeLevel> <SetOn>2024-11-22T04:51:59.3745321+00:00</SetOn> </RangeStatus> </AcceptableRange> <Calibration> <Enabled>true</Enabled> <Offset>2</Offset> <Slope>3</Slope> </Calibration> <Channel>2</Channel> <ChartColor>sample string 9</ChartColor> <DefaultChartType>LineChart</DefaultChartType> <FieldType>Measured</FieldType> <IncludeOnChart>true</IncludeOnChart> <Index>1</Index> <IsPrimary>true</IsPrimary> <Label>sample string 4</Label> <Links xmlns:d4p1="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.Shared"> <d4p1:LinkViewModel> <d4p1:Action>sample string 3</d4p1:Action> <d4p1:Href>sample string 1</d4p1:Href> <d4p1:Rel>sample string 2</d4p1:Rel> </d4p1:LinkViewModel> <d4p1:LinkViewModel> <d4p1:Action>sample string 3</d4p1:Action> <d4p1:Href>sample string 1</d4p1:Href> <d4p1:Rel>sample string 2</d4p1:Rel> </d4p1:LinkViewModel> </Links> <Name>sample string 3</Name> <OrderPosition>1</OrderPosition> <Rounding>8</Rounding> <SetDeviceState>true</SetDeviceState> <StartDate>2024-11-22T04:51:59.3745321+00:00</StartDate> <Tags xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:string>sample string 1</d4p1:string> <d4p1:string>sample string 2</d4p1:string> </Tags> <TwitterCard xmlns:d4p1="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.Shared"> <d4p1:Card>SummaryLargeImage</d4p1:Card> <d4p1:ChartTemplateId>30c3e033-3ed5-4a6a-ad1a-81dab8049f57</d4p1:ChartTemplateId> <d4p1:Description>sample string 2</d4p1:Description> <d4p1:Title>sample string 1</d4p1:Title> <d4p1:TwitterCardImageStyle>LineChartOnly</d4p1:TwitterCardImageStyle> </TwitterCard> <Unit>sample string 5</Unit> <UseAlgorithm>KelvinToCelcius</UseAlgorithm> <UseSecondAxis>true</UseSecondAxis> <UserAlgorithm>sample string 12</UserAlgorithm> <Variables> <ComputedFieldVariableDto> <Name>sample string 1</Name> <Value>sample string 2</Value> </ComputedFieldVariableDto> <ComputedFieldVariableDto> <Name>sample string 1</Name> <Value>sample string 2</Value> </ComputedFieldVariableDto> </Variables> <Visible>true</Visible> <WorkingRange> <BandColor>sample string 4</BandColor> <Enabled>true</Enabled> <Max>3</Max> <Min>2</Min> <RangeStatus> <RangeLevel>Normal</RangeLevel> <SetOn>2024-11-22T04:51:59.3745321+00:00</SetOn> </RangeStatus> </WorkingRange> <YAxis>Unknown</YAxis> </FieldDescriptorDto> <FieldDescriptorDto> <AcceptableRange> <BandColor>sample string 4</BandColor> <Enabled>true</Enabled> <Max>3</Max> <Min>2</Min> <RangeStatus> <RangeLevel>Normal</RangeLevel> <SetOn>2024-11-22T04:51:59.3745321+00:00</SetOn> </RangeStatus> </AcceptableRange> <Calibration> <Enabled>true</Enabled> <Offset>2</Offset> <Slope>3</Slope> </Calibration> <Channel>2</Channel> <ChartColor>sample string 9</ChartColor> <DefaultChartType>LineChart</DefaultChartType> <FieldType>Measured</FieldType> <IncludeOnChart>true</IncludeOnChart> <Index>1</Index> <IsPrimary>true</IsPrimary> <Label>sample string 4</Label> <Links xmlns:d4p1="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.Shared"> <d4p1:LinkViewModel> <d4p1:Action>sample string 3</d4p1:Action> <d4p1:Href>sample string 1</d4p1:Href> <d4p1:Rel>sample string 2</d4p1:Rel> </d4p1:LinkViewModel> <d4p1:LinkViewModel> <d4p1:Action>sample string 3</d4p1:Action> <d4p1:Href>sample string 1</d4p1:Href> <d4p1:Rel>sample string 2</d4p1:Rel> </d4p1:LinkViewModel> </Links> <Name>sample string 3</Name> <OrderPosition>1</OrderPosition> <Rounding>8</Rounding> <SetDeviceState>true</SetDeviceState> <StartDate>2024-11-22T04:51:59.3745321+00:00</StartDate> <Tags xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:string>sample string 1</d4p1:string> <d4p1:string>sample string 2</d4p1:string> </Tags> <TwitterCard xmlns:d4p1="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.Shared"> <d4p1:Card>SummaryLargeImage</d4p1:Card> <d4p1:ChartTemplateId>30c3e033-3ed5-4a6a-ad1a-81dab8049f57</d4p1:ChartTemplateId> <d4p1:Description>sample string 2</d4p1:Description> <d4p1:Title>sample string 1</d4p1:Title> <d4p1:TwitterCardImageStyle>LineChartOnly</d4p1:TwitterCardImageStyle> </TwitterCard> <Unit>sample string 5</Unit> <UseAlgorithm>KelvinToCelcius</UseAlgorithm> <UseSecondAxis>true</UseSecondAxis> <UserAlgorithm>sample string 12</UserAlgorithm> <Variables> <ComputedFieldVariableDto> <Name>sample string 1</Name> <Value>sample string 2</Value> </ComputedFieldVariableDto> <ComputedFieldVariableDto> <Name>sample string 1</Name> <Value>sample string 2</Value> </ComputedFieldVariableDto> </Variables> <Visible>true</Visible> <WorkingRange> <BandColor>sample string 4</BandColor> <Enabled>true</Enabled> <Max>3</Max> <Min>2</Min> <RangeStatus> <RangeLevel>Normal</RangeLevel> <SetOn>2024-11-22T04:51:59.3745321+00:00</SetOn> </RangeStatus> </WorkingRange> <YAxis>Unknown</YAxis> </FieldDescriptorDto> </FieldDescriptors> <Links xmlns:d2p1="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.Shared"> <d2p1:LinkViewModel> <d2p1:Action>sample string 3</d2p1:Action> <d2p1:Href>sample string 1</d2p1:Href> <d2p1:Rel>sample string 2</d2p1:Rel> </d2p1:LinkViewModel> <d2p1:LinkViewModel> <d2p1:Action>sample string 3</d2p1:Action> <d2p1:Href>sample string 1</d2p1:Href> <d2p1:Rel>sample string 2</d2p1:Rel> </d2p1:LinkViewModel> </Links> <Location xmlns:d2p1="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.Shared"> <d2p1:Elevation>4.1</d2p1:Elevation> <d2p1:LastUpdated>2024-11-22T04:51:59.3745321+00:00</d2p1:LastUpdated> <d2p1:Latitude>2.1</d2p1:Latitude> <d2p1:Longitude>3.1</d2p1:Longitude> <d2p1:Name>sample string 1</d2p1:Name> <d2p1:WellKnownLocationId>8abacb9d-04af-4500-8035-f416315d9af9</d2p1:WellKnownLocationId> </Location> <RfStrength> <LastUpdated>2024-11-22T04:51:59.3899586+00:00</LastUpdated> <Strength>1</Strength> <Value>2</Value> </RfStrength> <StatusSummary>sample string 1</StatusSummary> <StatusSummaryFormat>sample string 2</StatusSummaryFormat> <TwitterCard xmlns:d2p1="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.Shared"> <d2p1:Card>SummaryLargeImage</d2p1:Card> <d2p1:ChartTemplateId>30c3e033-3ed5-4a6a-ad1a-81dab8049f57</d2p1:ChartTemplateId> <d2p1:Description>sample string 2</d2p1:Description> <d2p1:Title>sample string 1</d2p1:Title> <d2p1:TwitterCardImageStyle>LineChartOnly</d2p1:TwitterCardImageStyle> </TwitterCard> </DeviceViewModel>