POST
/yikatongApi/appointment/order外部平台预约
三省一卡通平台 / 景区模块
基本信息
- 接口状态已完成
- 接口URLPOST
http://localhost:8089/yikatongApi/appointment/order - 请求方式
POST - Content-Type
urlencoded - 调用方
- 所属分组
景区模块 - 来源
- 接口说明—
请求参数
Header 请求参数
| 参数名 | 参数值 | 是否必填 | 参数类型 | 描述说明 |
|---|---|---|---|---|
| token | eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJBUFBfU0VDUkVUIjoiMTdFNjIxNjZGQzg1ODZERkE0RDFCQzBFMTc0MkMwOEIiLCJleHAiOjE2NzgyODY0OTZ9.V2OgjZ9xN98vhkz3Ri2rHND6UmsCEFM1yF72iAXMupE | 是 | String | 请求token |
Query 请求参数
| 参数名 | 参数值 | 是否必填 | 参数类型 | 描述说明 |
|---|---|---|---|---|
| 无 | ||||
路径参数及说明
| 参数名 | 参数值 | 是否必填 | 参数类型 | 描述说明 |
|---|---|---|---|---|
| 无 | ||||
Body 请求参数
| 参数名 | 参数值 | 是否必填 | 参数类型 | 描述说明 |
|---|---|---|---|---|
| userId | 8 | 是 | Integer | 用户user_id |
| userPhone | 15079051274 | 是 | String | 手机号 |
| ruleId | 212 | 是 | Integer | 规则id |
| orderDate | 2023-03-16 | 是 | String | 预约日期 |
| cardIds | 1808 | 是 | Array | 卡id数组 |
| sessionId | 1 | 否 | Integer | 场次Id |
认证方式
响应参数
| 参数名 | 参数值 | 是否必填 | 参数类型 | 描述说明 |
|---|---|---|---|---|
| msg | 操作成功 | 是 | String | |
| code | 0 | 是 | Integer | |
| data | … | 是 | Object | |
| createTime | null | 是 | Null | |
| updateTime | null | 是 | Null | |
| id | 437 | 是 | Integer | |
| appointSn | null | 是 | Null | |
| tourId | 314 | 是 | Integer | |
| tourName | 滕王阁 | 是 | String | |
| reservationManageId | 211 | 是 | Integer | |
| userId | 3 | 是 | Integer | 用户user_id |
| userPhone | 15273322299 | 是 | String | |
| userCount | 2 | 是 | Integer | |
| status | 1 | 是 | Integer | 状态:{0 预约成功 1预约失败 2 已取消 3 已入园 5 超时自动取消 } |
| time | -9600736 | 是 | Integer | |
| payStatus | 0 | 是 | Integer | |
| orderNo | null | 是 | Null | |
| isPay | null | 是 | Null | |
| money | null | 是 | Null | |
| deposit | null | 是 | Null | |
| unitDeposit | null | 是 | Null | |
| createdAt | 2023-03-08T12:36:54.508+00:00 | 是 | String | |
| type | 0 | 是 | Integer | |
| orgCode | 36 | 是 | String | 组织编码(00-母平台,36-江西,42-湖北,43-湖南) |
| sessionId | null | 是 | Null | 时间段日历Id |
| sessionName | null | 是 | Null | |
| sessionValue | null | 是 | Null | |
| appointments | … | 是 | Array | |
| createTime | 2023-03-08T12:36:54.508+00:00 | 是 | String | |
| updateTime | null | 是 | Null | |
| id | 360 | 是 | Integer | |
| orderId | 437 | 是 | Integer | |
| appointSn | null | 是 | Null | |
| cardId | 1696 | 是 | Integer | |
| ruleId | 211 | 是 | Integer | |
| resourceId | 314 | 是 | Integer | |
| userId | 3 | 是 | Integer | 用户user_id |
| reservationName | 罗力 | 是 | String | |
| reservationPhone | 15273322299 | 是 | String | |
| reservationIdCard | 430202198203164014 | 是 | String | |
| reservationTimeId | null | 是 | Null | |
| reservationTimeDay | null | 是 | Null | |
| reservationTimeStart | null | 是 | Null | |
| reservationTimeEnd | null | 是 | Null | |
| status | 0 | 是 | Integer | 状态:{0 预约成功 1预约失败 2 已取消 3 已入园 5 超时自动取消 } |
| reason | null | 是 | Null | |
| orderTime | 2023-03-20T14:30:12.000+00:00 | 是 | String | |
| verifyUserId | null | 是 | Null | |
| verifyTime | null | 是 | Null | |
| expireTime | null | 是 | Null | |
| rollCode | null | 是 | Null | |
| sessionId | null | 是 | Null | 时间段日历Id |
| sessionName | null | 是 | Null | |
| sessionValue | null | 是 | Null |
响应示例
成功
{
"msg": "操作成功",
"code": 0,
"data": {
"createTime": null,
"updateTime": null,
"id": 437,
"appointSn": null,
"tourId": 314,
"tourName": "滕王阁",
"reservationManageId": 211,
"userId": 3,
"userPhone": "15273322299",
"userCount": 2,
"status": 1,
"time": -9600736,
"payStatus": 0,
"orderNo": null,
"isPay": null,
"money": null,
"deposit": null,
"unitDeposit": null,
"createdAt": "2023-03-08T12:36:54.508+00:00",
"type": 0,
"orgCode": "36",
"sessionId": null,
"sessionName": null,
"sessionValue": null,
"appointments": [
{
"createTime": "2023-03-08T12:36:54.508+00:00",
"updateTime": null,
"id": 360,
"orderId": 437,
"appointSn": null,
"cardId": 1696,
"ruleId": 211,
"resourceId": 314,
"userId": 3,
"reservationName": "罗力",
"reservationPhone": "15273322299",
"reservationIdCard": "430202198203164014",
"reservationTimeId": null,
"reservationTimeDay": null,
"reservationTimeStart": null,
"reservationTimeEnd": null,
"status": 0,
"reason": null,
"orderTime": "2023-03-20T14:30:12.000+00:00",
"verifyUserId": null,
"verifyTime": null,
"expireTime": null,
"rollCode": null,
"sessionId": null,
"sessionName": null,
"sessionValue": null,
"visitCount":null
}
]
}
}失败
{
"msg": "旅游卡未进行绑定",
"code": 500
}