URI | /v1/partners/{username}/signups |
URI Parameters |
|
Methods | GET |
GET /v1/partners/{username}/signups
Gets the partner's signups.
Scope | partners_read |
Query Selector Parameters |
|
Query Pagination Parameters |
|
Query Sorting Parameters |
|
Request Body Parameters |
|
Response Attributes |
|
Example JSON
Request:
GET /v1/partners/barracuda/signups HTTP/1.1
Host: api.intronis.com
Authorization: OAuth vF9dft4qmT
Accept: application/json
Response:
HTTP/1.1 200 OK
Content-Type: application/json
{
"page": 1,
"page_size": 10,
"count": 2,
"links": [
{
"rel": "first",
"href": "https://api.intronis.com/v1/partners/barracuda/signups?page=1"
},
],
"list": [
{
"username": "barracuda_a",
"name": "John Smith",
"company": "barracuda",
"type": "ACCOUNT",
"usage": 1099511627776,
"link": {
"rel": "self",
"href": "https://api.intronis.com/v1/accounts/barracuda_a"
}
},
{
"username": "barracuda__p",
"name": "John Smith",
"company": "barracuda",
"type": "PARTNER",
"usage": 1099511627776,
"link": {
"rel": "self",
"href": "https://api.intronis.com/v1/partners/barracuda_p"
}
}
]
}
Example XML
Request:
GET /v1/partners/barracuda/signups HTTP/1.1
Host: api.intronis.com
Authorization: OAuth vF9dft4qmT
Accept: application/xml
Response:
HTTP/1.1 200 OK
Content-Type: application/xml
<?xml version="1.0" encoding="UTF-8"?>
<list page="2" page_size="10" count="2">
<link rel="first" href="https://api.intronis.com/v1/partners/barracuda/signups?page=1"/>
<signup>
<username>barracuda_a</username>
<name>John Smith</name>
<company>barracuda</company>
<type>ACCOUNT</type>
<usage>1099511627776</usage>
<link rel="self" href="https://api.intronis.com/v1/accounts/barracuda_a"/>
</signup>
<signup>
<username>barracuda_p</username>
<name>John Smith</name>
<company>barracuda</company>
<type>PARTNER</type>
<usage>1099511627776</usage>
<link rel="self" href="https://api.intronis.com/v1/partners/barracuda_p"/>
</signup>
</list>