POST v2/apps/{appId}/tenants/{tenantId}/createtrackingentry2

Track the device

Request Information

URI Parameters

Name Type Description
appId integer

Application Id

Additional Info :

Required

tenantId integer

Tenant Id

Additional Info :

Required

Body Parameters

ANTracking

TrackingRequestViewModel
Name Type Description
AppId integer
TenantId integer
Label string
DeviceId string
Metadata string
TrackingMetadata TrackingMetadataViewModel
Timestamp date

Request Formats

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: Error getting value from 'TrackingMetadata' on 'AN.Analytics.ViewModels.TrackingRequestViewModel'.

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: Error getting value from 'TrackingMetadata' on 'AN.Analytics.ViewModels.TrackingRequestViewModel'.

<TrackingRequestViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AN.Analytics.ViewModels">
  <AppId>1</AppId>
  <DeviceId>sample string 4</DeviceId>
  <Label>sample string 3</Label>
  <Metadata>sample string 5</Metadata>
  <TenantId>2</TenantId>
  <Timestamp>2024-10-31T15:35:25.3741116+00:00</Timestamp>
</TrackingRequestViewModel>

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

Sample not available.