PUT api/realdata/updatefeed

Request Information

URI Parameters

None.

Body Parameters

DataFeed
NameDescriptionTypeAdditional information
ID

integer

None.

MLSID

string

None.

ProtocolId

integer

None.

ProtocolType

DataFeedProtocol

None.

Resource

string

None.

Class

string

None.

Query

string

None.

LastSyncPoint

string

None.

Description

string

None.

ClassName

string

None.

Ignore

boolean

None.

RemoveQuery

string

None.

RemoveInterval

integer

None.

RemoveIntervalType

IntervalType

None.

RemoveState

DataFeedState

None.

LastRemoveRun

date

None.

MaxQueryBatchSize

integer

None.

PauseRemoveRun

boolean

None.

ShowRemoveAlert

boolean

None.

ForceRemoveRun

boolean

None.

TotalListingCount

integer

None.

ActiveListingCount

integer

None.

MappingStatus

MappingStatus

None.

ScheduleStatus

DataFeedScheduleStatus

None.

State

DataFeedState

None.

StateMessage

string

None.

Status

DataFeedStatus

None.

Interval

integer

None.

IntervalType

IntervalType

None.

LastStart

date

None.

LastEnd

date

None.

IsCurrentLongRun

boolean

None.

NextRun

string

None.

DisplayMember

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "MLSID": "sample string 2",
  "ProtocolId": 3,
  "ProtocolType": 3,
  "Resource": "sample string 4",
  "Class": "sample string 5",
  "Query": "sample string 6",
  "LastSyncPoint": "sample string 7",
  "Description": "sample string 8",
  "ClassName": "sample string 9",
  "Ignore": true,
  "RemoveQuery": "sample string 11",
  "RemoveInterval": 1,
  "RemoveIntervalType": 1,
  "RemoveState": 1,
  "LastRemoveRun": "2021-08-04T22:49:42.7995766+00:00",
  "MaxQueryBatchSize": 1,
  "PauseRemoveRun": true,
  "ShowRemoveAlert": true,
  "ForceRemoveRun": true,
  "TotalListingCount": 1,
  "ActiveListingCount": 1,
  "MappingStatus": 1,
  "ScheduleStatus": 1,
  "State": 1,
  "StateMessage": "sample string 12",
  "Status": 1,
  "Interval": 13,
  "IntervalType": 1,
  "LastStart": "2021-08-04T22:49:42.7995766+00:00",
  "LastEnd": "2021-08-04T22:49:42.7995766+00:00",
  "IsCurrentLongRun": true,
  "NextRun": "sample string 15",
  "DisplayMember": "sample string 4:sample string 5"
}

text/html

Sample:
{"ID":1,"MLSID":"sample string 2","ProtocolId":3,"ProtocolType":3,"Resource":"sample string 4","Class":"sample string 5","Query":"sample string 6","LastSyncPoint":"sample string 7","Description":"sample string 8","ClassName":"sample string 9","Ignore":true,"RemoveQuery":"sample string 11","RemoveInterval":1,"RemoveIntervalType":1,"RemoveState":1,"LastRemoveRun":"2021-08-04T22:49:42.7995766+00:00","MaxQueryBatchSize":1,"PauseRemoveRun":true,"ShowRemoveAlert":true,"ForceRemoveRun":true,"TotalListingCount":1,"ActiveListingCount":1,"MappingStatus":1,"ScheduleStatus":1,"State":1,"StateMessage":"sample string 12","Status":1,"Interval":13,"IntervalType":1,"LastStart":"2021-08-04T22:49:42.7995766+00:00","LastEnd":"2021-08-04T22:49:42.7995766+00:00","IsCurrentLongRun":true,"NextRun":"sample string 15","DisplayMember":"sample string 4:sample string 5"}

application/xml, text/xml

Sample:
<DataFeed xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MLS.Synchronization.Models">
  <ActiveListingCount>1</ActiveListingCount>
  <Class>sample string 5</Class>
  <ClassName>sample string 9</ClassName>
  <Description>sample string 8</Description>
  <ForceRemoveRun>true</ForceRemoveRun>
  <ID>1</ID>
  <Ignore>true</Ignore>
  <Interval>13</Interval>
  <IntervalType>Minutes</IntervalType>
  <IsCurrentLongRun>true</IsCurrentLongRun>
  <LastEnd>2021-08-04T22:49:42.7995766+00:00</LastEnd>
  <LastRemoveRun>2021-08-04T22:49:42.7995766+00:00</LastRemoveRun>
  <LastStart>2021-08-04T22:49:42.7995766+00:00</LastStart>
  <LastSyncPoint>sample string 7</LastSyncPoint>
  <MLSID>sample string 2</MLSID>
  <MappingStatus>NotStarted</MappingStatus>
  <MaxQueryBatchSize>1</MaxQueryBatchSize>
  <NextRun>sample string 15</NextRun>
  <PauseRemoveRun>true</PauseRemoveRun>
  <ProtocolId>3</ProtocolId>
  <Query>sample string 6</Query>
  <RemoveInterval>1</RemoveInterval>
  <RemoveIntervalType>Minutes</RemoveIntervalType>
  <RemoveQuery>sample string 11</RemoveQuery>
  <RemoveState>Idle</RemoveState>
  <Resource>sample string 4</Resource>
  <ScheduleStatus>UnScheduled</ScheduleStatus>
  <ShowRemoveAlert>true</ShowRemoveAlert>
  <State>Idle</State>
  <StateMessage>sample string 12</StateMessage>
  <Status>Active</Status>
  <TotalListingCount>1</TotalListingCount>
</DataFeed>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/html, application/xml, text/xml

Sample:

Sample not available.