# Deep Security Manager REST API

## Path: / rest / tenantdatabaseservers

Retrieve information about all Tenant Database Servers.

Resources
Name | Description
--- | ---
{tenantDatabaseServerId} | Get a specific Tenant Database Server.

Method Summary
Resource | Description
--- | ---
`GET /rest/tenantdatabaseservers?sID=…` | Retrieve information about all Tenant Database Servers.
`POST /rest/tenantdatabaseservers` | Add a new Tenant Database Server.

Method Detail
HTTP Example:
    GET /rest/tenantdatabaseservers?sID=…
| API Example: `ITenantDatabaseServerAPI.getAllTenantDatabaseServers({'sID': /* sID session ID. */});`
Retrieve information about all Tenant Database Servers. Output: `TenantDatabaseServerListing` - The collection of tenant database servers. Query parameters: sID - session ID. Produces: application/xml application/json
HTTP Example:
    POST /rest/tenantdatabaseservers
| API Example: `ITenantDatabaseServerAPI.addTenantDatabaseServer({'$entity': /* tenantDatabaseServerRequest The request parameters. */});`
Add a new Tenant Database Server. Input: `CreateTenantDatabaseServerRequest` - The request parameters. Output: `CreateTenantDatabaseServerResponse` - A response with status `200 OK` and a body containing response information when adding a Tenant Database Server succeeds. It will return a response with status `400 Bad Request` and a body containing an `ErrorMessage` when mandatory parameters are missing and/or validation fails. Produces: application/xml application/json Consumes: application/xml application/json

Copyright © 2015 Trend Micro Inc. All Rights Reserved.