GET api/ShareProperty?buyerID={buyerID}&agentID={agentID}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
buyerID

integer

Required

agentID

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of SharedListingViewModel
NameDescriptionTypeAdditional information
AgentId

integer

None.

SharedName

string

None.

SharedEmail

string

None.

SharedMessage

string

None.

Date

date

None.

Listing

BasicListingModel

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "AgentId": 1,
    "SharedName": "sample string 2",
    "SharedEmail": "sample string 3",
    "SharedMessage": "sample string 4",
    "Date": "2021-08-04T23:40:32.9815102+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-04T23:40:32.9815102+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,
    "SharedName": "sample string 2",
    "SharedEmail": "sample string 3",
    "SharedMessage": "sample string 4",
    "Date": "2021-08-04T23:40:32.9815102+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-04T23:40:32.9815102+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,"SharedName":"sample string 2","SharedEmail":"sample string 3","SharedMessage":"sample string 4","Date":"2021-08-04T23:40:32.9815102+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-04T23:40:32.9815102+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,"SharedName":"sample string 2","SharedEmail":"sample string 3","SharedMessage":"sample string 4","Date":"2021-08-04T23:40:32.9815102+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-04T23:40:32.9815102+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:
<ArrayOfSharedListingViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NPlay.Common.Models.Services">
  <SharedListingViewModel>
    <AgentId>1</AgentId>
    <Date>2021-08-04T23:40:32.9815102+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-04T23:40:32.9815102+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>
    <SharedEmail>sample string 3</SharedEmail>
    <SharedMessage>sample string 4</SharedMessage>
    <SharedName>sample string 2</SharedName>
  </SharedListingViewModel>
  <SharedListingViewModel>
    <AgentId>1</AgentId>
    <Date>2021-08-04T23:40:32.9815102+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-04T23:40:32.9815102+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>
    <SharedEmail>sample string 3</SharedEmail>
    <SharedMessage>sample string 4</SharedMessage>
    <SharedName>sample string 2</SharedName>
  </SharedListingViewModel>
</ArrayOfSharedListingViewModel>