Skip to main content
POST
Cancel all orders for a game
取消单场赛事上的每一笔未成交订单。可选择限定到单一市场 type,以保留其他市场的订单。

请求

POST /session/cancelAllOrdersForGame
string
必填
应取消订单的赛事。
string
可选。仅取消该市场类型的订单 — 取值为 moneyline、spread、total 之一。省略时取消所有市场类型。

响应

array
按单取消结果。形态与 取消一笔订单 相同。

错误

授权

Authorization
string
header
必填

Pass your auth token in the Authorization header. The Bearer prefix is optional; the server also accepts a signed auth cookie or a token field in the request body.

请求体

application/json
gameID
string
必填

The game whose orders to cancel.

type
enum<string>

Optional. Cancel only orders of this market type.

可用选项:
moneyline,
spread,
total

响应

Per-order cancel results

data
object[]