检验场次座位是否可售
POST
/api/movie/order/check
影票订单接口
责任人:未设置
请求参数
Query 参数
appId
string
渠道ID
nonce
string
随机字符串
sign
string
签名
timestamp
string
时间戳
Body 参数application/json
cinemaId
string
影院id
movieId
string
电影id
seatIds
array[string]
座位id集合
showId
string
场次id
示例
{
"cinemaId": "string",
"movieId": "string",
"seatIds": [
"string"
],
"showId": "string"
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://dev-cn.your-api-server.com/api/movie/order/check?appId&nonce&sign×tamp' \
--header 'Content-Type: application/json' \
--data-raw '{
"cinemaId": "string",
"movieId": "string",
"seatIds": [
"string"
],
"showId": "string"
}'
返回响应
🟢200成功
*/*
Body
orderDesc
string
订单描述
orderPicUrl
string
订单图片
orderSubTitle
string
订单副标题
orderTitle
string
订单标题
originPrice
number <double>
原价
quantity
integer <int32>
购买数量
salePrice
number <double>
销售价
totalOriginAmount
number <double>
总门市价
totalSaleAmount
number <double>
总销售价
示例
{
"orderDesc": "string",
"orderPicUrl": "string",
"orderSubTitle": "string",
"orderTitle": "string",
"originPrice": 0,
"quantity": 0,
"salePrice": 0,
"totalOriginAmount": 0,
"totalSaleAmount": 0
}
🟢201成功
🟠401没有权限
🟠403禁止访问
🟠404记录不存在