GET api/Agent/NormalPriceTable/T/WithDetail/QueryById?tableid={tableid}
以价格阶梯表ID为依据,查询一个价格阶梯的主表和子表数据并返回。
Request Information
URI Parameters
| Name | Description | Type | Additional information | 
|---|---|---|---|
| tableid | string | Required | 
Body Parameters
None.
Response Information
Resource Description
以价格阶梯表ID为依据,查询一个价格阶梯的主表和子表数据并返回。
CommonOperationResultWithTagOfAgentNormalPriceTableItem| Name | Description | Type | Additional information | 
|---|---|---|---|
| errcode | integer | None. | |
| errmsg | string | None. | |
| tag | AgentNormalPriceTableItem | None. | 
Response Formats
application/json, text/json
            Sample:
        
{
  "errcode": 1,
  "errmsg": "sample string 2",
  "tag": {
    "AgentId": 1,
    "TableId": "sample string 2",
    "TableName": "sample string 3",
    "Details": [
      {
        "StepCode": 64,
        "StepAmount": 2.0,
        "Price": 3.0
      },
      {
        "StepCode": 64,
        "StepAmount": 2.0,
        "Price": 3.0
      }
    ]
  }
}
        application/xml, text/xml
            Sample:
        
<CommonOperationResultWithTagOfAgentNormalPriceTableItemwlCnhfv3 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">
    <d2p1:AgentId>1</d2p1:AgentId>
    <d2p1:Details>
      <d2p1:AgentNormalPriceTableDetailItem>
        <d2p1:Price>3</d2p1:Price>
        <d2p1:StepAmount>2</d2p1:StepAmount>
        <d2p1:StepCode>64</d2p1:StepCode>
      </d2p1:AgentNormalPriceTableDetailItem>
      <d2p1:AgentNormalPriceTableDetailItem>
        <d2p1:Price>3</d2p1:Price>
        <d2p1:StepAmount>2</d2p1:StepAmount>
        <d2p1:StepCode>64</d2p1:StepCode>
      </d2p1:AgentNormalPriceTableDetailItem>
    </d2p1:Details>
    <d2p1:TableId>sample string 2</d2p1:TableId>
    <d2p1:TableName>sample string 3</d2p1:TableName>
  </tag>
</CommonOperationResultWithTagOfAgentNormalPriceTableItemwlCnhfv3>
        application/bson
            Sample:
Binary JSON content. See http://bsonspec.org for details.