POST api/Servo/Service/RunStatus/Get
获取指定服务的运行状态信息
Request Information
URI Parameters
None.
Body Parameters
GetAndSetServiceStatusName | Description | Type | Additional information |
---|---|---|---|
DLLName |
DLL文件名 |
string |
Required |
ClassName |
实体类名 |
string |
Required |
IsSTD |
是否为标准服务 |
string |
Required |
Request Formats
application/json, text/json
Sample:
{ "DLLName": "sample string 1", "ClassName": "sample string 2", "IsSTD": "sample string 3" }
application/xml, text/xml
Sample:
<GetAndSetServiceStatus xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.Tour.V5.Parm.Servo"> <ClassName>sample string 2</ClassName> <DLLName>sample string 1</DLLName> <IsSTD>sample string 3</IsSTD> </GetAndSetServiceStatus>
application/x-www-form-urlencoded
Sample:
Sample not available.
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.
Response Information
Resource Description
获取指定服务的运行状态信息
CommonOperationResultWithTagOfServiceDetailItemName | Description | Type | Additional information |
---|---|---|---|
errcode | integer |
None. |
|
errmsg | string |
None. |
|
tag | ServiceDetailItem |
None. |
Response Formats
application/json, text/json
Sample:
{ "errcode": 1, "errmsg": "sample string 2", "tag": { "DLLName": "sample string 1", "ClassName": "sample string 2", "RunnerName": "sample string 3", "Description": "sample string 4", "IsParallel": true, "MaxParallelUnits": 6, "CurrentParallelUnits": 7, "RunSetting": {}, "RunStatus": "sample string 9", "CreatedTime": "2025-01-22T00:53:25.9840029+08:00", "RunningStartedTime": "2025-01-22T00:53:25.9840029+08:00", "TotalProcessedRequest": 12, "DelayAfterNoRequestToProcess": 13, "DelayAfterOneRequestProcessed": 14 } }
application/xml, text/xml
Sample:
<CommonOperationResultWithTagOfServiceDetailItemgPO4qW53 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 2</d2p1:ClassName> <d2p1:CreatedTime>2025-01-22T00:53:25.9840029+08:00</d2p1:CreatedTime> <d2p1:CurrentParallelUnits>7</d2p1:CurrentParallelUnits> <d2p1:DLLName>sample string 1</d2p1:DLLName> <d2p1:DelayAfterNoRequestToProcess>13</d2p1:DelayAfterNoRequestToProcess> <d2p1:DelayAfterOneRequestProcessed>14</d2p1:DelayAfterOneRequestProcessed> <d2p1:Description>sample string 4</d2p1:Description> <d2p1:IsParallel>true</d2p1:IsParallel> <d2p1:MaxParallelUnits>6</d2p1:MaxParallelUnits> <d2p1:RunSetting /> <d2p1:RunStatus>sample string 9</d2p1:RunStatus> <d2p1:RunnerName>sample string 3</d2p1:RunnerName> <d2p1:RunningStartedTime>2025-01-22T00:53:25.9840029+08:00</d2p1:RunningStartedTime> <d2p1:TotalProcessedRequest>12</d2p1:TotalProcessedRequest> </tag> </CommonOperationResultWithTagOfServiceDetailItemgPO4qW53>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.