POST/yikatongApi/appointment/order外部平台

预约

三省一卡通平台 / 景区模块· 导出更新 2024-03-08

基本信息

  • 接口状态已完成 来自 Apipost 导出,非本仓库代码
  • 接口URLPOSThttp://localhost:8089/yikatongApi/appointment/order
  • 请求方式POST
  • Content-Typeurlencoded
  • 调用方外部平台接口,由本系统服务端调用(不在 7 端前端扫描范围)
  • 所属分组景区模块
  • 来源三省一卡通平台 Apipost 导出(原始页)
  • 接口说明—

请求参数

Header 请求参数

参数名参数值是否必填参数类型描述说明
tokeneyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJBUFBfU0VDUkVUIjoiMTdFNjIxNjZGQzg1ODZERkE0RDFCQzBFMTc0MkMwOEIiLCJleHAiOjE2NzgyODY0OTZ9.V2OgjZ9xN98vhkz3Ri2rHND6UmsCEFM1yF72iAXMupE是String请求token

Query 请求参数

参数名参数值是否必填参数类型描述说明
无

路径参数及说明

参数名参数值是否必填参数类型描述说明
无

Body 请求参数

Body 模式:urlencoded
参数名参数值是否必填参数类型描述说明
userId8是Integer用户user_id
userPhone15079051274是String手机号
ruleId212是Integer规则id
orderDate2023-03-16是String预约日期
cardIds1808是Array卡id数组
sessionId1否Integer场次Id

认证方式

认证方式:noauth(导出未标注具体鉴权,需与对方确认)

响应参数

参数名参数值是否必填参数类型描述说明
msg操作成功是String
code0是Integer
data…是Object
createTimenull是Null
updateTimenull是Null
id437是Integer
appointSnnull是Null
tourId314是Integer
tourName滕王阁是String
reservationManageId211是Integer
userId3是Integer用户user_id
userPhone15273322299是String
userCount2是Integer
status1是Integer状态:{0 预约成功 1预约失败 2 已取消 3 已入园 5 超时自动取消 }
time-9600736是Integer
payStatus0是Integer
orderNonull是Null
isPaynull是Null
moneynull是Null
depositnull是Null
unitDepositnull是Null
createdAt2023-03-08T12:36:54.508+00:00是String
type0是Integer
orgCode36是String组织编码(00-母平台,36-江西,42-湖北,43-湖南)
sessionIdnull是Null时间段日历Id
sessionNamenull是Null
sessionValuenull是Null
appointments…是Array
createTime2023-03-08T12:36:54.508+00:00是String
updateTimenull是Null
id360是Integer
orderId437是Integer
appointSnnull是Null
cardId1696是Integer
ruleId211是Integer
resourceId314是Integer
userId3是Integer用户user_id
reservationName罗力是String
reservationPhone15273322299是String
reservationIdCard430202198203164014是String
reservationTimeIdnull是Null
reservationTimeDaynull是Null
reservationTimeStartnull是Null
reservationTimeEndnull是Null
status0是Integer状态:{0 预约成功 1预约失败 2 已取消 3 已入园 5 超时自动取消 }
reasonnull是Null
orderTime2023-03-20T14:30:12.000+00:00是String
verifyUserIdnull是Null
verifyTimenull是Null
expireTimenull是Null
rollCodenull是Null
sessionIdnull是Null时间段日历Id
sessionNamenull是Null
sessionValuenull是Null

响应示例

成功 code=200

{
	"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
			}
		]
	}
}

失败 code=201

{
	"msg": "旅游卡未进行绑定",
	"code": 500
}
示例来自源码/导出内容,仅结构参考,非线上真实数据。

附录 · 实现细节

外部平台接口,本仓库无对应实现:与 jxxx-dscp 的接口路径尾段交叉比对为 0 条,请勿与本仓库接口混用。本系统开放与对接接口 →
由 tools/build.py 从 data/apis.json 生成 · 生成时间 2026-09-12 19:49 · 数据口径见说明 · 本页数字非手写,均来自同一份数据