POST api/new/getsubscriberefresh

获取房源的预约刷新记录

默认返回json数据,若要返回xml格式数据在访问地址后加上xml=true

Request 信息

URI 参数

None.

Body 参数

参数

SubscribeRefreshRecordModel
名称说明数据类型附加信息
HouId

房源Id

integer

Required

StartTime

【可选】起始时间

date

None.

EndTime

【可选】截至时间

date

None.

Pi

PageIndex 页码,默认1

integer

None.

Ps

PageSize 页容量,默认20,最大50

integer

None.

City

城市

string

Required

Token

token

string

Required

Platform

string

None.

Request 数据格式

application/json, text/json

示例:
{
  "HouId": 1,
  "StartTime": "2020-04-04T08:03:44.9242289+08:00",
  "EndTime": "2020-04-04T08:03:44.9242289+08:00",
  "Pi": 1,
  "Ps": 1,
  "City": "sample string 2",
  "Token": "sample string 3",
  "Platform": "sample string 4"
}

application/xml, text/xml

示例:
<SubscribeRefreshRecordModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models.API.House">
  <Platform xmlns="http://schemas.datacontract.org/2004/07/API.Models.API">sample string 4</Platform>
  <Token xmlns="http://schemas.datacontract.org/2004/07/API.Models.API">sample string 3</Token>
  <City xmlns="http://schemas.datacontract.org/2004/07/API.Models.API">sample string 2</City>
  <Pi xmlns="http://schemas.datacontract.org/2004/07/API.Models.API">1</Pi>
  <Ps xmlns="http://schemas.datacontract.org/2004/07/API.Models.API">1</Ps>
  <EndTime>2020-04-04T08:03:44.9242289+08:00</EndTime>
  <HouId>1</HouId>
  <StartTime>2020-04-04T08:03:44.9242289+08:00</StartTime>
</SubscribeRefreshRecordModel>

application/x-www-form-urlencoded

示例:

Response 信息

输出返回说明

结果

SubscribeRefreshRecordResult
名称说明数据类型附加信息
Subscribes

预约列表

Collection of Subscribe

None.

CreateTime

预约创建时间

date

None.

LastRefTime

最后一次预约时间

date

None.

TotalCount

总记录数

integer

None.

TotalPage

总页数

integer

None.

ErrorCode

API错误码

APIErrorCode

None.

Msg

附带消息

string

None.

Response 返回数据格式

application/json, text/json

示例:
{
  "Subscribes": [
    {
      "Id": 1,
      "RefTime": "2020-04-04T08:03:44.9398543+08:00"
    },
    {
      "Id": 1,
      "RefTime": "2020-04-04T08:03:44.9398543+08:00"
    }
  ],
  "CreateTime": "2020-04-04T08:03:44.9398543+08:00",
  "LastRefTime": "2020-04-04T08:03:44.9398543+08:00",
  "TotalCount": 1,
  "TotalPage": 2,
  "ErrorCode": 0,
  "Msg": "sample string 3"
}

application/xml, text/xml

示例:
<SubscribeRefreshRecordResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models.API.House">
  <ErrorCode xmlns="http://schemas.datacontract.org/2004/07/API.Models.API">SUCCESS</ErrorCode>
  <Msg xmlns="http://schemas.datacontract.org/2004/07/API.Models.API">sample string 3</Msg>
  <TotalCount xmlns="http://schemas.datacontract.org/2004/07/API.Models.API">1</TotalCount>
  <TotalPage xmlns="http://schemas.datacontract.org/2004/07/API.Models.API">2</TotalPage>
  <CreateTime>2020-04-04T08:03:44.9398543+08:00</CreateTime>
  <LastRefTime>2020-04-04T08:03:44.9398543+08:00</LastRefTime>
  <Subscribes>
    <SubscribeRefreshRecordResult.Subscribe>
      <Id>1</Id>
      <RefTime>2020-04-04T08:03:44.9398543+08:00</RefTime>
    </SubscribeRefreshRecordResult.Subscribe>
    <SubscribeRefreshRecordResult.Subscribe>
      <Id>1</Id>
      <RefTime>2020-04-04T08:03:44.9398543+08:00</RefTime>
    </SubscribeRefreshRecordResult.Subscribe>
  </Subscribes>
</SubscribeRefreshRecordResult>