订单API> 订单出行通知Order travel notification

接口说明 Interface description

提供方:携程

调用方:供应商

当订单在新订确认后,供应商可将行前和行中需通知给客人的信息(如出行确认单、司导信息、行程信息),以及在游客取物品(如Wi-Fi)或供应商邮寄物品给客人后均可调用该接口将对应的信息给到携程系统。

Provider: ctrip

Caller: supplier

When the order is confirmed after the new confirmation, the suppliers can inform the guests of the information before and during the trip about their trips (such as travel confirmation, guidance information, and itinerary information), as well as the items (such as Wi-Fi). Oor supplies After supplies deliver the merchant mails the items to the guests, the interface can be called to give the corresponding information to the Ctrip system.

{
	"header": {
		"accountId": "supplier001",
		"serviceName": "OrderTravelNotice",
		"requestTime": "2017-01-05 10:00:00",
		"version": "1.0",
		"sign": "32dd4207b998e019a7f4306721b83887"
	},
	"body": {
		"sequenceId": "20171010abcd95774f17c3e354e73f7aaf21b5ec",
		"otaOrderId": "123456",
		"supplierOrderId": "100001",
		"vouchers": [{
			"itemId": "123456",
			"voucherType": 1,
			"voucherCode": "123456",
			"voucherData": ""
		}],
		"items": [{
			"itemId": "123456",
			"remark": "备注信息",
			"expressDelivery": {
				"deliveryType": 2,
				"companyCode": "shunfeng",
				"companyName": "顺丰速运",
				"trackingNumber": "1234567890-12354",
				"goodsName": "wifi",
				"goodsQuantity": "5",
				"sendMessage": "上海市福泉路99号携程技术大厦 200335 电话021-12345678",
				"receiveMessage": "北京市XXX路XXX号 200335 王三 013912345678"
			},
			"travelInformations": [{
				"name": "集合时间",
				"content": "2018-01-18 08:30"
			}]
		}]
	}
}
          
{
	"header": {
		"resultCode": "0000",
		"resultMessage": "操作成功"
	}
}
          

携程接口返回码The return code of Ctrip's interface