API:API Advertiser Users(Legacy)
From HasOffers
Contents |
Definition
Returns a list of advertisers users.
- URLs: http://demo.hasoffers.com/admin/api/v1/advertiser_users .format
- Formats: json, xml, csv
- HTTP Method: GET
- Authentication: This API requires user authentication. Your API key should be passed with the request to provide authentication.
Required Parameters
- api_key The API Key used as authentication.
Optional Parameters
- limit - The maximum number of results that should be returned. 0 is unlimited results. Default is 0.
- page - The page number of the result set to coincide with the provided limit. Default is 1.
JSON Example
Note: Remove ! before using code.
<!code>
{
"success":true
,"rows":1
,"total_rows":13
,"data":{
"advertiser_users":[
{
"id":"20"
,"advertiser_id":"18"
,"email":"bagel@example.com"
,"first_name":"Tyra"
,"last_name":"Banks"
,"home_phone":"515-155-1515"
,"cell_phone":""
,"title":"Mgr"
,"join_date":"2009-07-09 11:41:18"
,"last_login":"2009-07-09 11:41:50"
,"status":"active"
}
]
}
}
<!/code>
XML Example
Note: remove ! before using code.
<!code>
<rsp stat="ok" rows="1" total_rows="13">
<advertiser_user>
<id>20</id>
<advertiser_id>18</advertiser_id>
<email>bagel@example.com</email>
<first_name>Tyra</first_name>
<last_name>Banks</last_name>
<home_phone>515-155-1515</home_phone>
<cell_phone/>
<title>Mgr</title>
<join_date>2009-07-09 11:41:18</join_date>
<last_login>2009-07-09 11:41:50</last_login>
<status>active</status>
</advertiser_user>
</rsp>
<!/code>
Email this page to a friend or co-worker