This API is used for in app subscription for ROKU devices .
Resource URL
POST - /sms/2.0/inapp-subs/subscribe/{device_type}/{username}
Authorization
required
Bearer
Access Token
NOTE: Access Token here refers to the access authorization token.
device_type
required
Web, ROKU, iPhone, iPad, Android-Phone, Android-Tab etc are the clients by which an user can get registered.
username
required
Email ID is taken as the User name for an individual user. Get “username” from
Device Login response.
roku_cust_id
required
ROKU Customer ID only for ROKU devices.
roku_transaction_id
required
ROKU Transaction ID only for ROKU devices.
Example Request URL
POST - http://__JTV__HOST__/sms/2.0/inapp-subs/subscribe/{device_type}/{username}
Example Return
Success
|
{ "code":0, "result":"success", "status":"success", "message":"subscription successful" } |
Failure
|
{ "code":1001, "result":"failure", "status":"failure", "message":"subscription failed" } |