Loading a Playlist from Engage

To load a playlist from the Engage page in the admin requires three steps

  1. Access the engage token
  2. Get the Member  (see GetMember)
  3. Load the shared playlist (see GetSharedPlaylist)

Only provide the user with download options if the attribute allowdownload=true.


GET/getengage/{serviceToken}/{engageToken}

Successful Response

<responseengagetoken>
<token value="8073a20000000000000006be6f43" expiry="2017-08-22T18:29:49.9919367+10:00" utcoffset="10" type="EngageToken" isofsingleuse="true" tokenusagestate="Expired"/>
<membertoken value="cc5a2e40000000000000001b0ff" expiry="2017-08-22T19:29:53.3" utcoffset="10" type="MemberToken" isofsingleuse="false"/>
<playlist name="big- tunes" id="8aa0000000000004f" description="" createddate="2017-08-08 17:37:17" hasimage="false" allowdownload="true"/>
</responseengagetoken> 

 

Expired Token Response

<responseengagetoken>
<token value="80700000000000000000000f43" expiry="2017-08-22T18:29:49.993" utcoffset="10" type="EngageToken" isofsingleuse="true" tokenusagestate="Expired"/>
</responseengagetoken> 

 

Error Response:

<responseengagetoken>
<error>
<code>5</code>
<description>Invalid Token</description>
</error>
</responseengagetoken>
Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

Please sign in to leave a comment.