Authorization: Bearer ********************
{
"abbreviation": "",
"chargeTrafficFee": 0,
"chargeTrafficMode": 0,
"createTime": null,
"creator": "",
"defaultFlag": 0,
"discountAmount": 0.00,
"discountRate": 0.00,
"exactAmount": 0,
"externalNo": "1907020778440769538",
"id": "976",
"listLogo": "",
"modifier": "",
"modifierTime": null,
"noProfitDiscount": 0.00,
"noProfitMode": 0,
"noProfitStatus": 0,
"offPeakSeason": 0,
"owner": null,
"payType": 0,
"peakSeasonEndDate": "",
"peakSeasonRate": null,
"peakSeasonStartDate": "",
"priceType": 0,
"profitMode": 0,
"profitName": "新建湖南视旅规则",
"profitNo": "1907020778763730947",
"protocolServicePrice": 0.00,
"remark": "",
"roomLogo": "",
"rule": 0,
"status": "0",
"supplier": "平台",
"trafficFee": null,
"valid": 0
}
curl --location --request GET '/api/hol/rule/update' \
--header 'Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJsaXV4dSIsImlhdCI6MTc0MzQ5NTEzMSwiZXhwIjoxNzQzNTgxNTMxfQ.RNUb5CgljAKVAvMrhmp6tF0fFubDCjeQSnNYQX4cAS8' \
--header 'Tenant-Id: 1' \
--header 'Content-Type: application/json' \
--data-raw '{
"abbreviation": "",
"chargeTrafficFee": 0,
"chargeTrafficMode": 0,
"createTime": null,
"creator": "",
"defaultFlag": 0,
"discountAmount": 0.00,
"discountRate": 0.00,
"exactAmount": 0,
"externalNo": "1907020778440769538",
"id": "976",
"listLogo": "",
"modifier": "",
"modifierTime": null,
"noProfitDiscount": 0.00,
"noProfitMode": 0,
"noProfitStatus": 0,
"offPeakSeason": 0,
"owner": null,
"payType": 0,
"peakSeasonEndDate": "",
"peakSeasonRate": null,
"peakSeasonStartDate": "",
"priceType": 0,
"profitMode": 0,
"profitName": "新建湖南视旅规则",
"profitNo": "1907020778763730947",
"protocolServicePrice": 0.00,
"remark": "",
"roomLogo": "",
"rule": 0,
"status": "0",
"supplier": "平台",
"trafficFee": null,
"valid": 0
}'
{
"success": false,
"errCode": "",
"errMsg": "",
"traceId": "",
"data": {
"id": 0,
"profitNo": 0,
"externalNo": 0,
"profitName": "",
"supplier": "",
"abbreviation": "",
"listLogo": "",
"roomLogo": "",
"priceType": 0,
"payType": 0,
"rule": 0,
"profitMode": 0,
"status": "",
"defaultFlag": 0,
"remark": "",
"valid": 0,
"creator": "",
"createTime": "",
"modifier": "",
"modifierTime": "",
"discountRate": 0.0,
"discountAmount": 0.0,
"protocolServicePrice": 0.0,
"offPeakSeason": 0,
"peakSeasonStartDate": "",
"peakSeasonEndDate": "",
"peakSeasonRate": 0.0,
"chargeTrafficFee": 0,
"chargeTrafficMode": 0,
"trafficFee": 0.0,
"exactAmount": 0,
"owner": 0,
"noProfitDiscount": 0.0,
"noProfitStatus": 0,
"noProfitMode": 0
}
}