| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312 |
- basePath: /api
- definitions:
- app.Response:
- properties:
- code:
- type: integer
- data:
- type: object
- msg:
- type: string
- type: object
- cptrade.Cptradepositioncancel:
- properties:
- accountid:
- description: 申请人账户ID
- type: integer
- applystatus:
- description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
- type: integer
- applytime:
- description: 申请时间
- type: string
- cancelid:
- description: 注销ID(SEQ_CPTRADE_POSITIONCANCEL)
- type: integer
- cancelqty:
- description: 注销数量
- type: integer
- createtime:
- description: 创建时间
- type: string
- creatorid:
- description: 创建人
- type: integer
- goodscode:
- description: 订单商品代码
- type: string
- goodsid:
- description: 商品ID
- type: integer
- goodsname:
- description: 订单商品名称
- type: string
- goodunit:
- description: 报价单位
- type: string
- handlestatus:
- description: 处理状态
- type: integer
- marketid:
- description: 市场ID
- type: integer
- marketname:
- description: 市场名称
- type: string
- tradedate:
- description: 交易日(yyyyMMdd)
- type: string
- userid:
- description: 申请人ID
- type: integer
- required:
- - cancelid
- type: object
- cptrade.Cptradepresaleapply:
- properties:
- accountid:
- description: 申请人账户ID
- type: integer
- applyid:
- description: 申请ID(181+Unix秒时间戳(10位)+xxxxxx)
- type: integer
- applystatus:
- description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
- type: integer
- applytime:
- description: 申请时间
- type: string
- attachmenturl:
- description: 附件地址
- type: string
- endtime:
- description: 预售结束时间
- type: string
- goodscode:
- description: 商品代码
- type: string
- goodsname:
- description: 商品名称
- type: string
- goodunit:
- description: 报价单位
- type: string
- handlestatus:
- description: 处理状态
- type: integer
- marketid:
- description: 预售市场ID
- type: integer
- marketname:
- description: 预售市场名称
- type: string
- presaleqty:
- description: 预售数量
- type: integer
- relatedgoodscode:
- description: 关联交易合约代码
- type: string
- relatedgoodsid:
- description: 关联交易合约ID
- type: integer
- relatedgoodsname:
- description: 关联交易合约名称
- type: string
- starttime:
- description: 预售开始时间
- type: string
- tradedate:
- description: 交易日(yyyyMMdd)
- type: string
- trademode:
- description: 交易模式 - 16:挂牌点选 21:大宗竞拍
- type: integer
- userid:
- description: 申请人ID
- type: integer
- required:
- - applyid
- type: object
- cptrade.Cptradeusergoodsdata:
- properties:
- EnabledQty:
- description: 可用量
- type: integer
- GoodsCode:
- description: 订单商品代码
- type: string
- GoodsName:
- description: 订单商品名称
- type: string
- WRStandardCode:
- description: 仓单标准代码
- type: string
- WRStandardName:
- description: 仓单标准名称
- type: string
- accountid:
- description: 账户ID
- type: integer
- cancelqty:
- description: 注销量
- type: integer
- curpresaleqty:
- description: 当前预售量
- type: integer
- deliveryqty:
- description: 交割量
- type: integer
- freezeamount:
- description: 冻结金额
- type: number
- goodsid:
- description: 商品ID
- type: integer
- goodunit:
- description: 报价单位
- type: string
- hasspotfreeze:
- description: 是否有现货冻结 - 0:否 1:有
- type: integer
- inqty:
- description: 转入量
- type: integer
- marketid:
- description: 市场ID
- type: integer
- presaledamount:
- description: 已预售总金额
- type: integer
- presaledqty:
- description: 已预售量
- type: integer
- userid:
- description: 用户ID
- type: integer
- wrstandardid:
- description: 仓单标准ID
- type: integer
- required:
- - accountid
- - goodsid
- type: object
- info:
- contact: {}
- description: 新的查询服务,替代原通用查询服务。
- license: {}
- termsOfService: http://muchinfo.cn
- title: MTP2.0 查询服务 API
- version: "1.0"
- paths:
- /CPTrade/QueryCPTradePositionCancel:
- get:
- parameters:
- - description: 账户ID
- in: query
- name: userid
- required: true
- type: integer
- - description: 注销ID
- in: query
- name: cancelid
- type: integer
- - description: 资金账户ID
- in: query
- name: accountid
- type: integer
- produces:
- - application/json
- responses:
- "200":
- description: OK
- schema:
- $ref: '#/definitions/cptrade.Cptradepositioncancel'
- "500":
- description: Internal Server Error
- schema:
- $ref: '#/definitions/app.Response'
- security:
- - ApiKeyAuth: []
- summary: 查询远期订单注销申请信息
- tags:
- - 产能预售
- /CPTrade/QueryCPTradeUserGoodsData:
- get:
- parameters:
- - description: 资金账户ID
- in: query
- name: accountid
- required: true
- type: integer
- produces:
- - application/json
- responses:
- "200":
- description: OK
- schema:
- $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
- "500":
- description: Internal Server Error
- schema:
- $ref: '#/definitions/app.Response'
- security:
- - ApiKeyAuth: []
- summary: 查询远期订单信息
- tags:
- - 产能预售
- /CPTrade/QueryPreasleApply:
- get:
- parameters:
- - description: 账户ID
- in: query
- name: userid
- required: true
- type: integer
- - description: 申请ID
- in: query
- name: applyid
- type: integer
- - description: 资金账户ID
- in: query
- name: accountid
- type: integer
- produces:
- - application/json
- responses:
- "200":
- description: OK
- schema:
- $ref: '#/definitions/cptrade.Cptradepresaleapply'
- "500":
- description: Internal Server Error
- schema:
- $ref: '#/definitions/app.Response'
- security:
- - ApiKeyAuth: []
- summary: 查询产能预售申请信息
- tags:
- - 产能预售
- /WRTrade/GetAllDeliveryGoods:
- get:
- produces:
- - application/json
- responses:
- "200":
- description: OK
- schema:
- $ref: '#/definitions/app.Response'
- "500":
- description: Internal Server Error
- schema:
- $ref: '#/definitions/app.Response'
- security:
- - ApiKeyAuth: []
- summary: 获取带仓单分类的种类信息
- tags:
- - 仓单贸易
- securityDefinitions:
- ApiKeyAuth:
- in: header
- name: token
- type: apiKey
- swagger: "2.0"
|