GET api/ListingByTag?buyerID={buyerID}&tag={tag}&page={page}&agentID={agentID}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
buyerID

integer

Required

tag

string

None.

page

integer

Default value is 1

agentID

integer

None.

Body Parameters

None.

Response Information

Resource Description

Collection of TaggedListingViewModel
NameDescriptionTypeAdditional information
AgentId

integer

None.

Tags

Collection of string

None.

Date

date

None.

Listing

BasicListingModel

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "AgentId": 1,
    "Tags": [
      "sample string 1",
      "sample string 2"
    ],
    "Date": "2021-08-01T04:44:18.2533491+00:00",
    "Listing": {
      "AlternativeOfficeAgent": {
        "Name": "sample string 1",
        "Id": "sample string 2",
        "OfficeId": "sample string 3",
        "OfficeName": "sample string 4",
        "OfficePhone": "sample string 5",
        "Phone": "sample string 6",
        "License": "sample string 7",
        "ProfileImageUrl": "sample string 8",
        "MembershipId": 1
      },
      "CityName": "sample string 1",
      "CoAgent": {
        "Name": "sample string 1",
        "Id": "sample string 2",
        "OfficeId": "sample string 3",
        "OfficeName": "sample string 4",
        "OfficePhone": "sample string 5",
        "Phone": "sample string 6",
        "License": "sample string 7",
        "ProfileImageUrl": "sample string 8",
        "MembershipId": 1
      },
      "DaysOnMarket": 1,
      "DefaultImage": "sample string 2",
      "FullStreetAddress": "sample string 3",
      "Id": "sample string 4",
      "ImageCount": 1,
      "ImageLocation": "sample string 5",
      "LandTenure": "sample string 6",
      "ListedOn": "2021-08-01T04:44:18.2533491+00:00",
      "ListingAgent": {
        "Name": "sample string 1",
        "Id": "sample string 2",
        "OfficeId": "sample string 3",
        "OfficeName": "sample string 4",
        "OfficePhone": "sample string 5",
        "Phone": "sample string 6",
        "License": "sample string 7",
        "ProfileImageUrl": "sample string 8",
        "MembershipId": 1
      },
      "ListOnInternet": true,
      "ListPrice": 1.1,
      "LivingSquareFeet": 1,
      "Location": {
        "Lat": 1.1,
        "Lon": 2.1
      },
      "MlsIds": [
        "sample string 1",
        "sample string 2"
      ],
      "OriginatingMls": "sample string 8",
      "PropertyListingId": "sample string 9",
      "RangeHighPrice": 1.1,
      "RangeHighSquareFeet": 1,
      "RangeLowSquareFeet": 1,
      "RangePriceFlag": "sample string 10",
      "REALData": true,
      "SaleType": 1,
      "TotalBaths": 1.1,
      "TotalBedrooms": 1,
      "State": "sample string 11",
      "Status": "sample string 12",
      "StreetAddress": "sample string 13",
      "YearBuilt": 1,
      "ZipCode": "sample string 14",
      "ListingImageLocation": 0
    }
  },
  {
    "AgentId": 1,
    "Tags": [
      "sample string 1",
      "sample string 2"
    ],
    "Date": "2021-08-01T04:44:18.2533491+00:00",
    "Listing": {
      "AlternativeOfficeAgent": {
        "Name": "sample string 1",
        "Id": "sample string 2",
        "OfficeId": "sample string 3",
        "OfficeName": "sample string 4",
        "OfficePhone": "sample string 5",
        "Phone": "sample string 6",
        "License": "sample string 7",
        "ProfileImageUrl": "sample string 8",
        "MembershipId": 1
      },
      "CityName": "sample string 1",
      "CoAgent": {
        "Name": "sample string 1",
        "Id": "sample string 2",
        "OfficeId": "sample string 3",
        "OfficeName": "sample string 4",
        "OfficePhone": "sample string 5",
        "Phone": "sample string 6",
        "License": "sample string 7",
        "ProfileImageUrl": "sample string 8",
        "MembershipId": 1
      },
      "DaysOnMarket": 1,
      "DefaultImage": "sample string 2",
      "FullStreetAddress": "sample string 3",
      "Id": "sample string 4",
      "ImageCount": 1,
      "ImageLocation": "sample string 5",
      "LandTenure": "sample string 6",
      "ListedOn": "2021-08-01T04:44:18.2533491+00:00",
      "ListingAgent": {
        "Name": "sample string 1",
        "Id": "sample string 2",
        "OfficeId": "sample string 3",
        "OfficeName": "sample string 4",
        "OfficePhone": "sample string 5",
        "Phone": "sample string 6",
        "License": "sample string 7",
        "ProfileImageUrl": "sample string 8",
        "MembershipId": 1
      },
      "ListOnInternet": true,
      "ListPrice": 1.1,
      "LivingSquareFeet": 1,
      "Location": {
        "Lat": 1.1,
        "Lon": 2.1
      },
      "MlsIds": [
        "sample string 1",
        "sample string 2"
      ],
      "OriginatingMls": "sample string 8",
      "PropertyListingId": "sample string 9",
      "RangeHighPrice": 1.1,
      "RangeHighSquareFeet": 1,
      "RangeLowSquareFeet": 1,
      "RangePriceFlag": "sample string 10",
      "REALData": true,
      "SaleType": 1,
      "TotalBaths": 1.1,
      "TotalBedrooms": 1,
      "State": "sample string 11",
      "Status": "sample string 12",
      "StreetAddress": "sample string 13",
      "YearBuilt": 1,
      "ZipCode": "sample string 14",
      "ListingImageLocation": 0
    }
  }
]

