GET api/AdminPortal/GetDatabase?ServerId={ServerId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| ServerId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of Database| Name | Description | Type | Additional information |
|---|---|---|---|
| Value | integer |
None. |
|
| Text | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Value": 1,
"Text": "sample string 2"
},
{
"Value": 1,
"Text": "sample string 2"
}
]
application/xml, text/xml
Sample:
<ArrayOfDatabase xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IMBS.DO.Models">
<Database>
<Text>sample string 2</Text>
<Value>1</Value>
</Database>
<Database>
<Text>sample string 2</Text>
<Value>1</Value>
</Database>
</ArrayOfDatabase>
multipart/form-data
Sample:
<ArrayOfDatabase xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IMBS.DO.Models"><Database><Text>sample string 2</Text><Value>1</Value></Database><Database><Text>sample string 2</Text><Value>1</Value></Database></ArrayOfDatabase>