POST api/sugarai/v1/pricing
Request Information
URI Parameters
None.
Body Parameters
PricingRq| Name | Description | Type | Additional information | 
|---|---|---|---|
| enquries | Collection of EnqurieData | 
                             None.  | 
                |
| logTrackGuid | string | 
                             None.  | 
                
Request Formats
application/json, text/json
            Sample:
        
{
  "enquries": [
    {
      "seqNo": 1,
      "people": 2,
      "deptAirport": "sample string 3",
      "deptDate": "2025-11-04T18:47:45.0013483+08:00",
      "arrDate": "2025-11-04T18:47:45.00235+08:00",
      "arrAirport": "sample string 6",
      "carrier": "sample string 7",
      "flightNumber": "sample string 8",
      "productkey": "sample string 9",
      "tripType": 10,
      "segmentGroup": 11
    },
    {
      "seqNo": 1,
      "people": 2,
      "deptAirport": "sample string 3",
      "deptDate": "2025-11-04T18:47:45.0013483+08:00",
      "arrDate": "2025-11-04T18:47:45.00235+08:00",
      "arrAirport": "sample string 6",
      "carrier": "sample string 7",
      "flightNumber": "sample string 8",
      "productkey": "sample string 9",
      "tripType": 10,
      "segmentGroup": 11
    }
  ],
  "logTrackGuid": "sample string 1"
}
        application/x-www-form-urlencoded
            Sample:
    
        
Response Information
Resource Description
ReturnResultOfPricingRp| Name | Description | Type | Additional information | 
|---|---|---|---|
| data | PricingRp | 
                             None.  | 
                |
| code | 
                         状态码:100成功,其他自定义  | 
                    integer | 
                             None.  | 
                
| message | 
                         提示消息  | 
                    string | 
                             None.  | 
                
Response Formats
application/json, text/json
            Sample:
{
  "data": {
    "pricings": [
      {
        "seqNo": 1,
        "productkey": "sample string 2",
        "totalBasePrice": 1.0,
        "totalDiscount": 1.0,
        "totalTax": 1.0,
        "totalPrice": 1.0,
        "totalCompensation": 1.0,
        "quotes": [
          {
            "quoteNumber": "sample string 1",
            "basePrice": 1.0,
            "orgBasePrice": 1.0,
            "discount": 1.0,
            "tax": 1.0,
            "orgTax": 1.0,
            "finalPrice": 1.0,
            "compensation": 1.0
          },
          {
            "quoteNumber": "sample string 1",
            "basePrice": 1.0,
            "orgBasePrice": 1.0,
            "discount": 1.0,
            "tax": 1.0,
            "orgTax": 1.0,
            "finalPrice": 1.0,
            "compensation": 1.0
          }
        ],
        "expiredAt": "2025-11-04T18:47:45.0294217+08:00"
      },
      {
        "seqNo": 1,
        "productkey": "sample string 2",
        "totalBasePrice": 1.0,
        "totalDiscount": 1.0,
        "totalTax": 1.0,
        "totalPrice": 1.0,
        "totalCompensation": 1.0,
        "quotes": [
          {
            "quoteNumber": "sample string 1",
            "basePrice": 1.0,
            "orgBasePrice": 1.0,
            "discount": 1.0,
            "tax": 1.0,
            "orgTax": 1.0,
            "finalPrice": 1.0,
            "compensation": 1.0
          },
          {
            "quoteNumber": "sample string 1",
            "basePrice": 1.0,
            "orgBasePrice": 1.0,
            "discount": 1.0,
            "tax": 1.0,
            "orgTax": 1.0,
            "finalPrice": 1.0,
            "compensation": 1.0
          }
        ],
        "expiredAt": "2025-11-04T18:47:45.0294217+08:00"
      }
    ]
  },
  "code": 1,
  "message": "sample string 2"
}