This API is used for in app subscription in iOS 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.
inapp_pass
required
In app password is required for iOS devices.
ios_transaction_id
required
iOS transaction id only for iOS device.
sub_token
required
iOS subscription token ID is required for iOS 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" } |