- App/H5对接流程:
- API开放接口对接流程
- 小程序对接流程v1.1
- 数据推送说明
- 基础信息
- 电影票接口
- 卡券接口
- 点餐接口
获取电影场次(座位)详情
GET
/api/movie/session
Movie
请求参数
Query 参数
sessionId
string
必需
cinemaId
string
必需
movieId
string
必需
sid
string
可选
返回响应
🟢200Success
application/json
Body
code
integer <int32>
code
message
string | null
message
data
object (TicketSession)
场次
seatSection
object (TicketSeatSection)
座位
sessionId
string | null
可选
>= 0 字符<= 20 字符
showTime
string <date-time>
开始时间
>= 0 字符<= 10 字符
language
string | null
语言
reservedMin
integer <int32>
可选
sourcePrice
number <double>
票商价(已弃用)
originPrice
number <double>
市场原价
sellPrice
number <double>
特惠票价
fastPrice
number <double>
快速票价
hall
string | null
影厅名
ticketStatus
string | null
售票情况
version
string | null
可选
endTime
string <date-time>
影片结束时间
cinemaName
string | null
影院名称
cinemaId
string | null
影院Id
cinemaCode
string | null
影院编码
movieName
string | null
电影名称
movieId
string | null
电影ID
movieCode
string | null
电影编码
cityName
string | null
城市名称
postImageUrl
string | null
电影海报地址
cinemaAddress
string | null
影院地址
priceRuleId
string <uuid> | null
价格规则id
rtSeats
object (RtSeats)
可选
needRealName
integer <int32>
可选
areaPrice
string | null
可选
areaPriceList
array[object (AreaPrcie) {5}] | null
座位分区价格列表
sourceId
string | null
票源id
closeFastTicket
boolean
关闭快速出票
示例
{
"code": 0,
"message": "string",
"data": {
"seatSection": {
"rowCount": 0,
"columnCount": 0,
"seatRows": [
{
"rowsId": "string",
"rowsNum": "string",
"columns": [
{
"colId": "string",
"colNum": "string",
"seatName": "string",
"originSeatID": "string",
"state": 0,
"type": 0,
"areaId": "string"
}
]
}
]
},
"sessionId": "string",
"showTime": "2019-08-24T14:15:22Z",
"language": "string",
"reservedMin": 0,
"sourcePrice": 0,
"originPrice": 0,
"sellPrice": 0,
"fastPrice": 0,
"hall": "string",
"ticketStatus": "string",
"version": "string",
"endTime": "2019-08-24T14:15:22Z",
"cinemaName": "string",
"cinemaId": "string",
"cinemaCode": "string",
"movieName": "string",
"movieId": "string",
"movieCode": "string",
"cityName": "string",
"postImageUrl": "string",
"cinemaAddress": "string",
"priceRuleId": "d46a626c-f2f2-4dea-a792-32cbc3f4487f",
"rtSeats": {
"r5": [
{
"columnId": "string",
"rowId": "string",
"rowNum": "string"
}
],
"r4": [
{
"columnId": "string",
"rowId": "string",
"rowNum": "string"
}
],
"r1": [
{
"columnId": "string",
"rowId": "string",
"rowNum": "string"
}
],
"r6": [
{
"columnId": "string",
"rowId": "string",
"rowNum": "string"
}
],
"r3": [
{
"columnId": "string",
"rowId": "string",
"rowNum": "string"
}
],
"r2": [
{
"columnId": "string",
"rowId": "string",
"rowNum": "string"
}
]
},
"needRealName": 0,
"areaPrice": "string",
"areaPriceList": [
{
"areaId": "string",
"price": 0,
"fastPrice": 0,
"originPrice": 0,
"sourcePrice": 0
}
],
"sourceId": "string",
"closeFastTicket": true
}
}
修改于 2024-10-30 03:32:51