POST api/TradingSituation/EditTradingSituationSubmit

Request Information

URI Parameters

None.

Body Parameters

TradingSituationDTO
NameDescriptionTypeAdditional information
TransactionType

string

None.

TotalAmount

string

None.

FinancialAmount

string

None.

NonFinancialAmount

string

None.

TotalMoney

string

None.

SuccessRate

string

None.

TPS

string

None.

TransactionDate

date

None.

Id

integer

None.

CreateBy

创建人

string

None.

CreateTime

创建时间

date

None.

Request Formats

application/json, text/json

Sample:
{
  "TransactionType": "sample string 1",
  "TotalAmount": "sample string 2",
  "FinancialAmount": "sample string 3",
  "NonFinancialAmount": "sample string 4",
  "TotalMoney": "sample string 5",
  "SuccessRate": "sample string 6",
  "TPS": "sample string 7",
  "TransactionDate": "2019-05-24T15:52:44.9331485+08:00",
  "Id": 9,
  "CreateBy": "sample string 11",
  "CreateTime": "2019-05-24T15:52:44.9331485+08:00"
}

application/xml, text/xml

Sample:
<TradingSituationDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DTO">
  <CreateBy>sample string 11</CreateBy>
  <CreateId>1</CreateId>
  <CreateTime>2019-05-24T15:52:44.9331485+08:00</CreateTime>
  <Id>9</Id>
  <IsObsoleted>true</IsObsoleted>
  <ModifyBy>sample string 10</ModifyBy>
  <ModifyId>1</ModifyId>
  <ModifyTime>2019-05-24T15:52:44.9331485+08:00</ModifyTime>
  <FinancialAmount>sample string 3</FinancialAmount>
  <NonFinancialAmount>sample string 4</NonFinancialAmount>
  <SuccessRate>sample string 6</SuccessRate>
  <TPS>sample string 7</TPS>
  <TotalAmount>sample string 2</TotalAmount>
  <TotalMoney>sample string 5</TotalMoney>
  <TransactionDate>2019-05-24T15:52:44.9331485+08:00</TransactionDate>
  <TransactionType>sample string 1</TransactionType>
</TradingSituationDTO>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'TradingSituationDTO'.

Response Information

Resource Description

StatusDTO
NameDescriptionTypeAdditional information
Status

状态

integer

None.

StatusMessage

消息

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": 1,
  "StatusMessage": "sample string 1"
}

application/xml, text/xml

Sample:
<StatusDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DTO">
  <Status>1</Status>
  <StatusMessage>sample string 1</StatusMessage>
</StatusDTO>