开放平台
  1. 电影票接口
开放平台
  • App/H5对接流程:
  • API开放接口对接流程
  • 小程序对接流程v1.1
  • 数据推送说明
  • 基础信息
    • 获取接口访问令牌
      POST
    • 更改密码
      POST
    • 企业用户信息 v1.1
      GET
    • 获取会员token
      POST
  • 电影票接口
    • 电影票回调通知
    • 获取城市列表
      GET
    • 热映电影(pageIndex从0开始)
      GET
    • 即将上映电影
      GET
    • 获取影院列表
      GET
    • 获取影院过滤列表(获取城市影院品牌和区域信息)
      GET
    • 获取电影的影院列表
      GET
    • 获取电影详情
      GET
    • 获取影院某个电影的排片列表
      GET
    • 获取电影场次(座位)详情
      GET
    • 创建订单
      POST
    • 订单简要信息(字段较简洁,用于发起订单支付)
      GET
    • 支付订单(用户付款成功后调用)
      GET
    • 订单列表(管理)
      POST
    • 订单详情
      GET
    • 返回所有电影
      GET
    • 获取广告列表
      GET
  • 卡券接口
    • GiftCard
      • 卡券商品分类列表
      • 卡券商品列表
      • 商品详情
      • 下单(自己做产品展示,才需要下单接口)
      • 订单支付通知
      • 订单列表
      • 订单详情
      • 卡券商品按类别列表(共二级分类)
  • 点餐接口
    • 点餐回调通知
    • 城市列表
    • 平台店铺列表
    • 店铺详情,如果传了经纬度,返回距离
    • 菜单
    • 商品详情(不同品牌商品详情会有所不同)
    • 创建订单(不同品牌的商品详情下单的参数会有所不同)
    • 订单支付通知(用户付款成功后调用)
    • 订单列表
    • 订单详情
    • 订单上传文件列表
  1. 电影票接口

订单详情

GET
/api/movie/get_order
Movie
如果订单出码成功,则可使用totalUserPrice-epCommission计算当前订单成本价

请求参数

Query 参数
id
string 
订单号
可选
entOrderId
string 
可选
第三方订单号,就是创建订单时候传的orderId ,贵公司系统交互时唯一标识该订单。(id和entOrderId必传一个,id优先)

返回响应

