GET
https://api.subscriptiongenius.com/2/subscribers/authenticate/
Paramater |
Description |
Required |
Default |
Data Type |
login |
Subscriber's email or renewal code |
No |
|
String |
password |
Subscriber's password or address postal code |
No |
|
String |
Paramater |
Description |
Data Type |
subscriptions.date_expired |
Date subscription expired on (YYYY-MM-DD) |
Date |
authenticated |
If the subscriber successfully authenticated |
Bool |
email |
Email of subscriber |
String (50) |
first_name |
First name of subscriber |
String (50) |
issues.name |
Name of Issue |
String(50) |
last_name |
Last name of subscriber |
String (50) |
renewal_code |
renewal_code |
String (5) |
subscribers.email |
|
String |
subscribers.first_name |
|
String |
subscribers.last_name |
|
String |
subscribers.renewal_code |
|
String |
subscribers.subscriber_id |
|
String |
subscribers.subscriptions.date_created |
|
String |
subscribers.subscriptions.date_expired |
|
|
subscribers.subscriptions.issues |
|
|
subscribers.subscriptions.issues.date |
|
String |
subscribers.subscriptions.issues.issue_id |
|
String |
subscribers.subscriptions.issues.name |
|
String |
subscribers.subscriptions.issues_left |
|
String |
subscribers.subscriptions.publication_id |
|
String |
subscribers.subscriptions.subscription_id |
|
String |
subscribers.subscriptions.type |
|
String |
subscriber_id |
Unique reference id to subscriber |
Integer |
subscriptions.date_created |
Date subscription was created (YYYY-MM-DD) |
Date |
subscriptions.date_expired |
Date subscription expired on (YYYY-MM-DD) |
Date |
subscriptions.issues.date |
Date of when issue downloaded by publisher |
Date |
subscriptions.issues.date |
Date of when issue was created |
Date |
subscriptions.issues.issue_id |
Unique reference id to issue |
Integer |
subscriptions.issues_left |
Number of issues remaining in subscription (-1 is Unlimited) |
Integer |
subscriptions.publication_id |
Unique reference id to publication |
Integer |
subscriptions.subscription_id |
Unique reference id to subscription |
Integer |
subscriptions.type |
Print, Digital, Both |
String |
Email and password input
{
"login":"test@test.com",
"password":"test"
}
{
"authenticated":true,
"subscribers":{
"subscriber_id":"6611",
"renewal_code":"4E390",
"email":"test@test.com",
"first_name":"Joel",
"last_name":"Pape",
"subscriptions":[
{
"subscription_id":"19944",
"date_created":"",
"date_expired":null,
"publication_id":"9",
"issues_left":"18",
"type":"Both",
"issues":null
},
{
"subscription_id":"141482",
"date_created":"2011-06-17",
"date_expired":"2014-06-12",
"publication_id":"9",
"issues_left":"0",
"type":"Print",
"issues":[
{
"issue_id":"1363",
"name":"OM0813",
"date":"2013-06-12"
},
{
"issue_id":"1527",
"name":"OM1013",
"date":"2013-08-07"
},
{
"issue_id":"1746",
"name":"OM1213",
"date":"2013-10-14"
},
{
"issue_id":"1936",
"name":"OM0214",
"date":"2013-12-05"
},
{
"issue_id":"2237",
"name":"TE0414",
"date":"2014-02-10"
},
{
"issue_id":"2541",
"name":"OM0614",
"date":"2014-04-10"
},
{
"issue_id":"2847",
"name":"OM0814",
"date":"2014-06-12"
}
]
},
{
"subscription_id":"266176",
"date_created":"2012-02-07",
"date_expired":"2012-02-20",
"publication_id":"9",
"issues_left":"0",
"type":"",
"issues":null
},
{
"subscription_id":"266177",
"date_created":"2012-02-07",
"date_expired":"2013-04-12",
"publication_id":"9",
"issues_left":"0",
"type":"",
"issues":[
{
"issue_id":"1363",
"name":"OM0813",
"date":"2013-06-12"
}
]
},
{
"subscription_id":"391147",
"date_created":"2012-05-21",
"date_expired":"2013-04-12",
"publication_id":"9",
"issues_left":"0",
"type":"Print",
"issues":[
{
"issue_id":"1363",
"name":"OM0813",
"date":"2013-06-12"
}
]
},
{
"subscription_id":"1666451",
"date_created":"",
"date_expired":null,
"publication_id":"9",
"issues_left":"6",
"type":"Print",
"issues":null
},
{
"subscription_id":"1666452",
"date_created":"",
"date_expired":null,
"publication_id":"9",
"issues_left":"12",
"type":"Print",
"issues":null
}
]
}
}
Renewal code and Postal Code
{
"login":"4E390",
"password":"68137"
}
{
"authenticated":true,
"subscribers":{
"subscriber_id":"6611",
"renewal_code":"4E390",
"email":"test@test.com",
"first_name":"Joel",
"last_name":"Pape",
"subscriptions":[
{
"subscription_id":"19944",
"date_created":"",
"date_expired":null,
"publication_id":"9",
"issues_left":"18",
"type":"Both",
"issues":null
},
{
"subscription_id":"141482",
"date_created":"2011-06-17",
"date_expired":"2014-06-12",
"publication_id":"9",
"issues_left":"0",
"type":"Print",
"issues":[
{
"issue_id":"1363",
"name":"OM0813",
"date":"2013-06-12"
},
{
"issue_id":"1527",
"name":"OM1013",
"date":"2013-08-07"
},
{
"issue_id":"1746",
"name":"OM1213",
"date":"2013-10-14"
},
{
"issue_id":"1936",
"name":"OM0214",
"date":"2013-12-05"
},
{
"issue_id":"2237",
"name":"TE0414",
"date":"2014-02-10"
},
{
"issue_id":"2541",
"name":"OM0614",
"date":"2014-04-10"
},
{
"issue_id":"2847",
"name":"OM0814",
"date":"2014-06-12"
}
]
},
{
"subscription_id":"266176",
"date_created":"2012-02-07",
"date_expired":"2012-02-20",
"publication_id":"9",
"issues_left":"0",
"type":"",
"issues":null
},
{
"subscription_id":"266177",
"date_created":"2012-02-07",
"date_expired":"2013-04-12",
"publication_id":"9",
"issues_left":"0",
"type":"",
"issues":[
{
"issue_id":"1363",
"name":"OM0813",
"date":"2013-06-12"
}
]
},
{
"subscription_id":"391147",
"date_created":"2012-05-21",
"date_expired":"2013-04-12",
"publication_id":"9",
"issues_left":"0",
"type":"Print",
"issues":[
{
"issue_id":"1363",
"name":"OM0813",
"date":"2013-06-12"
}
]
},
{
"subscription_id":"1666451",
"date_created":"",
"date_expired":null,
"publication_id":"9",
"issues_left":"6",
"type":"Print",
"issues":null
},
{
"subscription_id":"1666452",
"date_created":"",
"date_expired":null,
"publication_id":"9",
"issues_left":"12",
"type":"Print",
"issues":null
}
]
}
}
{
"login":"test@test.com",
"password":"68137"
}
{
"authenticated":false
}