text/html

Sample:
[{"AgentId":1,"Tags":["sample string 1","sample string 2"],"Date":"2021-08-01T04:44:18.2533491+00:00","Listing":{"AlternativeOfficeAgent":{"Name":"sample string 1","Id":"sample string 2","OfficeId":"sample string 3","OfficeName":"sample string 4","OfficePhone":"sample string 5","Phone":"sample string 6","License":"sample string 7","ProfileImageUrl":"sample string 8","MembershipId":1},"CityName":"sample string 1","CoAgent":{"Name":"sample string 1","Id":"sample string 2","OfficeId":"sample string 3","OfficeName":"sample string 4","OfficePhone":"sample string 5","Phone":"sample string 6","License":"sample string 7","ProfileImageUrl":"sample string 8","MembershipId":1},"DaysOnMarket":1,"DefaultImage":"sample string 2","FullStreetAddress":"sample string 3","Id":"sample string 4","ImageCount":1,"ImageLocation":"sample string 5","LandTenure":"sample string 6","ListedOn":"2021-08-01T04:44:18.2533491+00:00","ListingAgent":{"Name":"sample string 1","Id":"sample string 2","OfficeId":"sample string 3","OfficeName":"sample string 4","OfficePhone":"sample string 5","Phone":"sample string 6","License":"sample string 7","ProfileImageUrl":"sample string 8","MembershipId":1},"ListOnInternet":true,"ListPrice":1.1,"LivingSquareFeet":1,"Location":{"Lat":1.1,"Lon":2.1},"MlsIds":["sample string 1","sample string 2"],"OriginatingMls":"sample string 8","PropertyListingId":"sample string 9","RangeHighPrice":1.1,"RangeHighSquareFeet":1,"RangeLowSquareFeet":1,"RangePriceFlag":"sample string 10","REALData":true,"SaleType":1,"TotalBaths":1.1,"TotalBedrooms":1,"State":"sample string 11","Status":"sample string 12","StreetAddress":"sample string 13","YearBuilt":1,"ZipCode":"sample string 14","ListingImageLocation":0}},{"AgentId":1,"Tags":["sample string 1","sample string 2"],"Date":"2021-08-01T04:44:18.2533491+00:00","Listing":{"AlternativeOfficeAgent":{"Name":"sample string 1","Id":"sample string 2","OfficeId":"sample string 3","OfficeName":"sample string 4","OfficePhone":"sample string 5","Phone":"sample string 6","License":"sample string 7","ProfileImageUrl":"sample string 8","MembershipId":1},"CityName":"sample string 1","CoAgent":{"Name":"sample string 1","Id":"sample string 2","OfficeId":"sample string 3","OfficeName":"sample string 4","OfficePhone":"sample string 5","Phone":"sample string 6","License":"sample string 7","ProfileImageUrl":"sample string 8","MembershipId":1},"DaysOnMarket":1,"DefaultImage":"sample string 2","FullStreetAddress":"sample string 3","Id":"sample string 4","ImageCount":1,"ImageLocation":"sample string 5","LandTenure":"sample string 6","ListedOn":"2021-08-01T04:44:18.2533491+00:00","ListingAgent":{"Name":"sample string 1","Id":"sample string 2","OfficeId":"sample string 3","OfficeName":"sample string 4","OfficePhone":"sample string 5","Phone":"sample string 6","License":"sample string 7","ProfileImageUrl":"sample string 8","MembershipId":1},"ListOnInternet":true,"ListPrice":1.1,"LivingSquareFeet":1,"Location":{"Lat":1.1,"Lon":2.1},"MlsIds":["sample string 1","sample string 2"],"OriginatingMls":"sample string 8","PropertyListingId":"sample string 9","RangeHighPrice":1.1,"RangeHighSquareFeet":1,"RangeLowSquareFeet":1,"RangePriceFlag":"sample string 10","REALData":true,"SaleType":1,"TotalBaths":1.1,"TotalBedrooms":1,"State":"sample string 11","Status":"sample string 12","StreetAddress":"sample string 13","YearBuilt":1,"ZipCode":"sample string 14","ListingImageLocation":0}}]

