FindSubscribers using the Account Info

Feb 17, 2014 at 9:22 PM
Edited Feb 17, 2014 at 9:23 PM
I have the subscribers find GET method working when accessing the subscribers specifically from a list.

However, I was curious how to access ALL subscribers associated with the account. I added the method below to the account class. When executing I get a 404 not found error.

I am thinking it is the url that I am constructing. I have tried accounts/{1}/subscribers with the same error.

The param for the search that I am passing in are:

email = testing@outlook.com ws.op = find

public BaseCollection<Entity.Subscriber> subscribers(List<string> param)
    {
        String url = String.Format("{0}accounts/{1}/findSubscribers", Settings.apiBase, id);
        return Factory.BaseCollection<Entity.Subscriber>.Build(url, JSON.Read(api.GetResponse(url, param)), api);
    }
Any suggestions are appreciated.