🟢200Success
application/json
Body
code
integer <int32>
code
可选
message
string  | null 
message
可选
data
object (TicketOrderChannelDto) 
可选
id
string <uuid>
可选
epUserId
string <uuid>
归属企业用户id
可选
orderCustomId
string  | null 
自定义订单号
可选
userId
string <uuid>
用户ID
可选
cityName
string  | null 
城市名称
可选
cinemaName
string  | null 
影院名称
可选
hallName
string  | null 
影厅名称
可选
movieName
string  | null 
电影名称
可选
seatNames
string  | null 
座位名称
可选
seatList
array[string] | null 
只读可选
postImageUrl
string  | null 
电影海报地址
可选
cinemaAddress
string  | null 
影院地址
可选
sessionBeginTime
string <date-time>
开场时间
可选
sessionEndTime
string <date-time> | null 
结束时间
可选
movieVersion
string  | null 
可选
影票类型(英语 3D)
createTime
string <date-time>
创建时间
可选
paidTime
string <date-time> | null 
支付时间
可选
finishTime
string <date-time> | null 
完成时间
可选
updateTime
string <date-time> | null 
更新时间
可选
expireTime
string <date-time> | null 
过期时间
可选
orderState
enum<integer> <int32>
可选
0:待支付
1:已支付
4:出票成功
7:出票失败(退款)
8:超时未付(取消)
11:正在出票
枚举值:
01478
supplierId
string <uuid> | null 
供应商ID
可选
ticketCode
string  | null 
取票码
可选
ticketCodeList
array[string] | null 
取票码列表
只读可选
ticketCodeText
string  | null 
取票码文字信息
可选
originPrice
number <double>
原票价单价
可选
totalUserPrice
number <double>
订单用户总价
可选
orderPayId
string  | null 
外部平台支付凭证号
可选
orderRefundId
string  | null 
外部平台退款凭证号
可选
buyModel
integer <int32>
购买方式
可选
extData
string  | null 
附加数据
可选
wxFormId
string  | null 
微信form_id
可选
wxPrepayId
string  | null 
可选
微信PrepayId
switchSeat
boolean 
是否支持自动换座位
可选
cinemaLat
number <double>
影院经度
可选
cinemaLng
number <double>
影院纬度
可选
couponId
string <uuid> | null 
优惠券ID
可选
appId
string  | null 
所属APPId
可选
entId
string  | null 
企业ID
可选
entPara
string  | null 
企业参数
可选
audience
string  | null 
可选
观众列表ID,用,分隔
payAppId
string  | null 
可选
payTranId
string  | null 
可选
totalDistributionPrice
number <double>
可选
分销商总价(非分销模式为0)
epParentCommission
number <double>
可选
上级代理佣金(无上级代理为0)
epCommission
number <double>
当前订单佣金
可选
inviteEpCommission
number <double>
可选
邀请企业佣金(无邀请企业为0)
orderStateName
string  | null 
订单状态
只读可选
nickName
string  | null 
昵称
可选
avatarUrl
string  | null 
头像地址
可选
gender
string  | null 
性别
可选
files
array[object (FileStoreDto) {11}]  | null 
图片列表
可选
makeTicketSeconds
integer 
可选
出票时间(单位:秒)
示例
{
  "code": 0,
  "message": "string",
  "data": {
    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
    "epUserId": "f6922f56-2635-4dc5-9821-536548cc4172",
    "orderCustomId": "string",
    "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b",
    "cityName": "string",
    "cinemaName": "string",
    "hallName": "string",
    "movieName": "string",
    "seatNames": "string",
    "seatList": [
      "string"
    ],
    "postImageUrl": "string",
    "cinemaAddress": "string",
    "sessionBeginTime": "2019-08-24T14:15:22Z",
    "sessionEndTime": "2019-08-24T14:15:22Z",
    "movieVersion": "string",
    "createTime": "2019-08-24T14:15:22Z",
    "paidTime": "2019-08-24T14:15:22Z",
    "finishTime": "2019-08-24T14:15:22Z",
    "updateTime": "2019-08-24T14:15:22Z",
    "expireTime": "2019-08-24T14:15:22Z",
    "orderState": 0,
    "supplierId": "e01eb4c4-8eb9-4fb7-b625-61f58c6148db",
    "ticketCode": "string",
    "ticketCodeList": [
      "string"
    ],
    "ticketCodeText": "string",
    "originPrice": 0,
    "totalUserPrice": 0,
    "orderPayId": "string",
    "orderRefundId": "string",
    "buyModel": 0,
    "extData": "string",
    "wxFormId": "string",
    "wxPrepayId": "string",
    "switchSeat": true,
    "cinemaLat": 0,
    "cinemaLng": 0,
    "couponId": "15d6ce74-0176-4a4d-819b-7e460f30be6a",
    "appId": "string",
    "entId": "string",
    "entPara": "string",
    "audience": "string",
    "payAppId": "string",
    "payTranId": "string",
    "totalDistributionPrice": 0,
    "epParentCommission": 0,
    "epCommission": 0,
    "inviteEpCommission": 0,
    "orderStateName": "string",
    "nickName": "string",
    "avatarUrl": "string",
    "gender": "string",
    "files": [
      {
        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
        "fileOperation": 0,
        "fileDescription": "string",
        "filePath": "string",
        "fileName": "string",
        "fileHash": "string",
        "fileExtension": "string",
        "fileMIME": "string",
        "lastOperatedTime": "2019-08-24T14:15:22Z",
        "orderId": "b3e1eced-f2bd-4d8c-9765-fbc9d1d222d5",
        "index": 0
      }
    ],
    "makeTicketSeconds": 0
  }
}
上一页
订单列表(管理)
下一页
返回所有电影
Built with