Get a Reseller

You can get a representation of a reseller with the specified ID.

Request

To get a resource representation of a reseller, send the GET HTTPS request to the URL of the /resellers/{ID} resource.

HTTP Request

GET https://<hostname>:1281/v2/resellers/{ID}

Request Headers

The request header must contain the authorization token.

Response

The server returns the following response to the client.

Response Code

A successfully completed operation returns response code 200 OK.

Response Headers

The response to this request contains the following headers. The response may also include additional standard HTTP headers.

Header

Description

Content-length

The length of the response body.

Content-type

The media type and syntax of the request body message: application/json; charset=utf-8

Response Body

In the response body, Veeam Service Provider Console returns a representation of the /resellers/{ID} resource.

Example

The following example returns an entity representation of a company with ID 2.

Request:

GET https://localhost:1281/v2/resellers/2

 

Request Header:

Authorization: Bearer <Access-Token>

 

Response Code:

200 Success

 

Response Body:

{

 "enabled": true,

 "description": "Alpha Reseller Company",

 "workstationAgents": 150,

 "serverAgents": 35,

 "dataTransferGb": 100,

 "firstName": "Alan",

 "lastName": "Smith",

 "title": "Mr",

 "userName": "Alpha",

 "userId": 31,

 "id": 2,

 "notes": "",

 "companyId": "69874",

 "name": "Alpha Company",

 "country": 1,

 "taxId": "7498434",

 "usState": 1,

 "zipCode": "10009",

 "domain": "alpha.com",

 "city": "Birmingham",

 "street": "Aston st.",

 "telephone": "+1879143158",

 "emailAddress": "alansmith@alpha.com",

 "isUnlimitedWorkstationAgents": false,

 "isUnlimitedServerAgents": false,

 "_links": [

   {

     "rel": "self",

     "method": "GET",

     "href": "https://vac:1281/v2/resellers/2"

   },

   {

     "rel": "edit",

     "method": "PUT",

     "href": "https://vac:1281/v2/resellers/2"

   },

   {

     "rel": "delete",

     "method": "DELETE",

     "href": "https://vac:1281/v2/resellers/2"

   },

   {

     "rel": "related",

     "method": "GET",

     "href": "https://vac:1281/v2/resellers/2/siteScopes"

   },

   {

     "rel": "related",

     "method": "GET",

     "href": "https://vac:1281/v2/resellers/2/managedClients"

   },

   {

     "rel": "related",

     "method": "GET",

     "href": "https://vac:1281/v2/resellers/2/availableClients"

   },

   {

     "rel": "sendWelcomeEmail",

     "method": "POST",

     "href": "https://vac:1281/v2/resellers/2/sendWelcomeEmail"

   },

   {

     "rel": "disable",

     "method": "POST",

     "href": "https://vac:1281/v2/resellers/2/disable"

   },

   {

     "rel": "related",

     "method": "GET",

     "href": "https://vac:1281/v2/resellers/2/backupResources"

   },

   {

     "rel": "related",

     "method": "GET",

     "href": "https://vac:1281/v2/resellers/2/replicaResources"

   },

   {

     "rel": "related",

     "method": "GET",

     "href": "https://vac:1281/v2/resellers/2/vcdResources"

   }

 ]

}