Entity Description:
PoliteMail places a DeviceCount cookie on the recipient’s device that is used to open a tracked email. For example, PoliteMail counts the number of devices that was used to open a tracked email. (e.g. iPad, desktop, mobile device, etc…) In other words, the total number of iPads, mobile devices, and desktops that were used to open the email.
Properties
Name | Description | Type | Additional Information |
ID | Int32 | ||
Name | String | ||
Count | Int32 |
Entity Statement
Creating a DeviceCount | |
Request | |
POST /ssv3/odata/DeviceCounts | |
Content-Type | |
application/json | |
Request body | |
{ "ID":"0","Name":"Example Device","Count":"0" } |
|
Response body | |
{ "ID":1,"Name":"Example Device","Count":0 } |
|
Deleting a DeviceCount | |
Request | |
DELETE /ssv3/odata/DeviceCounts(1) | |
Response Headers | |
HTTP/1.1 204 No Content | |
Getting a DeviceCount | |
Request | |
GET /ssv3/odata/DeviceCounts(1) | |
Content-Type | |
application/json | |
Response body | |
{ "ID":1,"Name":"Example Device","Count":0 } |
|
Updating a DeviceCount | |
Request | |
PUT /ssv3/odata/DeviceCounts(1) | |
Content-Type | |
application/json | |
Request body | |
{ "ID":”0”,"Name":"Example Device","Count":”0” } |
|
Response Headers | |
HTTP/1.1 204 No Content | |
Getting all DeviceCounts | |
Request | |
GET /ssv3/odata/DeviceCounts | |
Content-Type | |
application/json | |
Response body | |
"value":[{ "ID":0,"Name":"Example Device","Count":0 },{ "ID":1,"Name":"Example Device","Count":0 }] |