RETS Support Article

RETS Support Article

RETS Metadata Tutorial

Submitted by:

Rapattoni RETS Support

Updated:

05/17/07

Version:

RETS 1.5

Issue:

An Introductory Tutorial on How to Retrieve RETS Metadata

Below are examples of Query Strings that you might use to pull metadata from Rapattoni's RETS servers. (Make sure to replace <Association> with the association you are working with and <MLS> with the MLS' mnemonic you are working with. Click here for a list of Rapattoni's RETS servers.)

1. To find out what ResourceID metadata is available:

http://rets15.raprets.com:6103/<Assocation>/<MLS>/getmetadata.aspx?Type=METADATA-RESOURCE&Format=COMPACT&ID=0

2. To find out what ClassName metadata is available:

http://rets15.raprets.com:6103/<Assocation>/<MLS>/getmetadata.aspx?Type=METADATA-CLASS&Format=COMPACT&ID=0

3. To narrow the ClassName metadata down based on a ResourceID:

http://rets15.raprets.com:6103/<Assocation>/<MLS>/getmetadata.aspx?Type=METADATA-CLASS&Format=COMPACT&ID=Property

4. To find out what Table metadata is associated with all ResourceIDs and all ClassNames:

http://rets15.raprets.com:6103/<Assocation>/<MLS>/getmetadata.aspx?Type=METADATA-TABLE&Format=COMPACT&ID=Property

5. To narrow the Table metadata down based on a specific ResourceID and a specific ClassName:

http://rets15.raprets.com:6103/<Assocation>/<MLS>/getmetadata.aspx?Type=METADATA-TABLE&Format=COMPACT&ID=Property:RESI

The aforementioned examples provide a brief overview for structuring a GetMetadata query. For more information on the GetMetadata transaction please reference section 12 of the RETS 1.5 specification. For more information on metadata format please reference section 11 of the RETS 1.5 specification.

RETS Links
© 2008 Rapattoni Corporation. All rights reserved.