application/xml, text/xml

Sample:
<ArrayOfTaggedListingViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NPlay.Common.Models.Services">
  <TaggedListingViewModel>
    <AgentId>1</AgentId>
    <Date>2021-08-01T04:44:18.2533491+00:00</Date>
    <Listing>
      <AlternativeOfficeAgent xmlns:d4p1="http://schemas.datacontract.org/2004/07/NPlay.Common.Models">
        <DataProviderListingPrefix xmlns="http://schemas.datacontract.org/2004/07/NPlay.Common.Models.Abstract.MlsData">sample string 9</DataProviderListingPrefix>
        <d4p1:Id>sample string 2</d4p1:Id>
        <d4p1:License>sample string 7</d4p1:License>
        <d4p1:MembershipId>1</d4p1:MembershipId>
        <d4p1:Name>sample string 1</d4p1:Name>
        <d4p1:OfficeId>sample string 3</d4p1:OfficeId>
        <d4p1:OfficeName>sample string 4</d4p1:OfficeName>
        <d4p1:OfficePhone>sample string 5</d4p1:OfficePhone>
        <d4p1:Phone>sample string 6</d4p1:Phone>
        <d4p1:ProfileImageUrl>sample string 8</d4p1:ProfileImageUrl>
      </AlternativeOfficeAgent>
      <CityName>sample string 1</CityName>
      <CoAgent xmlns:d4p1="http://schemas.datacontract.org/2004/07/NPlay.Common.Models">
        <DataProviderListingPrefix xmlns="http://schemas.datacontract.org/2004/07/NPlay.Common.Models.Abstract.MlsData">sample string 9</DataProviderListingPrefix>
        <d4p1:Id>sample string 2</d4p1:Id>
        <d4p1:License>sample string 7</d4p1:License>
        <d4p1:MembershipId>1</d4p1:MembershipId>
        <d4p1:Name>sample string 1</d4p1:Name>
        <d4p1:OfficeId>sample string 3</d4p1:OfficeId>
        <d4p1:OfficeName>sample string 4</d4p1:OfficeName>
        <d4p1:OfficePhone>sample string 5</d4p1:OfficePhone>
        <d4p1:Phone>sample string 6</d4p1:Phone>
        <d4p1:ProfileImageUrl>sample string 8</d4p1:ProfileImageUrl>
      </CoAgent>
      <DaysOnMarket>1</DaysOnMarket>
      <DefaultImage>sample string 2</DefaultImage>
      <FullStreetAddress>sample string 3</FullStreetAddress>
      <GarageSpaces>1</GarageSpaces>
      <Id>sample string 4</Id>
      <ImageCount>1</ImageCount>
      <ImageLocation>sample string 5</ImageLocation>
      <LandTenure>sample string 6</LandTenure>
      <ListOnInternet>true</ListOnInternet>
      <ListPrice>1.1</ListPrice>
      <ListedOn>2021-08-01T04:44:18.2533491+00:00</ListedOn>
      <ListingAgent xmlns:d4p1="http://schemas.datacontract.org/2004/07/NPlay.Common.Models">
        <DataProviderListingPrefix xmlns="http://schemas.datacontract.org/2004/07/NPlay.Common.Models.Abstract.MlsData">sample string 9</DataProviderListingPrefix>
        <d4p1:Id>sample string 2</d4p1:Id>
        <d4p1:License>sample string 7</d4p1:License>
        <d4p1:MembershipId>1</d4p1:MembershipId>
        <d4p1:Name>sample string 1</d4p1:Name>
        <d4p1:OfficeId>sample string 3</d4p1:OfficeId>
        <d4p1:OfficeName>sample string 4</d4p1:OfficeName>
        <d4p1:OfficePhone>sample string 5</d4p1:OfficePhone>
        <d4p1:Phone>sample string 6</d4p1:Phone>
        <d4p1:ProfileImageUrl>sample string 8</d4p1:ProfileImageUrl>
      </ListingAgent>
      <LivingSquareFeet>1</LivingSquareFeet>
      <Location xmlns:d4p1="http://schemas.datacontract.org/2004/07/NPlay.Common.Models">
        <d4p1:Lat>1.1</d4p1:Lat>
        <d4p1:Lon>2.1</d4p1:Lon>
      </Location>
      <MlsIds xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </MlsIds>
      <OriginatingMls>sample string 8</OriginatingMls>
      <PropertyListingId>sample string 9</PropertyListingId>
      <PropertyType>All</PropertyType>
      <REALData>true</REALData>
      <RangeHighPrice>1.1</RangeHighPrice>
      <RangeHighSquareFeet>1</RangeHighSquareFeet>
      <RangeLowSquareFeet>1</RangeLowSquareFeet>
      <RangePriceFlag>sample string 10</RangePriceFlag>
      <SaleType>Sale</SaleType>
      <State>sample string 11</State>
      <Status>sample string 12</Status>
      <StreetAddress>sample string 13</StreetAddress>
      <TotalBaths>1.1</TotalBaths>
      <TotalBedrooms>1</TotalBedrooms>
      <YearBuilt>1</YearBuilt>
      <ZipCode>sample string 14</ZipCode>
    </Listing>
    <Tags xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </Tags>
  </TaggedListingViewModel>
  <TaggedListingViewModel>
    <AgentId>1</AgentId>
    <Date>2021-08-01T04:44:18.2533491+00:00</Date>
    <Listing>
      <AlternativeOfficeAgent xmlns:d4p1="http://schemas.datacontract.org/2004/07/NPlay.Common.Models">
        <DataProviderListingPrefix xmlns="http://schemas.datacontract.org/2004/07/NPlay.Common.Models.Abstract.MlsData">sample string 9</DataProviderListingPrefix>
        <d4p1:Id>sample string 2</d4p1:Id>
        <d4p1:License>sample string 7</d4p1:License>
        <d4p1:MembershipId>1</d4p1:MembershipId>
        <d4p1:Name>sample string 1</d4p1:Name>
        <d4p1:OfficeId>sample string 3</d4p1:OfficeId>
        <d4p1:OfficeName>sample string 4</d4p1:OfficeName>
        <d4p1:OfficePhone>sample string 5</d4p1:OfficePhone>
        <d4p1:Phone>sample string 6</d4p1:Phone>
        <d4p1:ProfileImageUrl>sample string 8</d4p1:ProfileImageUrl>
      </AlternativeOfficeAgent>
      <CityName>sample string 1</CityName>
      <CoAgent xmlns:d4p1="http://schemas.datacontract.org/2004/07/NPlay.Common.Models">
        <DataProviderListingPrefix xmlns="http://schemas.datacontract.org/2004/07/NPlay.Common.Models.Abstract.MlsData">sample string 9</DataProviderListingPrefix>
        <d4p1:Id>sample string 2</d4p1:Id>
        <d4p1:License>sample string 7</d4p1:License>
        <d4p1:MembershipId>1</d4p1:MembershipId>
        <d4p1:Name>sample string 1</d4p1:Name>
        <d4p1:OfficeId>sample string 3</d4p1:OfficeId>
        <d4p1:OfficeName>sample string 4</d4p1:OfficeName>
        <d4p1:OfficePhone>sample string 5</d4p1:OfficePhone>
        <d4p1:Phone>sample string 6</d4p1:Phone>
        <d4p1:ProfileImageUrl>sample string 8</d4p1:ProfileImageUrl>
      </CoAgent>
      <DaysOnMarket>1</DaysOnMarket>
      <DefaultImage>sample string 2</DefaultImage>
      <FullStreetAddress>sample string 3</FullStreetAddress>
      <GarageSpaces>1</GarageSpaces>
      <Id>sample string 4</Id>
      <ImageCount>1</ImageCount>
      <ImageLocation>sample string 5</ImageLocation>
      <LandTenure>sample string 6</LandTenure>
      <ListOnInternet>true</ListOnInternet>
      <ListPrice>1.1</ListPrice>
      <ListedOn>2021-08-01T04:44:18.2533491+00:00</ListedOn>
      <ListingAgent xmlns:d4p1="http://schemas.datacontract.org/2004/07/NPlay.Common.Models">
        <DataProviderListingPrefix xmlns="http://schemas.datacontract.org/2004/07/NPlay.Common.Models.Abstract.MlsData">sample string 9</DataProviderListingPrefix>
        <d4p1:Id>sample string 2</d4p1:Id>
        <d4p1:License>sample string 7</d4p1:License>
        <d4p1:MembershipId>1</d4p1:MembershipId>
        <d4p1:Name>sample string 1</d4p1:Name>
        <d4p1:OfficeId>sample string 3</d4p1:OfficeId>
        <d4p1:OfficeName>sample string 4</d4p1:OfficeName>
        <d4p1:OfficePhone>sample string 5</d4p1:OfficePhone>
        <d4p1:Phone>sample string 6</d4p1:Phone>
        <d4p1:ProfileImageUrl>sample string 8</d4p1:ProfileImageUrl>
      </ListingAgent>
      <LivingSquareFeet>1</LivingSquareFeet>
      <Location xmlns:d4p1="http://schemas.datacontract.org/2004/07/NPlay.Common.Models">
        <d4p1:Lat>1.1</d4p1:Lat>
        <d4p1:Lon>2.1</d4p1:Lon>
      </Location>
      <MlsIds xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </MlsIds>
      <OriginatingMls>sample string 8</OriginatingMls>
      <PropertyListingId>sample string 9</PropertyListingId>
      <PropertyType>All</PropertyType>
      <REALData>true</REALData>
      <RangeHighPrice>1.1</RangeHighPrice>
      <RangeHighSquareFeet>1</RangeHighSquareFeet>
      <RangeLowSquareFeet>1</RangeLowSquareFeet>
      <RangePriceFlag>sample string 10</RangePriceFlag>
      <SaleType>Sale</SaleType>
      <State>sample string 11</State>
      <Status>sample string 12</Status>
      <StreetAddress>sample string 13</StreetAddress>
      <TotalBaths>1.1</TotalBaths>
      <TotalBedrooms>1</TotalBedrooms>
      <YearBuilt>1</YearBuilt>
      <ZipCode>sample string 14</ZipCode>
    </Listing>
    <Tags xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </Tags>
  </TaggedListingViewModel>
</ArrayOfTaggedListingViewModel>