Make a request ยป
SubscriberService.GetAllSubscribers
Get all Subscribers in this account (Queued) See code examples
URL Parameters
Http verb: POST
URI: Full url: http://se.api.anpasia.com/v1/subscribers/all
URL parameters:
Not used
Body parameters
Body parameters
source | The details about what demographic data to return
|
Body Example
{ "AllDemographics" : false , "FieldNames" : [ "Address" , "ZipCode" , "City" , "Age" ] } |
< AllDemographics >false</ AllDemographics > < a:string >Address</ a:string > < a:string >ZipCode</ a:string > < a:string >City</ a:string > < a:string >Age</ a:string > </ FieldNames > </ DemographicData > |
Response
Body parameters
returns | A response object which includes the queued result, status code and a message.
|
Body Example
{ "Code" : 1, "Message" : "OK" , "Result" : { "OperationGuid" : "14dfc699-636a-4baf-b517-1651eb7da30f" , "PollURL" : "http:\/\/se.api.anpdm.com\/v1\/xxxxxxx.json" } } |
< Code >1</ Code > < Message >OK</ Message > < Result > < OperationGuid >6289eaa4-613a-460e-a073-30573f574392</ OperationGuid > </ Result > </ Response > |
Help
Code examples
curl -i -X POST -H 'Content-type: application/json' -H 'Accept: application/json' -H 'Authorization: basic $api_key_64baseformat' -d '{ "AllDemographics": false, "FieldNames": [ "Address", "ZipCode", "City", "Age" ] }' url http: //se.api.anpasia.com/v1/subscribers/all |