post
https://api.7digital.com/1.2/catalogue/log
\ Example request
POST https://api.7digital.com/1.2/catalogue/log?country=EE&userId=141732543&oauth_consumer_key=YOUR_KEY_HERE&...Multiple plays can be batched by user into a single POST to this endpoint, and the body can be sent in either JSON or XML formats. Streams that are requested as part of pre-fetching functionality, but never played on the device, should still be logged with a zero second play time.
{
"playLogItem": [
{
"endReason": "naturalEnd",
"userId": "141732543",
"userAgent": "Device",
"totalTimePlayed": "12",
"dateTimePlayed": "2016-12-19T11:39:28.8981203Z",
"formatId": "33",
"releaseId": "64705",
"trackId": "673059"
}
]
}Example Response
{
"status": "ok",
"version": "1.2",
"playLogs": {
"count": 1
}
}