GET api/Servo/Server/ConfigurationInfo/Get/{dllname}/{classname}
获取某个服务的配置信息
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
dllname |
服务所在的DLL名称 |
string |
Required |
classname |
服务所在实体类名称 |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
获取某个服务的配置信息
CommonOperationResultWithTagOfServerConfigurationItemName | Description | Type | Additional information |
---|---|---|---|
errcode | integer |
None. |
|
errmsg | string |
None. |
|
tag | ServerConfigurationItem |
None. |
Response Formats
application/json, text/json
Sample:
{ "errcode": 1, "errmsg": "sample string 2", "tag": { "ServerName": "sample string 1", "ServerDescription": "sample string 2", "IsRun": "sample string 3", "ClassName": "sample string 4", "DLLName": "sample string 5", "IsSTD": "sample string 6", "Configuration": "sample string 7", "DelayAfterNoRequestToProcess": 8, "DelayAfterOneRequestProcessed": 9 } }
application/xml, text/xml
Sample:
<CommonOperationResultWithTagOfServerConfigurationItemgPO4qW53 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer"> <errcode>1</errcode> <errmsg>sample string 2</errmsg> <tag xmlns:d2p1="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.Tour.V5.Result.Servo"> <d2p1:ClassName>sample string 4</d2p1:ClassName> <d2p1:Configuration>sample string 7</d2p1:Configuration> <d2p1:DLLName>sample string 5</d2p1:DLLName> <d2p1:DelayAfterNoRequestToProcess>8</d2p1:DelayAfterNoRequestToProcess> <d2p1:DelayAfterOneRequestProcessed>9</d2p1:DelayAfterOneRequestProcessed> <d2p1:IsRun>sample string 3</d2p1:IsRun> <d2p1:IsSTD>sample string 6</d2p1:IsSTD> <d2p1:ServerDescription>sample string 2</d2p1:ServerDescription> <d2p1:ServerName>sample string 1</d2p1:ServerName> </tag> </CommonOperationResultWithTagOfServerConfigurationItemgPO4qW53>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.