更新差旅政策
POST
/api/cps/customer/enterpriseTravel/updateTravel
更新差旅政策
请求参数
Body 参数application/json
id
integer
编号
hotelOnlineServiceCharge
number
可选
customerNo
string
企业编号
domesticOfflineServiceDuty
number
可选
domesticOfflineServicePersonDuty
number
可选
domesticOnlineServicePersonDutyDistinguish
integer
可选
domesticOfflineServicePrivate
number
可选
domesticOfflineServicePersonPrivate
number
可选
domesticOnlineServiceDuty
number
可选
domesticOnlineServicePersonDuty
number
可选
domesticOnlineServicePricete
number
可选
domesticOnlineServicePersonPricete
number
可选
domesticInsuranceProduct
integer
可选
domesticPresentation
integer
可选
domesticInsuranceId
integer
国内保险编号
domesticInsuranceName
string
国内保险名称
domesticInsuranceDefault
integer
国内保险是否默认
domesticOfficialPriceAirline
integer
可选
internationalOfflineService
string
国际机票线下服务费
internationalOnlineService
string
可选
insuranceProduct
integer
可选
internationalPresentation
integer
可选
internationalInsuranceId
integer
国际保险编号
internationalInsuranceName
string
国际保险名称
internationalInsuranceDefault
integer
国际保险是否默认
hotelServiceCharge
number
酒店服务费
paymentMethod
integer
可选
hotelGrade
string
酒店星级
hotelPrice
number
酒店价格
hotelIndividuation
string
酒店个性化
trainBooking
number
火车票预定服务费
ticketChange
number
火车票改签服务费
trainTicketRefund
number
火车票退票服务费
trainTicketStandby
number
火车票候补服务费
premium
number
保险服务费
domesticFlightChange
number
国内航班改签服务费
internationalFlightChange
number
国际航班改签服务费
ticketDiscount
number
机票优惠价格
hotelDiscount
number
携程酒店优惠价格
txfcDiscount
number
可选
creator
string
创建人
creatorTime
string
创建时间
modifiedBy
string
修改人
modifyTime
string
修改时间
domesticFlightButler
integer
可选
expressNum
number
可选
qunarSearchStatus
integer
可选
qunarSearchStatusYg
integer
可选
qunarAirlineCode
string
去哪查询哪几个航司
carServicePrice
number
用车服务费(因公)
carServicePricePersonal
number
用车服务费(因私)
dIssueTicket
integer
1:正常出票
iIssueTicket
integer
1:正常出票
dTrainTicket
integer
1:正常出票
dHotel
integer
1:正常预定
dCar
integer
1:正常用车
approvalMethod
string
可选
interApprovalMethod
string
可选
hotelApprovalMethod
string
可选
trainApprovalMethod
string
可选
lowPrice
integer
可选
lowDistance
integer
可选
middleRate
number
可选
longRate
number
可选
profitRuleNo
integer <int64>
可选
sendEmail
integer
可选
smsNotification
integer
可选
carShow
integer
可选
ndcOpenCondition
integer
可选
ndcSpecifyAir
string
可选
trainSupplier
string
火车票供应商
trainSupplierStandby
string
火车票候补供应商
ibeOpenCondition
integer <int64>
可选
ibeChangeCondition
integer <int64>
可选
trainRefundBeforeTime
integer
可选
domesticInsurancePriceNotFee
number
可选
multipleOptionInsurance
string
多选保险
smsNotificationPerson
integer
可选
revealNdc
string
ibe限制显示航司
domesticSpecifyAir
string
可选
multipleChoiceCustomer
string
多选客户
trainServiceFee
string
火车票线下服务费
internationalDesignatedCountry
string
国际指定国家
restrictedTraffic
string
是否显示由你飞飞
needUploadPricing
integer <int64>
可选
hbgjOpenCondition
integer
可选
hbgjSpecifyAir
string
可选
hbgjDiffPrice
string
可选
hbgjSearchStatus
integer
可选
hbgjSearchStatusYg
integer
可选
hbgjProduct
string
航班管家查询的产品
zhFlightSelection
string
可选
domesticRefundTipFee
number
可选
emailNotification
integer
可选
refundHotelServiceCharge
number
酒店退房服务 费
refundPaymentMethod
integer
可选
zhCabinCondition
string
可选
includeServiceFeeBusiness
integer
可选
internationalServiceType
integer
可选
personalHotelServiceCharge
number
因私酒店服务费
personalPaymentMethod
integer
可选
personalRefundHotelServiceCharge
number
因私酒店退房服务费
personalRefundPaymentMethod
integer
可选
visaServiceCharge
number
因公签证服务费
personalVisaServiceCharge
number
因私签证服务费
isDirectFlight
integer
可选
isReturnAllPrices
integer
可选
isIftSupplierPay
string
可选
visaMarkupPercent
number
加价百分比
isForceSurrender
integer
是否强制退保
internationalSendItinerary
integer
需求单发送行程单
isAddHolTrip
integer <int64>
可选
abnormalTitle
string
超标显示标题
abnormalMatch
string
超标免审批匹配项
isHotelServiceFeeVisible
integer
可选
isPersonalHotelServiceFeeVisible
integer
可选
cpsTripPolicyFeeViews
array[object (CpsTripPolicyFeeView) {11}]
可选
id
integer <int64>
编号
customerNo
string
企业编号
sysType
integer
可选
isPrivateDisplay
integer
可选
isBusinessDisplay
integer
可选
creator
string
创建人
creatorTime
string
创建时间
modifiedBy
string
修改人
modifyTime
string
修改时间
insurancePrivateDisplay
integer
可选
insuranceBusinessDisplay
integer
可选
feeViewId
integer <int64>
可选
sysType
integer
可选
isPrivateDisplay
integer
可选
isBusinessDisplay
integer
可选
insurancePrivateDisplay
integer
可选
insuranceBusinessDisplay
integer
可选
multipleCustomers
array[object (MapString) {1}]
多选客户
key
string
可选
示例
{
"id": 0,
"hotelOnlineServiceCharge": 0,
"customerNo": "string",
"domesticOfflineServiceDuty": 0,
"domesticOfflineServicePersonDuty": 0,
"domesticOnlineServicePersonDutyDistinguish": 0,
"domesticOfflineServicePrivate": 0,
"domesticOfflineServicePersonPrivate": 0,
"domesticOnlineServiceDuty": 0,
"domesticOnlineServicePersonDuty": 0,
"domesticOnlineServicePricete": 0,
"domesticOnlineServicePersonPricete": 0,
"domesticInsuranceProduct": 0,
"domesticPresentation": 0,
"domesticInsuranceId": 0,
"domesticInsuranceName": "string",
"domesticInsuranceDefault": 0,
"domesticOfficialPriceAirline": 0,
"internationalOfflineService": "string",
"internationalOnlineService": "string",
"insuranceProduct": 0,
"internationalPresentation": 0,
"internationalInsuranceId": 0,
"internationalInsuranceName": "string",
"internationalInsuranceDefault": 0,
"hotelServiceCharge": 0,
"paymentMethod": 0,
"hotelGrade": "string",
"hotelPrice": 0,
"hotelIndividuation": "string",
"trainBooking": 0,
"ticketChange": 0,
"trainTicketRefund": 0,
"trainTicketStandby": 0,
"premium": 0,
"domesticFlightChange": 0,
"internationalFlightChange": 0,
"ticketDiscount": 0,
"hotelDiscount": 0,
"txfcDiscount": 0,
"creator": "string",
"creatorTime": "string",
"modifiedBy": "string",
"modifyTime": "string",
"domesticFlightButler": 0,
"expressNum": 0,
"qunarSearchStatus": 0,
"qunarSearchStatusYg": 0,
"qunarAirlineCode": "string",
"carServicePrice": 0,
"carServicePricePersonal": 0,
"dIssueTicket": 0,
"iIssueTicket": 0,
"dTrainTicket": 0,
"dHotel": 0,
"dCar": 0,
"approvalMethod": "string",
"interApprovalMethod": "string",
"hotelApprovalMethod": "string",
"trainApprovalMethod": "string",
"lowPrice": 0,
"lowDistance": 0,
"middleRate": 0,
"longRate": 0,
"profitRuleNo": 0,
"sendEmail": 0,
"smsNotification": 0,
"carShow": 0,
"ndcOpenCondition": 0,
"ndcSpecifyAir": "string",
"trainSupplier": "string",
"trainSupplierStandby": "string",
"ibeOpenCondition": 0,
"ibeChangeCondition": 0,
"trainRefundBeforeTime": 0,
"domesticInsurancePriceNotFee": 0,
"multipleOptionInsurance": "string",
"smsNotificationPerson": 0,
"revealNdc": "string",
"domesticSpecifyAir": "string",
"multipleChoiceCustomer": "string",
"trainServiceFee": "string",
"internationalDesignatedCountry": "string",
"restrictedTraffic": "string",
"needUploadPricing": 0,
"hbgjOpenCondition": 0,
"hbgjSpecifyAir": "string",
"hbgjDiffPrice": "string",
"hbgjSearchStatus": 0,
"hbgjSearchStatusYg": 0,
"hbgjProduct": "string",
"zhFlightSelection": "string",
"domesticRefundTipFee": 0,
"emailNotification": 0,
"refundHotelServiceCharge": 0,
"refundPaymentMethod": 0,
"zhCabinCondition": "string",
"includeServiceFeeBusiness": 0,
"internationalServiceType": 0,
"personalHotelServiceCharge": 0,
"personalPaymentMethod": 0,
"personalRefundHotelServiceCharge": 0,
"personalRefundPaymentMethod": 0,
"visaServiceCharge": 0,
"personalVisaServiceCharge": 0,
"isDirectFlight": 0,
"isReturnAllPrices": 0,
"isIftSupplierPay": "string",
"visaMarkupPercent": 0,
"isForceSurrender": 0,
"internationalSendItinerary": 0,
"isAddHolTrip": 0,
"abnormalTitle": "string",
"abnormalMatch": "string",
"isHotelServiceFeeVisible": 0,
"isPersonalHotelServiceFeeVisible": 0,
"cpsTripPolicyFeeViews": [
{
"id": 0,
"customerNo": "string",
"sysType": 0,
"isPrivateDisplay": 0,
"isBusinessDisplay": 0,
"creator": "string",
"creatorTime": "string",
"modifiedBy": "string",
"modifyTime": "string",
"insurancePrivateDisplay": 0,
"insuranceBusinessDisplay": 0
}
],
"feeViewId": 0,
"sysType": 0,
"isPrivateDisplay": 0,
"isBusinessDisplay": 0,
"insurancePrivateDisplay": 0,
"insuranceBusinessDisplay": 0,
"multipleCustomers": [
{
"key": "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 '/api/cps/customer/enterpriseTravel/updateTravel' \
--header 'Content-Type: application/json' \
--data-raw '{
"id": 0,
"hotelOnlineServiceCharge": 0,
"customerNo": "string",
"domesticOfflineServiceDuty": 0,
"domesticOfflineServicePersonDuty": 0,
"domesticOnlineServicePersonDutyDistinguish": 0,
"domesticOfflineServicePrivate": 0,
"domesticOfflineServicePersonPrivate": 0,
"domesticOnlineServiceDuty": 0,
"domesticOnlineServicePersonDuty": 0,
"domesticOnlineServicePricete": 0,
"domesticOnlineServicePersonPricete": 0,
"domesticInsuranceProduct": 0,
"domesticPresentation": 0,
"domesticInsuranceId": 0,
"domesticInsuranceName": "string",
"domesticInsuranceDefault": 0,
"domesticOfficialPriceAirline": 0,
"internationalOfflineService": "string",
"internationalOnlineService": "string",
"insuranceProduct": 0,
"internationalPresentation": 0,
"internationalInsuranceId": 0,
"internationalInsuranceName": "string",
"internationalInsuranceDefault": 0,
"hotelServiceCharge": 0,
"paymentMethod": 0,
"hotelGrade": "string",
"hotelPrice": 0,
"hotelIndividuation": "string",
"trainBooking": 0,
"ticketChange": 0,
"trainTicketRefund": 0,
"trainTicketStandby": 0,
"premium": 0,
"domesticFlightChange": 0,
"internationalFlightChange": 0,
"ticketDiscount": 0,
"hotelDiscount": 0,
"txfcDiscount": 0,
"creator": "string",
"creatorTime": "string",
"modifiedBy": "string",
"modifyTime": "string",
"domesticFlightButler": 0,
"expressNum": 0,
"qunarSearchStatus": 0,
"qunarSearchStatusYg": 0,
"qunarAirlineCode": "string",
"carServicePrice": 0,
"carServicePricePersonal": 0,
"dIssueTicket": 0,
"iIssueTicket": 0,
"dTrainTicket": 0,
"dHotel": 0,
"dCar": 0,
"approvalMethod": "string",
"interApprovalMethod": "string",
"hotelApprovalMethod": "string",
"trainApprovalMethod": "string",
"lowPrice": 0,
"lowDistance": 0,
"middleRate": 0,
"longRate": 0,
"profitRuleNo": 0,
"sendEmail": 0,
"smsNotification": 0,
"carShow": 0,
"ndcOpenCondition": 0,
"ndcSpecifyAir": "string",
"trainSupplier": "string",
"trainSupplierStandby": "string",
"ibeOpenCondition": 0,
"ibeChangeCondition": 0,
"trainRefundBeforeTime": 0,
"domesticInsurancePriceNotFee": 0,
"multipleOptionInsurance": "string",
"smsNotificationPerson": 0,
"revealNdc": "string",
"domesticSpecifyAir": "string",
"multipleChoiceCustomer": "string",
"trainServiceFee": "string",
"internationalDesignatedCountry": "string",
"restrictedTraffic": "string",
"needUploadPricing": 0,
"hbgjOpenCondition": 0,
"hbgjSpecifyAir": "string",
"hbgjDiffPrice": "string",
"hbgjSearchStatus": 0,
"hbgjSearchStatusYg": 0,
"hbgjProduct": "string",
"zhFlightSelection": "string",
"domesticRefundTipFee": 0,
"emailNotification": 0,
"refundHotelServiceCharge": 0,
"refundPaymentMethod": 0,
"zhCabinCondition": "string",
"includeServiceFeeBusiness": 0,
"internationalServiceType": 0,
"personalHotelServiceCharge": 0,
"personalPaymentMethod": 0,
"personalRefundHotelServiceCharge": 0,
"personalRefundPaymentMethod": 0,
"visaServiceCharge": 0,
"personalVisaServiceCharge": 0,
"isDirectFlight": 0,
"isReturnAllPrices": 0,
"isIftSupplierPay": "string",
"visaMarkupPercent": 0,
"isForceSurrender": 0,
"internationalSendItinerary": 0,
"isAddHolTrip": 0,
"abnormalTitle": "string",
"abnormalMatch": "string",
"isHotelServiceFeeVisible": 0,
"isPersonalHotelServiceFeeVisible": 0,
"cpsTripPolicyFeeViews": [
{
"id": 0,
"customerNo": "string",
"sysType": 0,
"isPrivateDisplay": 0,
"isBusinessDisplay": 0,
"creator": "string",
"creatorTime": "string",
"modifiedBy": "string",
"modifyTime": "string",
"insurancePrivateDisplay": 0,
"insuranceBusinessDisplay": 0
}
],
"feeViewId": 0,
"sysType": 0,
"isPrivateDisplay": 0,
"isBusinessDisplay": 0,
"insurancePrivateDisplay": 0,
"insuranceBusinessDisplay": 0,
"multipleCustomers": [
{
"key": "string"
}
]
}'
返回响应
🟢200成功
application/json
Body
success
boolean
可选
errCode
string
可选
errMsg
string
可选
code
string
可选
message
string
可选
traceId
string
可选
data
string
可选
示例
{
"success": false,
"errCode": "",
"errMsg": "",
"traceId": "",
"data": ""
}
修改于 2025-03-27 10:20:44