Get the Order Detail of an Order
1. Request Url
https://{host}/marketApi/orders
2. Request Param
Parameter name
Is it necessary
description
channelId
Y
Channel number
timestamp
Y
Millisecond timestamp(UTC+8)
orderId
Y
Order id
3.Request Example
1
{
2
"channelId":"swft-channel",
3
"sign":"102027D292DD0707E0D899459D91C759858D7367D223CB239A8EC3A90C30B122",
4
"timestamp":"1557653925555",
5
"orderId":"Huwldef823Fw"
6
}
Copied!
4.Response Data
1
{
2
"data":{
3
"availCoinCode":"BTC",
4
"availTradeCode":"USDT",
5
"averagePrice":"",
6
"createTime":"2019-07-31 11:12:06",
7
"orderId":"gxrn9R0N4weI",
8
"price":"1",
9
"status":"canceled",
10
"successAmt":"0",
11
"successTradeAmt":"0",
12
"totalAmt":"1",
13
"totalTradeAmt":"1",
14
"tradeFee":"0",
15
"tradePair":"BTC/USDT",
16
"type":"buy",
17
"updateTime":"2019-07-31 11:12:06"
18
},
19
"resCode":"800",
20
"resMsg":"SUCCESS"
21
}
Copied!
5.Response Data Explanation
Description
Is Array
Parameter name
Data type
Length
Is it necessary
Remark
The current number of pages
N
pageNo
Number
20
Y
eg: 1
Number each page
N
pageSize
Number
20
Y
eg: 10
The total number of records
N
totalCount
Number
20
Y
eg: 2
Total number of pages
N
totalPage
Number
20
Y
eg: 1
OrderId
Y
orderId
String
30
Y
eg: Hushjrw8723
Trading code
Y
availCoinCode
String
20
Y
eg: BTC
Trade zone code
Y
availTradeCode
String
20
Y
eg: USDT
Trade pair
Y
tradePair
String
20
Y
BTC/USDT
Price
Y
price
String
30
Y
eg: 0.21312
Order quantity
Y
totalAmt
String
30
Y
eg: 1
Deal quantity
Y
successAmt
String
30
Y
eg: 1
The total volume
Y
totalTradeAmt
String
30
Y
eg: 0.21312
Deal volume
Y
successTradeAmt
String
30
Y
eg: 0.21312
Type
Y
type
String
20
Y
eg: buy
Fee
Y
tradeFee
String
20
Y
eg: 0.000426
Average price
Y
averagePrice
String
20
Y
eg: 0.21312
Status
Y
status
String
30
Y
eg: canceled
Create time
Y
createTime
String
30
Y
eg: 2019-08-02 11:14:00(UTC+8)
Update time
Y
updateTime
String
30
Y
eg: 2019-08-02 11:14:00(UTC+8)
Last modified 2yr ago
Copy link