GET api/Service/Dev/Meter/BaseSecurityData/Read/ByAdd/{address}
依据流量计的地址,读取维护密钥,并以密文的方式返回的API。 这个API会先扫描已注册的注量计(已注册的流量计),如果已注册的流量计不存在(疑似流量计),则会扫描维护密钥设置。 两者均不存在,则会返回空。
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
address |
流量计的地址。 |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
依据流量计的地址,读取维护密钥,并以密文的方式返回的API。 这个API会先扫描已注册的注量计(已注册的流量计),如果已注册的流量计不存在(疑似流量计),则会扫描维护密钥设置。 两者均不存在,则会返回空。
CommonOperationResultWithTagOfMeterBaseSecurityInfoName | Description | Type | Additional information |
---|---|---|---|
errcode | integer |
None. |
|
errmsg | string |
None. |
|
tag | MeterBaseSecurityInfo |
None. |
Response Formats
application/json, text/json
Sample:
{ "errcode": 1, "errmsg": "sample string 2", "tag": { "Algorithm": "sample string 1", "SignAlgorithm": "sample string 2", "MaintainKeyValue": "QEA=" } }
application/xml, text/xml
Sample:
<CommonOperationResultWithTagOfMeterBaseSecurityInfoBTpiiASO 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.Flowmeter.ForService"> <d2p1:Algorithm>sample string 1</d2p1:Algorithm> <d2p1:MaintainKeyValue>QEA=</d2p1:MaintainKeyValue> <d2p1:SignAlgorithm>sample string 2</d2p1:SignAlgorithm> </tag> </CommonOperationResultWithTagOfMeterBaseSecurityInfoBTpiiASO>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.