How to get Subscriber informationwhen you have the login-name

64 views
Skip to first unread message

Eric Hernaez

unread,
Sep 13, 2015, 11:49:34 AM9/13/15
to NetSapiens Developer Forum
Given an OAuth token with 'Basic User' scope and  the Subscriber's login-name and password, is there a way to get the same Subscriber's 'user' and 'domain'?

Chris Aaker

unread,
Sep 18, 2015, 3:12:26 PM9/18/15
to Eric Hernaez, NetSapiens Developer Forum
You should be able to request it using the "login" and it should return the full data set for their own user assuming it matches the access token information. 

Chris

On Sun, Sep 13, 2015 at 8:49 AM, Eric Hernaez <eher...@gmail.com> wrote:
Given an OAuth token with 'Basic User' scope and  the Subscriber's login-name and password, is there a way to get the same Subscriber's 'user' and 'domain'?

--
You received this message because you are subscribed to the Google Groups "NetSapiens Developer Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to netsapiens-develope...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--

Chris Aaker

Vice President of Engineering | NetSapiens Inc.

P.O. Box 8588 La Jolla, CA 92038

(P) 858.764.5226 (F) 858.208.4424

(E) caa...@netsapiens.com (T) @NetSapiensChris


Website | News | Events | Facebook | Twitter | Linkedin


Eric Hernaez

unread,
Sep 21, 2015, 11:51:55 PM9/21/15
to NetSapiens Developer Forum, eher...@gmail.com
Am I correct in understanding that 'login' is the object?  If so, that doesn't seem to work.  Could you please provide an example?



On Friday, September 18, 2015 at 3:12:26 PM UTC-4, Chris Aaker wrote:
You should be able to request it using the "login" and it should return the full data set for their own user assuming it matches the access token information. 

Chris

Chris Aaker

unread,
Sep 22, 2015, 12:18:08 AM9/22/15
to Eric Hernaez, NetSapiens Developer Forum
Sorry Eric, object is "subscriber", action "read" then provide "login". You get the equivalent of providing user and domain. 

--
You received this message because you are subscribed to the Google Groups "NetSapiens Developer Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to netsapiens-develope...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages