POST api/coupon/localtour/query/{couponCode}
酒店优惠券搜索
Request Information
URI Parameters
| Name | Description | Type | Additional information | 
|---|---|---|---|
| couponCode | 
                         优惠券编码  | 
                    string | 
                                 Required  | 
                
Body Parameters
搜索协议
LocalTourCouponReqContract| Name | Description | Type | Additional information | 
|---|---|---|---|
| plateform | 
                         平台  | 
                    string | 
                             None.  | 
                
| themeid | 
                         主题编号  | 
                    string | 
                             None.  | 
                
| PlanId | 
                         计划编号  | 
                    string | 
                             None.  | 
                
| travelercount | 
                         人数  | 
                    integer | 
                             None.  | 
                
| departdate | 
                         出发日期  | 
                    date | 
                             None.  | 
                
| totalprice | 
                         总金额  | 
                    decimal number | 
                             None.  | 
                
| lang | string | 
                             None.  | 
                
Request Formats
application/json, text/json
            Sample:
        
{
  "plateform": "sample string 1",
  "themeid": "sample string 2",
  "PlanId": "sample string 3",
  "travelercount": 4,
  "departdate": "2025-11-04T18:49:36.2411331+08:00",
  "totalprice": 6.0,
  "lang": "sample string 7"
}
        application/x-www-form-urlencoded
            Sample:
    
        
Response Information
Resource Description
酒店优惠券搜索
ReturnResultOfCouponResContract| Name | Description | Type | Additional information | 
|---|---|---|---|
| data | CouponResContract | 
                             None.  | 
                |
| code | 
                         状态码:100成功,其他自定义  | 
                    integer | 
                             None.  | 
                
| message | 
                         提示消息  | 
                    string | 
                             None.  | 
                
Response Formats
application/json, text/json
            Sample:
{
  "data": {
    "eventname": "sample string 1",
    "discountamount": 2.0,
    "discount": 3.0,
    "discountcalctype": 4,
    "discountcalcrule": 5
  },
  "code": 1,
  "message": "sample string 2"
}