POST api/localTour/theme/search

主题搜索

Request Information

URI Parameters

None.

Body Parameters

SearchRqContract
NameDescriptionTypeAdditional information
searchkey

string

None.

filterattr

Collection of FilterAttr

None.

attid

Collection of integer

None.

rankid

integer

None.

lang

string

None.

isshowattr

boolean

None.

pagenumber

integer

None.

pagesize

integer

None.

startdate

date

None.

enddate

date

None.

orderby

OrderBy

None.

sourcemarkupamt

decimal number

None.

sourcemarkupby

string

None.

conentattid

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "searchkey": "sample string 1",
  "filterattr": [
    {
      "parentid": 1,
      "attridlist": [
        1,
        2
      ]
    },
    {
      "parentid": 1,
      "attridlist": [
        1,
        2
      ]
    }
  ],
  "attid": [
    1,
    2
  ],
  "rankid": 2,
  "lang": "sample string 3",
  "isshowattr": true,
  "pagenumber": 1,
  "pagesize": 2,
  "startdate": "2024-12-23T19:45:57.6240449+08:00",
  "enddate": "2024-12-23T19:45:57.6240449+08:00",
  "orderby": {
    "ordercolomn": 1,
    "ordertype": 2
  },
  "sourcemarkupamt": 7.0,
  "sourcemarkupby": "sample string 8",
  "conentattid": 9
}

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 'SearchRqContract'.

Response Information

Resource Description

主题搜索

ReturnResultOfSearchRpContract
NameDescriptionTypeAdditional information
data

SearchRpContract

None.

code

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

integer

None.

message

提示消息

string

None.

Response Formats

application/json, text/json

Sample:
{
  "data": {
    "themeattribute": [
      {
        "attributeinfo": [
          {
            "attid": 1,
            "name": "sample string 2",
            "content": "sample string 3",
            "parentid": 4
          },
          {
            "attid": 1,
            "name": "sample string 2",
            "content": "sample string 3",
            "parentid": 4
          }
        ],
        "attid": 1,
        "name": "sample string 2",
        "content": "sample string 3",
        "parentid": 4
      },
      {
        "attributeinfo": [
          {
            "attid": 1,
            "name": "sample string 2",
            "content": "sample string 3",
            "parentid": 4
          },
          {
            "attid": 1,
            "name": "sample string 2",
            "content": "sample string 3",
            "parentid": 4
          }
        ],
        "attid": 1,
        "name": "sample string 2",
        "content": "sample string 3",
        "parentid": 4
      }
    ],
    "themelist": {
      "total_count": 1,
      "page": 2,
      "page_size": 3,
      "data_list": [
        {
          "minprice": 1.0,
          "orgminprice": 2.0,
          "themeId": 3,
          "themeNo": "sample string 4",
          "hit": 5,
          "rate": 6.0,
          "recommetCount": 7,
          "cutOffDate": 8,
          "youtubeUrl": "sample string 9",
          "googleUrl": "sample string 10",
          "departStartDate": "2024-12-23T19:45:57.6709194+08:00",
          "departEndDate": "2024-12-23T19:45:57.6709194+08:00",
          "createdate": "2024-12-23T19:45:57.6709194+08:00",
          "themename": "sample string 18",
          "themenotice": "sample string 19",
          "themecontent": "sample string 20",
          "themeduration": "sample string 21",
          "themeext1": "sample string 22",
          "themeext2": "sample string 23",
          "publicitydetails": "sample string 24",
          "ishot": true,
          "lastupdate": "2024-12-23T19:45:57.6709194+08:00"
        },
        {
          "minprice": 1.0,
          "orgminprice": 2.0,
          "themeId": 3,
          "themeNo": "sample string 4",
          "hit": 5,
          "rate": 6.0,
          "recommetCount": 7,
          "cutOffDate": 8,
          "youtubeUrl": "sample string 9",
          "googleUrl": "sample string 10",
          "departStartDate": "2024-12-23T19:45:57.6709194+08:00",
          "departEndDate": "2024-12-23T19:45:57.6709194+08:00",
          "createdate": "2024-12-23T19:45:57.6709194+08:00",
          "themename": "sample string 18",
          "themenotice": "sample string 19",
          "themecontent": "sample string 20",
          "themeduration": "sample string 21",
          "themeext1": "sample string 22",
          "themeext2": "sample string 23",
          "publicitydetails": "sample string 24",
          "ishot": true,
          "lastupdate": "2024-12-23T19:45:57.6709194+08:00"
        }
      ],
      "page_count": 1,
      "skip": 4
    },
    "attrcontent": "sample string 1",
    "description": "sample string 2",
    "themeattributeinfo": {
      "attrdetaillist": [
        {
          "attid": 1,
          "name": "sample string 2",
          "content": "sample string 3",
          "parentid": 4
        },
        {
          "attid": 1,
          "name": "sample string 2",
          "content": "sample string 3",
          "parentid": 4
        }
      ],
      "themeattrlist": [
        {
          "ThemeId": 1,
          "AttIdList": [
            1,
            2
          ]
        },
        {
          "ThemeId": 1,
          "AttIdList": [
            1,
            2
          ]
        }
      ]
    }
  },
  "code": 1,
  "message": "sample string 2"
}