GET api/Agent/Acc/NeedSyncBeforeTrade/{accid}

(HAWK认证) 验证一个账户是否需要在交易之前,是否需要从执行器上读取数据。返回True表示需要从表上读取。

Request Information

URI Parameters

NameDescriptionTypeAdditional information
accid

账户ID

integer

Required

Body Parameters

None.

Response Information

Resource Description

(HAWK认证) 验证一个账户是否需要在交易之前,是否需要从执行器上读取数据。返回True表示需要从表上读取。

CommonOperationResultWithTagOfBoolean
NameDescriptionTypeAdditional information
errcode

integer

None.

errmsg

string

None.

tag

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "errcode": 1,
  "errmsg": "sample string 2",
  "tag": true
}

application/xml, text/xml

Sample:
<CommonOperationResultWithTagOfboolean 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>true</tag>
</CommonOperationResultWithTagOfboolean>

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.