Skip to main content

Member

The Member Resource includes information on the roster of agents, brokers, appraisers, assistants, affiliates., etc. who are members of the MLS and/or association of REALTORS®.

See the Member Resource in the RESO Data Dictionary.

Examples

note

Remember to URL Encode query string values prior to sending HTTP requests. To aid with readability, the URLs in this document are displayed without URL encoding and wrapped over multiple lines.

Retrieve a Member by MemberKey

This query will retrieve the Member with a MemberKey equal to 123456:

https://query.ampre.ca/odata/Member('123456')

Retrieve All Members

This first query will retrieve 1,000 Members ordered by MemberKey:

https://query.ampre.ca/odata/Member?$top=1000&$orderby=MemberKey

Subsequent queries should retrieve 1,000 Members ordered by MemberKey with MemberKey greater than the last MemberKey received in the previous batch:

https://query.ampre.ca/odata/Member?$top=1000&$orderby=MemberKey
&$filter=MemberKey gt '123456'

Continue querying like this until the number of results is fewer than 1,000.

Member Photos

Member photos (headshots) are stored in the Media resource. The Member record will contain a PhotosChangeTimestamp field indicating the last time the photo(s) for the member was changed. This query will retrieve the photos for a Member with a MemberKey equal to 123456:

https://query.ampre.ca/odata/Media
?$filter=ResourceRecordKey eq '123456'
and ResourceName eq 'Member'
&$orderby=ModificationTimestamp,MediaKey