Entity Description:
SocialMediaClick generates a tracked link that can be used in Social Media to track results (e.g. Twitter, Facebook, Google+, etc…).
Properties
Name | Description | Type | Additional Information |
ID | Int32 | ||
OwnerID | Int32 | ||
SocialMediaLinkID | Int32 | ||
IPAddress | String | ||
UserAgent | String | ||
Browser | String | ||
Version | String | ||
IsMobile | Boolean | ||
MobileDeviceManufacturer | String | ||
MobilDeviceModel | String | ||
Latitude | Decimal | ||
Longitude | Decimal | ||
BrowserLanguage | String | ||
FullUserAgent | String | ||
Referrer | String | ||
ClickDate | DateTime |
Entity Statement
if you are using versions earlier than 5.0, substitute "ssv3" for "api" for each Request listed below.
Creating a SocialMediaClick | |
Request | |
POST /api/odata/SocialMediaClicks | |
Content-Type | |
application/json | |
Request body | |
{ "ID":"0","OwnerID":"0","SocialMediaLinkID":"0","IPAddress": "0.0.0.0","UserAgent":"Example User Agent","Browser": "Example Browser","Version":"Example Version","IsMobile":true, "MobileDeviceManufacturer":"Example Manufacturer", "MobileDeviceModel":"Example Model","Latitude":"0.00000","Longitude":"0.00000", "BrowserLanguage":"Example Language","FullUserAgent":"Example Full User Agent","Referrer":"Example Referrer","ClickDate":"2014-12-12T04:40:20.155Z" } | |
Response body | |
{ "ID":1,"OwnerID":0,"SocialMediaLinkID":0,"IPAddress": "0.0.0.0","UserAgent":"Example User Agent","Browser": "Example Browser","Version":"Example Version","IsMobile":true,"MobileDeviceManufacturer":"Example Manufacturer","MobileDeviceModel":"Example Model","Latitude":0.00000,"Longitude":0.00000,"BrowserLanguage":"Example Language","FullUserAgent":"Example Full User Agent","Referrer":"Example Referrer","ClickDate":"2014-12-12T08:42:00.155Z" } | |
Deleting a SocialMediaClick | |
Request | |
DELETE /api/odata/SocialMediaClicks(1) | |
Response Headers | |
HTTP/1.1 204 No Content | |
Getting a SocialMediaClick | |
Request | |
GET /api/odata/SocialMediaClicks(1) | |
Content-Type | |
application/json | |
Response body | |
{ "ID":1,"OwnerID":0,"SocialMediaLinkID":0,"IPAddress":"0.0.0.0", "UserAgent":"Example User Agent","Browser": "Example Browser","Version":"Example Version", "IsMobile":true,"MobileDeviceManufacturer": "Example Manufacturer","MobileDeviceModel":"Example Model","Latitude":0.00000,"Longitude":0.00000, "BrowserLanguage":"Example Language","FullUserAgent": "Example Full User Agent","Referrer":"Example Referrer", "ClickDate":"2014-12-12T08:42:00.155Z" } | |
Updating a SocialMediaClick | |
Request | |
PUT /api/odata/SocialMediaClicks(1) | |
Content-Type | |
application/json | |
Request body | |
{ "ID":"0","OwnerID":"0","SocialMediaLinkID":"0", "IPAddress":"0.0.0.0","UserAgent":"Example User Agent", "Browser":"Example Browser","Version":"Example Version","IsMobile":true,"MobileDeviceManufacturer":"Example Manufacturer","MobileDeviceModel":"Example Model", "Latitude":"0.00000","Longitude":"0.00000", "BrowserLanguage":"Example Language", "FullUserAgent":"Example Full User Agent","Referrer": "Example Referrer","ClickDate":"2014-12-12T04:40:20.155Z" } | |
Response Headers | |
HTTP/1.1 204 No Content | |
Getting all SocialMediaClicks | |
Request | |
GET /api/odata/SocialMediaClicks | |
Content-Type | |
application/json | |
Response body | |
"value":[{ "ID":0,"OwnerID":0,"SocialMediaLinkID":0, "IPAddress":"0.0.0.0","UserAgent":"Example User Agent", "Browser":"Example Browser","Version":"Example Version","IsMobile":true,"MobileDeviceManufacturer":"Example Manufacturer","MobileDeviceModel":"Example Model", "Latitude":0.00000,"Longitude":0.00000, "BrowserLanguage":"Example Language","FullUserAgent": "Example Full User Agent","Referrer":"Example Referrer", "ClickDate":"2014-12-12T04:40:20.155Z" },{ "ID":1,"OwnerID":0,"SocialMediaLinkID":0, "IPAddress":"0.0.0.0","UserAgent":"Example User Agent", "Browser":"Example Browser","Version":"Example Version","IsMobile":true,"MobileDeviceManufacturer":"Example Manufacturer","MobileDeviceModel":"Example Model", "Latitude":0.00000,"Longitude":0.00000, "BrowserLanguage":"Example Language","FullUserAgent": "Example Full User Agent","Referrer":"Example Referrer", "ClickDate":"2014-12-12T08:42:00.155Z" }] |