POST api/tourgroup/touritem/info/{lang}

旅行团价格/航班/升级等信息

Request Information

URI Parameters

NameDescriptionTypeAdditional information
lang

string

Required

Body Parameters

TourGroupItemInfoRQContract
NameDescriptionTypeAdditional information
tourId

旅行团ID

string

None.

tourItemCode

当前团号

string

None.

isfullreturn

是否全部返回

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "tourId": "sample string 1",
  "tourItemCode": "sample string 2",
  "isfullreturn": true
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'TourGroupItemInfoRQContract'.

Response Information

Resource Description

旅行团价格/航班/升级等信息

ReturnResultOfTourGroupItemInfoRSContract
NameDescriptionTypeAdditional information
data

TourGroupItemInfoRSContract

None.

code

状态码:100成功,其他自定义

integer

None.

message

提示消息

string

None.

Response Formats

application/json, text/json

Sample:
{
  "data": {
    "tourId": "sample string 1",
    "tourCode": "sample string 2",
    "tourItemCode": "sample string 3",
    "tourName": "sample string 4",
    "coverpic": "sample string 5",
    "cityId": "sample string 6",
    "relationcityIds": [
      "sample string 1",
      "sample string 2"
    ],
    "countryId": "sample string 7",
    "attrs": [
      {
        "text": "sample string 1",
        "value": "sample string 2"
      },
      {
        "text": "sample string 1",
        "value": "sample string 2"
      }
    ],
    "totalDays": 8,
    "depDate": "2024-12-23T20:12:34.2398884+08:00",
    "dueDate": "2024-12-23T20:12:34.2398884+08:00",
    "flights": [
      {
        "Flight": "sample string 1",
        "Route": "sample string 2",
        "Dep_Date": "2024-12-23T20:12:34.2398884+08:00",
        "Dep_Time": "sample string 4",
        "Arr_Date": "2024-12-23T20:12:34.2398884+08:00",
        "Arr_Time": "sample string 6"
      },
      {
        "Flight": "sample string 1",
        "Route": "sample string 2",
        "Dep_Date": "2024-12-23T20:12:34.2398884+08:00",
        "Dep_Time": "sample string 4",
        "Arr_Date": "2024-12-23T20:12:34.2398884+08:00",
        "Arr_Time": "sample string 6"
      }
    ],
    "price": {
      "AvaPerson": 1,
      "GroupItemName": "sample string 2",
      "IsComplete": "sample string 3",
      "IsWillComplete": "sample string 4",
      "IsAllInclude": "sample string 5",
      "IsThreeTrip": "sample string 6",
      "IsThreeAddOne": "sample string 7",
      "IsEarlyJoin": "sample string 8",
      "AdultPrice": 5.0,
      "ChildWithBedPrice": 6.0,
      "ChildNoBedPrice": 7.0,
      "InfantPrice": 28.0,
      "OrgAdultPrice": 9.0,
      "OrgChildWithBedPrice": 10.0,
      "OrgChildNoBedPrice": 11.0,
      "OrgInfantPrice": 12.0,
      "MarkupAdultPrice": 13.0,
      "MarkupChildWithBedPrice": 14.0,
      "MarkupChildNoBedPrice": 15.0,
      "MarkupInfantPrice": 16.0,
      "AdultEarlyJoinDiscount": 17.0,
      "ChildEarlyJoinDiscount": 18.0,
      "ChildEarlyJoinNoBedDiscount": 19.0,
      "deposit": 20.0
    },
    "extras": [
      {
        "ExtraCode": "sample string 1",
        "ExtraName": "sample string 2",
        "ExtraGroup": "sample string 3",
        "Fee": 4.0,
        "AgeType": 5
      },
      {
        "ExtraCode": "sample string 1",
        "ExtraName": "sample string 2",
        "ExtraGroup": "sample string 3",
        "Fee": 4.0,
        "AgeType": 5
      }
    ],
    "upgradeservices": [
      {
        "serviceId": "sample string 1",
        "ClassifyName": "sample string 2",
        "Title": "sample string 3",
        "Fee": 4.0
      },
      {
        "serviceId": "sample string 1",
        "ClassifyName": "sample string 2",
        "Title": "sample string 3",
        "Fee": 4.0
      }
    ],
    "specialoffers": [
      {
        "id": "sample string 1",
        "project": "sample string 2",
        "descript": "sample string 3",
        "discount": 4.0,
        "discounttype": 5,
        "calctype": "sample string 6"
      },
      {
        "id": "sample string 1",
        "project": "sample string 2",
        "descript": "sample string 3",
        "discount": 4.0,
        "discounttype": 5,
        "calctype": "sample string 6"
      }
    ],
    "receiptbranchs": [
      {
        "branchid": "sample string 1",
        "phone": "sample string 2",
        "branchname": "sample string 3",
        "address": "sample string 4"
      },
      {
        "branchid": "sample string 1",
        "phone": "sample string 2",
        "branchname": "sample string 3",
        "address": "sample string 4"
      }
    ],
    "insurances": [
      {
        "id": "sample string 1",
        "code": "sample string 2",
        "name": "sample string 3",
        "descript": "sample string 4",
        "orgprice": 5.0,
        "price": 6.0,
        "discountType": "sample string 7",
        "discount": 8.0
      },
      {
        "id": "sample string 1",
        "code": "sample string 2",
        "name": "sample string 3",
        "descript": "sample string 4",
        "orgprice": 5.0,
        "price": 6.0,
        "discountType": "sample string 7",
        "discount": 8.0
      }
    ],
    "stocknum": 10,
    "urlcategory": "sample string 11"
  },
  "code": 1,
  "message": "sample string 2"
}