Report a catalogue stream

 \ 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
    }
}
Query Params
string
required
string
required
Form Data
string
required
int32
required
int32
required
int32
required
string
required
int32
required
string
required
string
required
Language
LoadingLoading…