URI | /v1/partners/{username} |
URI Parameters |
|
Methods | GET, PUT |
GET /v1/partners/{username}
Gets a partner's information.
Scope | partners_read |
Request Body Parameters |
|
Response Attributes |
|
Example JSON
Request:
GET /v1/partners/barracuda HTTP/1.1
Host: api.intronis.com
Authorization: OAuth vF9dft4qmT
Accept: application/json
Response:
HTTP/1.1 200 OK
Content-Type: application/json
{
"partner_id": 10,
"username": “barracuda”,
"signup_date": "2011-01-01T09:00:00-05:00",
"status": "ACTIVE",
"usage": 1099511627776,
"type": "VOLUME",
"links": [
{
"title": "addresses",
"rel": "related",
"href": "https://api.intronis.com/v1/partners/barracuda/addresses"
},
{
"title": "cancellation",
"rel": "related",
"href": "https://api.intronis.com/v1/partners/barracuda/cancellation"
},
{
"title": "plans",
"rel": "related",
"href": "https://api.intronis.com/v1/partners/barracuda/plans"
},
{
"title": "signups",
"rel": "related",
"href": "https://api.intronis.com/v1/partners/barracuda/signups"
},
{
"title": "users",
"rel": "related",
"href": "https://api.intronis.com/v1/partners/barracuda/users"
},
{
"title": "usage_history",
"rel": "related",
"href": "https://api.intronis.com/v1/partners/barracuda/usage_history"
},
{
"title": "reports",
"rel": "related",
"href": "https://api.intronis.com/v1/partners/barracuda/reports"
},
{
"title": "password",
"rel": "related",
"href": "https://api.intronis.com/v1/partners/barracuda/password"
},
{
“title”: “installer_url”,
“rel”: “related”,
“href”: “https://manage.barracudamsp.com/Installer.ashx?Name=ECHObackup&SoftwareId=0eb9326d-0eb6-60a4-e9de-deeaf7f55cb1"
},
{
“title”: “software_name”,
“rel”: “related”,
“href”: “ECHObackup”
}
]
}
Example XML
Request:
GET /v1/partners/barracuda 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"?>
<partner>
<partner_id>10</partner_id>
<username>barracuda</username>
<signup_date>2011-01-01T09:00:00-05:00</signup_date>
<status>ACTIVE</status>
<usage>1099511627776</usage>
<type>VOLUME</type>
<link title="addresses" rel="related" href="https://api.intronis.com/v1/partners/barracuda/addresses"/>
<link title="cancellation" rel="related" href="https://api.intronis.com/v1/partners/barracuda/cancellation"/>
<link title="plans" rel="related" href="https://api.intronis.com/v1/partners/barracuda/plans"/>
<link title="signups" rel="related" href="https://api.intronis.com/v1/partners/barracuda/signups"/>
<link title="users" rel="related" href="https://api.intronis.com/v1/partners/barracuda/users"/>
<link title="usage_history" rel="related" href="https://api.intronis.com/v1/partners/barracuda/usage_history"/>
<link title="reports" rel="related" href="https://api.intronis.com/v1/partners/barracuda/reports"/>
<link title="password" rel="related" href="https://api.intronis.com/v1/partners/barracuda/password"/>
<link title=”installer_url” rel=”related” href=”https:\/\/qa3manage.barracudatest.com\/Installer.ashx?Name=lyu2&SoftwareId=1d49abe5-0023-f8b4-75a6-b994ed18d9a3"/>
<link title=”software_name” rel=”related” href=”lyu2”/>
</partner>