Create a Reseller
You can add a reseller into Veeam Service Provider Console configuration.
Request
To create a reseller in Veeam Service Provider Console, send the POST HTTPS request to the URL of the /resellers resource.
HTTP Request
Request Headers
The request header must contain the authorization token.
Request Body
In the request body, the client must send the following properties for the reseller that must be added into Veeam Service Provider Console configuration:
- enabled
- description
- workstationAgents
- serverAgents
- dataTransferGb
- firstName
- lastName
- title
- userName
- password
- notes
- companyId
- name
- country
- taxId
- usState
- zipCode
- domain
- city
- street
- telephone
- emailAddress
- isUnlimitedWorkstationAgent
- isUnlimitedServerAgents
Response
The server returns the following response to the client.
Response Code
A successfully completed operation returns response code 201 Created.
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 status and a message for an action.
Example
The following example adds a new reseller into Veeam Service Provider Console configuration.
Request: POST https://localhost:1281/v2/resellers
Request Header: Content-Type: application/json Authorization: Bearer <Access-Token>
Request Body: { "enabled": true, "description": "Alpha Reseller Company", "workstationAgents": 150, "serverAgents": 35, "dataTransferGb": 100, "firstName": "Alan", "lastName": "Smith", "title": "Mr", "userName": "Alpha", "password": "Alpha123", "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 }
Response Code: 201 Created |