<wadl:application xmlns:wadl="http://research.sun.com/wadl/2006/10" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <wadl:doc xmlns:enunciate="http://enunciate.codehaus.org/" enunciate:generatedBy="Enunciate-1.24"/>
  <wadl:grammars>
    <wadl:include href="ns0.xsd"/>
  </wadl:grammars>
  <wadl:resources base="http://api.realtybaron.com/auction">
    <wadl:resource path="/rest/lead/buyer">
      <wadl:method name="POST">
        <wadl:doc>
          <![CDATA[Post a new buyer lead for agent bidding.  Bidding for a "lead" is based on the sales commission or flat fee paid by the consumer.
<p/>
<b>If you're sending credit card information, please use "https" as the protocol in your request when invoking the API.</b>]]>
        </wadl:doc>
        <wadl:request/>
        <wadl:response>
          <wadl:doc>
            <![CDATA[api response]]>
          </wadl:doc>
          <wadl:representation mediaType="*/*" element="response"/>
          <wadl:representation mediaType="application/xml" element="response"/>
          <wadl:representation mediaType="application/json"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>
    <wadl:resource path="/xml/lead/buyer">
      <wadl:method name="POST">
        <wadl:doc>
          <![CDATA[Post a new buyer lead for agent bidding.  Bidding for a "lead" is based on the sales commission or flat fee paid by the consumer.
<p/>
<b>If you're sending credit card information, please use "https" as the protocol in your request when invoking the API.</b>]]>
        </wadl:doc>
        <wadl:request/>
        <wadl:response>
          <wadl:doc>
            <![CDATA[api response]]>
          </wadl:doc>
          <wadl:representation mediaType="application/xml" element="response"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>
    <wadl:resource path="/json/lead/buyer">
      <wadl:method name="POST">
        <wadl:doc>
          <![CDATA[Post a new buyer lead for agent bidding.  Bidding for a "lead" is based on the sales commission or flat fee paid by the consumer.
<p/>
<b>If you're sending credit card information, please use "https" as the protocol in your request when invoking the API.</b>]]>
        </wadl:doc>
        <wadl:request/>
        <wadl:response>
          <wadl:doc>
            <![CDATA[api response]]>
          </wadl:doc>
          <wadl:representation mediaType="application/json"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>
    <wadl:resource path="/rest/lead/listing">
      <wadl:method name="POST">
        <wadl:doc>
          <![CDATA[Post a new seller lead for agent bidding.  Bidding for a "lead" is based on the sales commission or flat fee paid by the consumer.
<p/>
<b>If you're sending credit card information, please use "https" as the protocol in your request when invoking the API.</b>]]>
        </wadl:doc>
        <wadl:request/>
        <wadl:response>
          <wadl:doc>
            <![CDATA[api response]]>
          </wadl:doc>
          <wadl:representation mediaType="*/*" element="response"/>
          <wadl:representation mediaType="application/xml" element="response"/>
          <wadl:representation mediaType="application/json"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>
    <wadl:resource path="/xml/lead/listing">
      <wadl:method name="POST">
        <wadl:doc>
          <![CDATA[Post a new seller lead for agent bidding.  Bidding for a "lead" is based on the sales commission or flat fee paid by the consumer.
<p/>
<b>If you're sending credit card information, please use "https" as the protocol in your request when invoking the API.</b>]]>
        </wadl:doc>
        <wadl:request/>
        <wadl:response>
          <wadl:doc>
            <![CDATA[api response]]>
          </wadl:doc>
          <wadl:representation mediaType="application/xml" element="response"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>
    <wadl:resource path="/json/lead/listing">
      <wadl:method name="POST">
        <wadl:doc>
          <![CDATA[Post a new seller lead for agent bidding.  Bidding for a "lead" is based on the sales commission or flat fee paid by the consumer.
<p/>
<b>If you're sending credit card information, please use "https" as the protocol in your request when invoking the API.</b>]]>
        </wadl:doc>
        <wadl:request/>
        <wadl:response>
          <wadl:doc>
            <![CDATA[api response]]>
          </wadl:doc>
          <wadl:representation mediaType="application/json"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>
    <wadl:resource path="/rest/lead/purchase">
      <wadl:method name="POST">
        <wadl:doc>
          <![CDATA[Post a new buyer lead for agent bidding.  Bidding for a "lead" is based on the sales commission or flat fee paid by the consumer.
<p/>
<b>If you're sending credit card information, please use "https" as the protocol in your request when invoking the API.</b>]]>
        </wadl:doc>
        <wadl:request/>
        <wadl:response>
          <wadl:doc>
            <![CDATA[api response]]>
          </wadl:doc>
          <wadl:representation mediaType="*/*" element="response"/>
          <wadl:representation mediaType="application/xml" element="response"/>
          <wadl:representation mediaType="application/json"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>
    <wadl:resource path="/xml/lead/purchase">
      <wadl:method name="POST">
        <wadl:doc>
          <![CDATA[Post a new buyer lead for agent bidding.  Bidding for a "lead" is based on the sales commission or flat fee paid by the consumer.
<p/>
<b>If you're sending credit card information, please use "https" as the protocol in your request when invoking the API.</b>]]>
        </wadl:doc>
        <wadl:request/>
        <wadl:response>
          <wadl:doc>
            <![CDATA[api response]]>
          </wadl:doc>
          <wadl:representation mediaType="application/xml" element="response"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>
    <wadl:resource path="/json/lead/purchase">
      <wadl:method name="POST">
        <wadl:doc>
          <![CDATA[Post a new buyer lead for agent bidding.  Bidding for a "lead" is based on the sales commission or flat fee paid by the consumer.
<p/>
<b>If you're sending credit card information, please use "https" as the protocol in your request when invoking the API.</b>]]>
        </wadl:doc>
        <wadl:request/>
        <wadl:response>
          <wadl:doc>
            <![CDATA[api response]]>
          </wadl:doc>
          <wadl:representation mediaType="application/json"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>
    <wadl:resource path="/rest/referral/buyer">
      <wadl:method name="POST">
        <wadl:doc>
          <![CDATA[Post a new buyer referral for agent bidding.]]>
        </wadl:doc>
        <wadl:request/>
        <wadl:response>
          <wadl:doc>
            <![CDATA[api response]]>
          </wadl:doc>
          <wadl:representation mediaType="*/*" element="response"/>
          <wadl:representation mediaType="application/xml" element="response"/>
          <wadl:representation mediaType="application/json"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>
    <wadl:resource path="/xml/referral/buyer">
      <wadl:method name="POST">
        <wadl:doc>
          <![CDATA[Post a new buyer referral for agent bidding.]]>
        </wadl:doc>
        <wadl:request/>
        <wadl:response>
          <wadl:doc>
            <![CDATA[api response]]>
          </wadl:doc>
          <wadl:representation mediaType="application/xml" element="response"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>
    <wadl:resource path="/json/referral/buyer">
      <wadl:method name="POST">
        <wadl:doc>
          <![CDATA[Post a new buyer referral for agent bidding.]]>
        </wadl:doc>
        <wadl:request/>
        <wadl:response>
          <wadl:doc>
            <![CDATA[api response]]>
          </wadl:doc>
          <wadl:representation mediaType="application/json"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>
    <wadl:resource path="/rest/referral/listing">
      <wadl:method name="POST">
        <wadl:doc>
          <![CDATA[Post a new seller referral for agent bidding.]]>
        </wadl:doc>
        <wadl:request/>
        <wadl:response>
          <wadl:doc>
            <![CDATA[api response]]>
          </wadl:doc>
          <wadl:representation mediaType="*/*" element="response"/>
          <wadl:representation mediaType="application/xml" element="response"/>
          <wadl:representation mediaType="application/json"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>
    <wadl:resource path="/xml/referral/listing">
      <wadl:method name="POST">
        <wadl:doc>
          <![CDATA[Post a new seller referral for agent bidding.]]>
        </wadl:doc>
        <wadl:request/>
        <wadl:response>
          <wadl:doc>
            <![CDATA[api response]]>
          </wadl:doc>
          <wadl:representation mediaType="application/xml" element="response"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>
    <wadl:resource path="/json/referral/listing">
      <wadl:method name="POST">
        <wadl:doc>
          <![CDATA[Post a new seller referral for agent bidding.]]>
        </wadl:doc>
        <wadl:request/>
        <wadl:response>
          <wadl:doc>
            <![CDATA[api response]]>
          </wadl:doc>
          <wadl:representation mediaType="application/json"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>
    <wadl:resource path="/rest/auction/cancel/{id}">
      <wadl:param name="id" style="path">
        <wadl:doc>
          <![CDATA[an auction's secret identifier]]>
        </wadl:doc>
      </wadl:param>
      <wadl:method name="GET">
        <wadl:doc>
          <![CDATA[Cancel an open auction in progress.]]>
        </wadl:doc>
        <wadl:request>
          <wadl:param name="api_key" style="query">
            <wadl:doc>
              <![CDATA[API key.  This identifies your application.  Please visit <a href="http://www.realtybaron.com/publisher">realtybaron.com/publisher</a> to request an API key.]]>
            </wadl:doc>
          </wadl:param>
        </wadl:request>
        <wadl:response>
          <wadl:doc>
            <![CDATA[cancel auction]]>
          </wadl:doc>
          <wadl:representation mediaType="*/*" element="response"/>
          <wadl:representation mediaType="application/xml" element="response"/>
          <wadl:representation mediaType="application/json"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>
    <wadl:resource path="/xml/auction/cancel/{id}">
      <wadl:param name="id" style="path">
        <wadl:doc>
          <![CDATA[an auction's secret identifier]]>
        </wadl:doc>
      </wadl:param>
      <wadl:method name="GET">
        <wadl:doc>
          <![CDATA[Cancel an open auction in progress.]]>
        </wadl:doc>
        <wadl:request>
          <wadl:param name="api_key" style="query">
            <wadl:doc>
              <![CDATA[API key.  This identifies your application.  Please visit <a href="http://www.realtybaron.com/publisher">realtybaron.com/publisher</a> to request an API key.]]>
            </wadl:doc>
          </wadl:param>
        </wadl:request>
        <wadl:response>
          <wadl:doc>
            <![CDATA[cancel auction]]>
          </wadl:doc>
          <wadl:representation mediaType="application/xml" element="response"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>
    <wadl:resource path="/json/auction/cancel/{id}">
      <wadl:param name="id" style="path">
        <wadl:doc>
          <![CDATA[an auction's secret identifier]]>
        </wadl:doc>
      </wadl:param>
      <wadl:method name="GET">
        <wadl:doc>
          <![CDATA[Cancel an open auction in progress.]]>
        </wadl:doc>
        <wadl:request>
          <wadl:param name="api_key" style="query">
            <wadl:doc>
              <![CDATA[API key.  This identifies your application.  Please visit <a href="http://www.realtybaron.com/publisher">realtybaron.com/publisher</a> to request an API key.]]>
            </wadl:doc>
          </wadl:param>
        </wadl:request>
        <wadl:response>
          <wadl:doc>
            <![CDATA[cancel auction]]>
          </wadl:doc>
          <wadl:representation mediaType="application/json"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>
    <wadl:resource path="/rest/auction/open/{id}">
      <wadl:param name="id" style="path">
        <wadl:doc>
          <![CDATA[an auction's unique identifier]]>
        </wadl:doc>
      </wadl:param>
      <wadl:method name="GET">
        <wadl:doc>
          <![CDATA[Open an auction for bidding.]]>
        </wadl:doc>
        <wadl:request>
          <wadl:param name="api_key" style="query">
            <wadl:doc>
              <![CDATA[API key.  This identifies your application.  Please visit <a href="http://www.realtybaron.com/publisher">realtybaron.com/publisher</a> to request an API key.]]>
            </wadl:doc>
          </wadl:param>
        </wadl:request>
        <wadl:response>
          <wadl:doc>
            <![CDATA[activate auction]]>
          </wadl:doc>
          <wadl:representation mediaType="*/*" element="response"/>
          <wadl:representation mediaType="application/xml" element="response"/>
          <wadl:representation mediaType="application/json"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>
    <wadl:resource path="/xml/auction/open/{id}">
      <wadl:param name="id" style="path">
        <wadl:doc>
          <![CDATA[an auction's unique identifier]]>
        </wadl:doc>
      </wadl:param>
      <wadl:method name="GET">
        <wadl:doc>
          <![CDATA[Open an auction for bidding.]]>
        </wadl:doc>
        <wadl:request>
          <wadl:param name="api_key" style="query">
            <wadl:doc>
              <![CDATA[API key.  This identifies your application.  Please visit <a href="http://www.realtybaron.com/publisher">realtybaron.com/publisher</a> to request an API key.]]>
            </wadl:doc>
          </wadl:param>
        </wadl:request>
        <wadl:response>
          <wadl:doc>
            <![CDATA[activate auction]]>
          </wadl:doc>
          <wadl:representation mediaType="application/xml" element="response"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>
    <wadl:resource path="/json/auction/open/{id}">
      <wadl:param name="id" style="path">
        <wadl:doc>
          <![CDATA[an auction's unique identifier]]>
        </wadl:doc>
      </wadl:param>
      <wadl:method name="GET">
        <wadl:doc>
          <![CDATA[Open an auction for bidding.]]>
        </wadl:doc>
        <wadl:request>
          <wadl:param name="api_key" style="query">
            <wadl:doc>
              <![CDATA[API key.  This identifies your application.  Please visit <a href="http://www.realtybaron.com/publisher">realtybaron.com/publisher</a> to request an API key.]]>
            </wadl:doc>
          </wadl:param>
        </wadl:request>
        <wadl:response>
          <wadl:doc>
            <![CDATA[activate auction]]>
          </wadl:doc>
          <wadl:representation mediaType="application/json"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>
    <wadl:resource path="/rest/auction/view/{id}">
      <wadl:param name="id" style="path">
        <wadl:doc>
          <![CDATA[an auction's unique identifier]]>
        </wadl:doc>
      </wadl:param>
      <wadl:method name="GET">
        <wadl:doc>
          <![CDATA[View an open auction in progress.]]>
        </wadl:doc>
        <wadl:request>
          <wadl:param name="api_key" style="query">
            <wadl:doc>
              <![CDATA[API key.  This identifies your application.  Please visit <a href="http://www.realtybaron.com/publisher">realtybaron.com/publisher</a> to request an API key.]]>
            </wadl:doc>
          </wadl:param>
        </wadl:request>
        <wadl:response>
          <wadl:doc>
            <![CDATA[view auction]]>
          </wadl:doc>
          <wadl:representation mediaType="*/*" element="response"/>
          <wadl:representation mediaType="application/xml" element="response"/>
          <wadl:representation mediaType="application/json"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>
    <wadl:resource path="/xml/auction/view/{id}">
      <wadl:param name="id" style="path">
        <wadl:doc>
          <![CDATA[an auction's unique identifier]]>
        </wadl:doc>
      </wadl:param>
      <wadl:method name="GET">
        <wadl:doc>
          <![CDATA[View an open auction in progress.]]>
        </wadl:doc>
        <wadl:request>
          <wadl:param name="api_key" style="query">
            <wadl:doc>
              <![CDATA[API key.  This identifies your application.  Please visit <a href="http://www.realtybaron.com/publisher">realtybaron.com/publisher</a> to request an API key.]]>
            </wadl:doc>
          </wadl:param>
        </wadl:request>
        <wadl:response>
          <wadl:doc>
            <![CDATA[view auction]]>
          </wadl:doc>
          <wadl:representation mediaType="application/xml" element="response"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>
    <wadl:resource path="/json/auction/view/{id}">
      <wadl:param name="id" style="path">
        <wadl:doc>
          <![CDATA[an auction's unique identifier]]>
        </wadl:doc>
      </wadl:param>
      <wadl:method name="GET">
        <wadl:doc>
          <![CDATA[View an open auction in progress.]]>
        </wadl:doc>
        <wadl:request>
          <wadl:param name="api_key" style="query">
            <wadl:doc>
              <![CDATA[API key.  This identifies your application.  Please visit <a href="http://www.realtybaron.com/publisher">realtybaron.com/publisher</a> to request an API key.]]>
            </wadl:doc>
          </wadl:param>
        </wadl:request>
        <wadl:response>
          <wadl:doc>
            <![CDATA[view auction]]>
          </wadl:doc>
          <wadl:representation mediaType="application/json"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>
    <wadl:resource path="/rest/auctions/location/{context}">
      <wadl:param name="context" style="path">
        <wadl:doc>
          <![CDATA[A context type which determines how 'location' is interpreted --- <em>metro</em>, <em>city</em>, or <em>zipcode</em>]]>
        </wadl:doc>
      </wadl:param>
      <wadl:method name="GET">
        <wadl:doc>
          <![CDATA[Retrieve a list of open auctions based on their location.  Only auctions which you originated will be returned.]]>
        </wadl:doc>
        <wadl:request>
          <wadl:param name="location" style="query">
            <wadl:doc>
              <![CDATA[A free-text value representing the location near which you'd like to return auctions. Almost any ZIP, city, or metro specification will work, e.g "Austin, TX 78704", "78704", "Austin, TX", "Austin-San Marcos".]]>
            </wadl:doc>
          </wadl:param>
          <wadl:param name="start_index" style="query">
            <wadl:doc>
              <![CDATA[The page on which the query will start. Zero-based index. Defaults to 0.]]>
            </wadl:doc>
          </wadl:param>
          <wadl:param name="max_results" style="query">
            <wadl:doc>
              <![CDATA[The size of result set.  The number of elements returned by the query.  Defaults to 10 results.]]>
            </wadl:doc>
          </wadl:param>
          <wadl:param name="api_key" style="query">
            <wadl:doc>
              <![CDATA[This identifies your application.  Please visit <a href="http://www.realtybaron.com/publisher">realtybaron.com/publisher</a> to request an API key.]]>
            </wadl:doc>
          </wadl:param>
        </wadl:request>
        <wadl:response>
          <wadl:doc>
            <![CDATA[list of auctions]]>
          </wadl:doc>
          <wadl:representation mediaType="*/*" element="response"/>
          <wadl:representation mediaType="application/xml" element="response"/>
          <wadl:representation mediaType="application/json"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>
    <wadl:resource path="/xml/auctions/location/{context}">
      <wadl:param name="context" style="path">
        <wadl:doc>
          <![CDATA[A context type which determines how 'location' is interpreted --- <em>metro</em>, <em>city</em>, or <em>zipcode</em>]]>
        </wadl:doc>
      </wadl:param>
      <wadl:method name="GET">
        <wadl:doc>
          <![CDATA[Retrieve a list of open auctions based on their location.  Only auctions which you originated will be returned.]]>
        </wadl:doc>
        <wadl:request>
          <wadl:param name="location" style="query">
            <wadl:doc>
              <![CDATA[A free-text value representing the location near which you'd like to return auctions. Almost any ZIP, city, or metro specification will work, e.g "Austin, TX 78704", "78704", "Austin, TX", "Austin-San Marcos".]]>
            </wadl:doc>
          </wadl:param>
          <wadl:param name="start_index" style="query">
            <wadl:doc>
              <![CDATA[The page on which the query will start. Zero-based index. Defaults to 0.]]>
            </wadl:doc>
          </wadl:param>
          <wadl:param name="max_results" style="query">
            <wadl:doc>
              <![CDATA[The size of result set.  The number of elements returned by the query.  Defaults to 10 results.]]>
            </wadl:doc>
          </wadl:param>
          <wadl:param name="api_key" style="query">
            <wadl:doc>
              <![CDATA[This identifies your application.  Please visit <a href="http://www.realtybaron.com/publisher">realtybaron.com/publisher</a> to request an API key.]]>
            </wadl:doc>
          </wadl:param>
        </wadl:request>
        <wadl:response>
          <wadl:doc>
            <![CDATA[list of auctions]]>
          </wadl:doc>
          <wadl:representation mediaType="application/xml" element="response"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>
    <wadl:resource path="/json/auctions/location/{context}">
      <wadl:param name="context" style="path">
        <wadl:doc>
          <![CDATA[A context type which determines how 'location' is interpreted --- <em>metro</em>, <em>city</em>, or <em>zipcode</em>]]>
        </wadl:doc>
      </wadl:param>
      <wadl:method name="GET">
        <wadl:doc>
          <![CDATA[Retrieve a list of open auctions based on their location.  Only auctions which you originated will be returned.]]>
        </wadl:doc>
        <wadl:request>
          <wadl:param name="location" style="query">
            <wadl:doc>
              <![CDATA[A free-text value representing the location near which you'd like to return auctions. Almost any ZIP, city, or metro specification will work, e.g "Austin, TX 78704", "78704", "Austin, TX", "Austin-San Marcos".]]>
            </wadl:doc>
          </wadl:param>
          <wadl:param name="start_index" style="query">
            <wadl:doc>
              <![CDATA[The page on which the query will start. Zero-based index. Defaults to 0.]]>
            </wadl:doc>
          </wadl:param>
          <wadl:param name="max_results" style="query">
            <wadl:doc>
              <![CDATA[The size of result set.  The number of elements returned by the query.  Defaults to 10 results.]]>
            </wadl:doc>
          </wadl:param>
          <wadl:param name="api_key" style="query">
            <wadl:doc>
              <![CDATA[This identifies your application.  Please visit <a href="http://www.realtybaron.com/publisher">realtybaron.com/publisher</a> to request an API key.]]>
            </wadl:doc>
          </wadl:param>
        </wadl:request>
        <wadl:response>
          <wadl:doc>
            <![CDATA[list of auctions]]>
          </wadl:doc>
          <wadl:representation mediaType="application/json"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>
    <wadl:resource path="/rest/auctions/state/{state}">
      <wadl:param name="state" style="path">
        <wadl:doc>
          <![CDATA[type of state -- <em>open</em>, <em>closed</em>, <em>closing</em>, <em>pending</em>, <em>settled</em>, <em>settling</em>]]>
        </wadl:doc>
      </wadl:param>
      <wadl:method name="GET">
        <wadl:doc>
          <![CDATA[Retrieve a list of auctions based on their current state.  Only auctions which you originated will be returned.]]>
        </wadl:doc>
        <wadl:request>
          <wadl:param name="start_index" style="query">
            <wadl:doc>
              <![CDATA[The page on which the query will start. Zero-based index. Defaults to 0.]]>
            </wadl:doc>
          </wadl:param>
          <wadl:param name="max_results" style="query">
            <wadl:doc>
              <![CDATA[The size of result set.  The number of elements returned by the query.  Defaults to 10 results.]]>
            </wadl:doc>
          </wadl:param>
          <wadl:param name="api_key" style="query">
            <wadl:doc>
              <![CDATA[This identifies your application.  Please visit <a href="http://www.realtybaron.com/publisher">realtybaron.com/publisher</a> to request an API key.]]>
            </wadl:doc>
          </wadl:param>
        </wadl:request>
        <wadl:response>
          <wadl:doc>
            <![CDATA[list of auctions]]>
          </wadl:doc>
          <wadl:representation mediaType="*/*" element="response"/>
          <wadl:representation mediaType="application/xml" element="response"/>
          <wadl:representation mediaType="application/json"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>
    <wadl:resource path="/xml/auctions/state/{state}">
      <wadl:param name="state" style="path">
        <wadl:doc>
          <![CDATA[type of state -- <em>open</em>, <em>closed</em>, <em>closing</em>, <em>pending</em>, <em>settled</em>, <em>settling</em>]]>
        </wadl:doc>
      </wadl:param>
      <wadl:method name="GET">
        <wadl:doc>
          <![CDATA[Retrieve a list of auctions based on their current state.  Only auctions which you originated will be returned.]]>
        </wadl:doc>
        <wadl:request>
          <wadl:param name="start_index" style="query">
            <wadl:doc>
              <![CDATA[The page on which the query will start. Zero-based index. Defaults to 0.]]>
            </wadl:doc>
          </wadl:param>
          <wadl:param name="max_results" style="query">
            <wadl:doc>
              <![CDATA[The size of result set.  The number of elements returned by the query.  Defaults to 10 results.]]>
            </wadl:doc>
          </wadl:param>
          <wadl:param name="api_key" style="query">
            <wadl:doc>
              <![CDATA[This identifies your application.  Please visit <a href="http://www.realtybaron.com/publisher">realtybaron.com/publisher</a> to request an API key.]]>
            </wadl:doc>
          </wadl:param>
        </wadl:request>
        <wadl:response>
          <wadl:doc>
            <![CDATA[list of auctions]]>
          </wadl:doc>
          <wadl:representation mediaType="application/xml" element="response"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>
    <wadl:resource path="/json/auctions/state/{state}">
      <wadl:param name="state" style="path">
        <wadl:doc>
          <![CDATA[type of state -- <em>open</em>, <em>closed</em>, <em>closing</em>, <em>pending</em>, <em>settled</em>, <em>settling</em>]]>
        </wadl:doc>
      </wadl:param>
      <wadl:method name="GET">
        <wadl:doc>
          <![CDATA[Retrieve a list of auctions based on their current state.  Only auctions which you originated will be returned.]]>
        </wadl:doc>
        <wadl:request>
          <wadl:param name="start_index" style="query">
            <wadl:doc>
              <![CDATA[The page on which the query will start. Zero-based index. Defaults to 0.]]>
            </wadl:doc>
          </wadl:param>
          <wadl:param name="max_results" style="query">
            <wadl:doc>
              <![CDATA[The size of result set.  The number of elements returned by the query.  Defaults to 10 results.]]>
            </wadl:doc>
          </wadl:param>
          <wadl:param name="api_key" style="query">
            <wadl:doc>
              <![CDATA[This identifies your application.  Please visit <a href="http://www.realtybaron.com/publisher">realtybaron.com/publisher</a> to request an API key.]]>
            </wadl:doc>
          </wadl:param>
        </wadl:request>
        <wadl:response>
          <wadl:doc>
            <![CDATA[list of auctions]]>
          </wadl:doc>
          <wadl:representation mediaType="application/json"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>
    <wadl:resource path="/rest/bid/delete/{id}">
      <wadl:param name="id" style="path">
        <wadl:doc>
          <![CDATA[The deleted bid's unique ID]]>
        </wadl:doc>
      </wadl:param>
      <wadl:method name="GET">
        <wadl:request>
          <wadl:param name="api_key" style="query">
            <wadl:doc>
              <![CDATA[This identifies your application.  Please visit <a href="http://www.realtybaron.com/publisher">realtybaron.com/publisher</a> to request an API key.]]>
            </wadl:doc>
          </wadl:param>
        </wadl:request>
        <wadl:response>
          <wadl:doc>
            <![CDATA[view of bid]]>
          </wadl:doc>
          <wadl:representation mediaType="*/*" element="response"/>
          <wadl:representation mediaType="application/xml" element="response"/>
          <wadl:representation mediaType="application/json"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>
    <wadl:resource path="/xml/bid/delete/{id}">
      <wadl:param name="id" style="path">
        <wadl:doc>
          <![CDATA[The deleted bid's unique ID]]>
        </wadl:doc>
      </wadl:param>
      <wadl:method name="GET">
        <wadl:request>
          <wadl:param name="api_key" style="query">
            <wadl:doc>
              <![CDATA[This identifies your application.  Please visit <a href="http://www.realtybaron.com/publisher">realtybaron.com/publisher</a> to request an API key.]]>
            </wadl:doc>
          </wadl:param>
        </wadl:request>
        <wadl:response>
          <wadl:doc>
            <![CDATA[view of bid]]>
          </wadl:doc>
          <wadl:representation mediaType="application/xml" element="response"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>
    <wadl:resource path="/json/bid/delete/{id}">
      <wadl:param name="id" style="path">
        <wadl:doc>
          <![CDATA[The deleted bid's unique ID]]>
        </wadl:doc>
      </wadl:param>
      <wadl:method name="GET">
        <wadl:request>
          <wadl:param name="api_key" style="query">
            <wadl:doc>
              <![CDATA[This identifies your application.  Please visit <a href="http://www.realtybaron.com/publisher">realtybaron.com/publisher</a> to request an API key.]]>
            </wadl:doc>
          </wadl:param>
        </wadl:request>
        <wadl:response>
          <wadl:doc>
            <![CDATA[view of bid]]>
          </wadl:doc>
          <wadl:representation mediaType="application/json"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>
    <wadl:resource path="/rest/bid/list/{id}">
      <wadl:param name="id" style="path">
        <wadl:doc>
          <![CDATA[The auction's unique ID]]>
        </wadl:doc>
      </wadl:param>
      <wadl:method name="GET">
        <wadl:request>
          <wadl:param name="look_back" style="query">
            <wadl:doc>
              <![CDATA[The number of years to "look back" for sale transactions and client reviews]]>
            </wadl:doc>
          </wadl:param>
          <wadl:param name="head_size" style="query">
            <wadl:doc>
              <![CDATA[The size of the head shot -- <em>thumbnail, xsmall, small, medium, large, xlarge, xxlarge</em>]]>
            </wadl:doc>
          </wadl:param>
          <wadl:param name="chart_size" style="query">
            <wadl:doc>
              <![CDATA[The size of the chart images -- <em>thumbnail, xsmall, small, medium, large, xlarge, xxlarge</em>]]>
            </wadl:doc>
          </wadl:param>
          <wadl:param name="api_key" style="query">
            <wadl:doc>
              <![CDATA[This identifies your application.  Please visit <a href="http://www.realtybaron.com/publisher">realtybaron.com/publisher</a> to request an API key.]]>
            </wadl:doc>
          </wadl:param>
        </wadl:request>
        <wadl:response>
          <wadl:doc>
            <![CDATA[list of bids]]>
          </wadl:doc>
          <wadl:representation mediaType="*/*" element="response"/>
          <wadl:representation mediaType="application/xml" element="response"/>
          <wadl:representation mediaType="application/json"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>
    <wadl:resource path="/xml/bid/list/{id}">
      <wadl:param name="id" style="path">
        <wadl:doc>
          <![CDATA[The auction's unique ID]]>
        </wadl:doc>
      </wadl:param>
      <wadl:method name="GET">
        <wadl:request>
          <wadl:param name="look_back" style="query">
            <wadl:doc>
              <![CDATA[The number of years to "look back" for sale transactions and client reviews]]>
            </wadl:doc>
          </wadl:param>
          <wadl:param name="head_size" style="query">
            <wadl:doc>
              <![CDATA[The size of the head shot -- <em>thumbnail, xsmall, small, medium, large, xlarge, xxlarge</em>]]>
            </wadl:doc>
          </wadl:param>
          <wadl:param name="chart_size" style="query">
            <wadl:doc>
              <![CDATA[The size of the chart images -- <em>thumbnail, xsmall, small, medium, large, xlarge, xxlarge</em>]]>
            </wadl:doc>
          </wadl:param>
          <wadl:param name="api_key" style="query">
            <wadl:doc>
              <![CDATA[This identifies your application.  Please visit <a href="http://www.realtybaron.com/publisher">realtybaron.com/publisher</a> to request an API key.]]>
            </wadl:doc>
          </wadl:param>
        </wadl:request>
        <wadl:response>
          <wadl:doc>
            <![CDATA[list of bids]]>
          </wadl:doc>
          <wadl:representation mediaType="application/xml" element="response"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>
    <wadl:resource path="/json/bid/list/{id}">
      <wadl:param name="id" style="path">
        <wadl:doc>
          <![CDATA[The auction's unique ID]]>
        </wadl:doc>
      </wadl:param>
      <wadl:method name="GET">
        <wadl:request>
          <wadl:param name="look_back" style="query">
            <wadl:doc>
              <![CDATA[The number of years to "look back" for sale transactions and client reviews]]>
            </wadl:doc>
          </wadl:param>
          <wadl:param name="head_size" style="query">
            <wadl:doc>
              <![CDATA[The size of the head shot -- <em>thumbnail, xsmall, small, medium, large, xlarge, xxlarge</em>]]>
            </wadl:doc>
          </wadl:param>
          <wadl:param name="chart_size" style="query">
            <wadl:doc>
              <![CDATA[The size of the chart images -- <em>thumbnail, xsmall, small, medium, large, xlarge, xxlarge</em>]]>
            </wadl:doc>
          </wadl:param>
          <wadl:param name="api_key" style="query">
            <wadl:doc>
              <![CDATA[This identifies your application.  Please visit <a href="http://www.realtybaron.com/publisher">realtybaron.com/publisher</a> to request an API key.]]>
            </wadl:doc>
          </wadl:param>
        </wadl:request>
        <wadl:response>
          <wadl:doc>
            <![CDATA[list of bids]]>
          </wadl:doc>
          <wadl:representation mediaType="application/json"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>
    <wadl:resource path="/rest/bid/select/{id}">
      <wadl:param name="id" style="path">
        <wadl:doc>
          <![CDATA[The selected bid's unique ID]]>
        </wadl:doc>
      </wadl:param>
      <wadl:method name="GET">
        <wadl:request>
          <wadl:param name="api_key" style="query">
            <wadl:doc>
              <![CDATA[This identifies your application.  Please visit <a href="http://www.realtybaron.com/publisher">realtybaron.com/publisher</a> to request an API key.]]>
            </wadl:doc>
          </wadl:param>
        </wadl:request>
        <wadl:response>
          <wadl:doc>
            <![CDATA[view of bid]]>
          </wadl:doc>
          <wadl:representation mediaType="*/*" element="response"/>
          <wadl:representation mediaType="application/xml" element="response"/>
          <wadl:representation mediaType="application/json"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>
    <wadl:resource path="/xml/bid/select/{id}">
      <wadl:param name="id" style="path">
        <wadl:doc>
          <![CDATA[The selected bid's unique ID]]>
        </wadl:doc>
      </wadl:param>
      <wadl:method name="GET">
        <wadl:request>
          <wadl:param name="api_key" style="query">
            <wadl:doc>
              <![CDATA[This identifies your application.  Please visit <a href="http://www.realtybaron.com/publisher">realtybaron.com/publisher</a> to request an API key.]]>
            </wadl:doc>
          </wadl:param>
        </wadl:request>
        <wadl:response>
          <wadl:doc>
            <![CDATA[view of bid]]>
          </wadl:doc>
          <wadl:representation mediaType="application/xml" element="response"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>
    <wadl:resource path="/json/bid/select/{id}">
      <wadl:param name="id" style="path">
        <wadl:doc>
          <![CDATA[The selected bid's unique ID]]>
        </wadl:doc>
      </wadl:param>
      <wadl:method name="GET">
        <wadl:request>
          <wadl:param name="api_key" style="query">
            <wadl:doc>
              <![CDATA[This identifies your application.  Please visit <a href="http://www.realtybaron.com/publisher">realtybaron.com/publisher</a> to request an API key.]]>
            </wadl:doc>
          </wadl:param>
        </wadl:request>
        <wadl:response>
          <wadl:doc>
            <![CDATA[view of bid]]>
          </wadl:doc>
          <wadl:representation mediaType="application/json"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>
    <wadl:resource path="/rest/bid/view/{id}">
      <wadl:param name="id" style="path">
        <wadl:doc>
          <![CDATA[The bid's unique identifier]]>
        </wadl:doc>
      </wadl:param>
      <wadl:method name="GET">
        <wadl:request>
          <wadl:param name="look_back" style="query">
            <wadl:doc>
              <![CDATA[The number of years to "look back" for sale transactions and client reviews]]>
            </wadl:doc>
          </wadl:param>
          <wadl:param name="head_size" style="query">
            <wadl:doc>
              <![CDATA[The size of the head shot -- <em>thumbnail, xsmall, small, medium, large, xlarge, xxlarge</em>]]>
            </wadl:doc>
          </wadl:param>
          <wadl:param name="chart_size" style="query">
            <wadl:doc>
              <![CDATA[The size of the chart images -- <em>thumbnail, xsmall, small, medium, large, xlarge, xxlarge</em>]]>
            </wadl:doc>
          </wadl:param>
          <wadl:param name="api_key" style="query">
            <wadl:doc>
              <![CDATA[API key.  This identifies your application.  Please visit <a href="http://www.realtybaron.com/publisher">realtybaron.com/publisher</a> to request an API key.]]>
            </wadl:doc>
          </wadl:param>
        </wadl:request>
        <wadl:response>
          <wadl:doc>
            <![CDATA[view of bid]]>
          </wadl:doc>
          <wadl:representation mediaType="*/*" element="response"/>
          <wadl:representation mediaType="application/xml" element="response"/>
          <wadl:representation mediaType="application/json"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>
    <wadl:resource path="/xml/bid/view/{id}">
      <wadl:param name="id" style="path">
        <wadl:doc>
          <![CDATA[The bid's unique identifier]]>
        </wadl:doc>
      </wadl:param>
      <wadl:method name="GET">
        <wadl:request>
          <wadl:param name="look_back" style="query">
            <wadl:doc>
              <![CDATA[The number of years to "look back" for sale transactions and client reviews]]>
            </wadl:doc>
          </wadl:param>
          <wadl:param name="head_size" style="query">
            <wadl:doc>
              <![CDATA[The size of the head shot -- <em>thumbnail, xsmall, small, medium, large, xlarge, xxlarge</em>]]>
            </wadl:doc>
          </wadl:param>
          <wadl:param name="chart_size" style="query">
            <wadl:doc>
              <![CDATA[The size of the chart images -- <em>thumbnail, xsmall, small, medium, large, xlarge, xxlarge</em>]]>
            </wadl:doc>
          </wadl:param>
          <wadl:param name="api_key" style="query">
            <wadl:doc>
              <![CDATA[API key.  This identifies your application.  Please visit <a href="http://www.realtybaron.com/publisher">realtybaron.com/publisher</a> to request an API key.]]>
            </wadl:doc>
          </wadl:param>
        </wadl:request>
        <wadl:response>
          <wadl:doc>
            <![CDATA[view of bid]]>
          </wadl:doc>
          <wadl:representation mediaType="application/xml" element="response"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>
    <wadl:resource path="/json/bid/view/{id}">
      <wadl:param name="id" style="path">
        <wadl:doc>
          <![CDATA[The bid's unique identifier]]>
        </wadl:doc>
      </wadl:param>
      <wadl:method name="GET">
        <wadl:request>
          <wadl:param name="look_back" style="query">
            <wadl:doc>
              <![CDATA[The number of years to "look back" for sale transactions and client reviews]]>
            </wadl:doc>
          </wadl:param>
          <wadl:param name="head_size" style="query">
            <wadl:doc>
              <![CDATA[The size of the head shot -- <em>thumbnail, xsmall, small, medium, large, xlarge, xxlarge</em>]]>
            </wadl:doc>
          </wadl:param>
          <wadl:param name="chart_size" style="query">
            <wadl:doc>
              <![CDATA[The size of the chart images -- <em>thumbnail, xsmall, small, medium, large, xlarge, xxlarge</em>]]>
            </wadl:doc>
          </wadl:param>
          <wadl:param name="api_key" style="query">
            <wadl:doc>
              <![CDATA[API key.  This identifies your application.  Please visit <a href="http://www.realtybaron.com/publisher">realtybaron.com/publisher</a> to request an API key.]]>
            </wadl:doc>
          </wadl:param>
        </wadl:request>
        <wadl:response>
          <wadl:doc>
            <![CDATA[view of bid]]>
          </wadl:doc>
          <wadl:representation mediaType="application/json"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>
    <wadl:resource path="/rest/inquiry/answer/{id}">
      <wadl:param name="id" style="path">
        <wadl:doc>
          <![CDATA[an inquiry's unique identifier]]>
        </wadl:doc>
      </wadl:param>
      <wadl:method name="POST">
        <wadl:doc>
          <![CDATA[Respond to an inquiry]]>
        </wadl:doc>
        <wadl:request/>
        <wadl:response>
          <wadl:doc>
            <![CDATA[view inquiry]]>
          </wadl:doc>
          <wadl:representation mediaType="*/*" element="response"/>
          <wadl:representation mediaType="application/xml" element="response"/>
          <wadl:representation mediaType="application/json"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>
    <wadl:resource path="/xml/inquiry/answer/{id}">
      <wadl:param name="id" style="path">
        <wadl:doc>
          <![CDATA[an inquiry's unique identifier]]>
        </wadl:doc>
      </wadl:param>
      <wadl:method name="POST">
        <wadl:doc>
          <![CDATA[Respond to an inquiry]]>
        </wadl:doc>
        <wadl:request/>
        <wadl:response>
          <wadl:doc>
            <![CDATA[view inquiry]]>
          </wadl:doc>
          <wadl:representation mediaType="application/xml" element="response"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>
    <wadl:resource path="/json/inquiry/answer/{id}">
      <wadl:param name="id" style="path">
        <wadl:doc>
          <![CDATA[an inquiry's unique identifier]]>
        </wadl:doc>
      </wadl:param>
      <wadl:method name="POST">
        <wadl:doc>
          <![CDATA[Respond to an inquiry]]>
        </wadl:doc>
        <wadl:request/>
        <wadl:response>
          <wadl:doc>
            <![CDATA[view inquiry]]>
          </wadl:doc>
          <wadl:representation mediaType="application/json"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>
    <wadl:resource path="/rest/inquiry/view/{id}">
      <wadl:param name="id" style="path">
        <wadl:doc>
          <![CDATA[an inquiry's unique identifier]]>
        </wadl:doc>
      </wadl:param>
      <wadl:method name="GET">
        <wadl:doc>
          <![CDATA[Retrieve an inquiry]]>
        </wadl:doc>
        <wadl:request>
          <wadl:param name="api_key" style="query">
            <wadl:doc>
              <![CDATA[This identifies your application.  Please visit <a href="http://www.realtybaron.com/publisher">realtybaron.com/publisher</a> to request an API key.]]>
            </wadl:doc>
          </wadl:param>
        </wadl:request>
        <wadl:response>
          <wadl:doc>
            <![CDATA[view inquiry]]>
          </wadl:doc>
          <wadl:representation mediaType="*/*" element="response"/>
          <wadl:representation mediaType="application/xml" element="response"/>
          <wadl:representation mediaType="application/json"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>
    <wadl:resource path="/xml/inquiry/view/{id}">
      <wadl:param name="id" style="path">
        <wadl:doc>
          <![CDATA[an inquiry's unique identifier]]>
        </wadl:doc>
      </wadl:param>
      <wadl:method name="GET">
        <wadl:doc>
          <![CDATA[Retrieve an inquiry]]>
        </wadl:doc>
        <wadl:request>
          <wadl:param name="api_key" style="query">
            <wadl:doc>
              <![CDATA[This identifies your application.  Please visit <a href="http://www.realtybaron.com/publisher">realtybaron.com/publisher</a> to request an API key.]]>
            </wadl:doc>
          </wadl:param>
        </wadl:request>
        <wadl:response>
          <wadl:doc>
            <![CDATA[view inquiry]]>
          </wadl:doc>
          <wadl:representation mediaType="application/xml" element="response"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>
    <wadl:resource path="/json/inquiry/view/{id}">
      <wadl:param name="id" style="path">
        <wadl:doc>
          <![CDATA[an inquiry's unique identifier]]>
        </wadl:doc>
      </wadl:param>
      <wadl:method name="GET">
        <wadl:doc>
          <![CDATA[Retrieve an inquiry]]>
        </wadl:doc>
        <wadl:request>
          <wadl:param name="api_key" style="query">
            <wadl:doc>
              <![CDATA[This identifies your application.  Please visit <a href="http://www.realtybaron.com/publisher">realtybaron.com/publisher</a> to request an API key.]]>
            </wadl:doc>
          </wadl:param>
        </wadl:request>
        <wadl:response>
          <wadl:doc>
            <![CDATA[view inquiry]]>
          </wadl:doc>
          <wadl:representation mediaType="application/json"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>
    <wadl:resource path="/rest/leads/state/{state}">
      <wadl:param name="state" style="path">
        <wadl:doc>
          <![CDATA[type of state -- <em>pending</em>, <em>open</em>, <em>bogus</em>, <em>uninterested</em>, <em>unresponsive</em>, <em>closed</em>]]>
        </wadl:doc>
      </wadl:param>
      <wadl:method name="GET">
        <wadl:doc>
          <![CDATA[Retrieve a list of leads based on their current state.  Only leads which you originated will be returned.]]>
        </wadl:doc>
        <wadl:request>
          <wadl:param name="start_index" style="query">
            <wadl:doc>
              <![CDATA[The page on which the query will start. Zero-based index. Defaults to 0.]]>
            </wadl:doc>
          </wadl:param>
          <wadl:param name="max_results" style="query">
            <wadl:doc>
              <![CDATA[The size of result set.  The number of elements returned by the query.  Defaults to 10 results.]]>
            </wadl:doc>
          </wadl:param>
          <wadl:param name="api_key" style="query">
            <wadl:doc>
              <![CDATA[This identifies your application.  Please visit <a href="http://www.realtybaron.com/publisher">realtybaron.com/publisher</a> to request an API key.]]>
            </wadl:doc>
          </wadl:param>
        </wadl:request>
        <wadl:response>
          <wadl:doc>
            <![CDATA[api response]]>
          </wadl:doc>
          <wadl:representation mediaType="*/*" element="response"/>
          <wadl:representation mediaType="application/xml" element="response"/>
          <wadl:representation mediaType="application/json"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>
    <wadl:resource path="/xml/leads/state/{state}">
      <wadl:param name="state" style="path">
        <wadl:doc>
          <![CDATA[type of state -- <em>pending</em>, <em>open</em>, <em>bogus</em>, <em>uninterested</em>, <em>unresponsive</em>, <em>closed</em>]]>
        </wadl:doc>
      </wadl:param>
      <wadl:method name="GET">
        <wadl:doc>
          <![CDATA[Retrieve a list of leads based on their current state.  Only leads which you originated will be returned.]]>
        </wadl:doc>
        <wadl:request>
          <wadl:param name="start_index" style="query">
            <wadl:doc>
              <![CDATA[The page on which the query will start. Zero-based index. Defaults to 0.]]>
            </wadl:doc>
          </wadl:param>
          <wadl:param name="max_results" style="query">
            <wadl:doc>
              <![CDATA[The size of result set.  The number of elements returned by the query.  Defaults to 10 results.]]>
            </wadl:doc>
          </wadl:param>
          <wadl:param name="api_key" style="query">
            <wadl:doc>
              <![CDATA[This identifies your application.  Please visit <a href="http://www.realtybaron.com/publisher">realtybaron.com/publisher</a> to request an API key.]]>
            </wadl:doc>
          </wadl:param>
        </wadl:request>
        <wadl:response>
          <wadl:doc>
            <![CDATA[api response]]>
          </wadl:doc>
          <wadl:representation mediaType="application/xml" element="response"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>
    <wadl:resource path="/json/leads/state/{state}">
      <wadl:param name="state" style="path">
        <wadl:doc>
          <![CDATA[type of state -- <em>pending</em>, <em>open</em>, <em>bogus</em>, <em>uninterested</em>, <em>unresponsive</em>, <em>closed</em>]]>
        </wadl:doc>
      </wadl:param>
      <wadl:method name="GET">
        <wadl:doc>
          <![CDATA[Retrieve a list of leads based on their current state.  Only leads which you originated will be returned.]]>
        </wadl:doc>
        <wadl:request>
          <wadl:param name="start_index" style="query">
            <wadl:doc>
              <![CDATA[The page on which the query will start. Zero-based index. Defaults to 0.]]>
            </wadl:doc>
          </wadl:param>
          <wadl:param name="max_results" style="query">
            <wadl:doc>
              <![CDATA[The size of result set.  The number of elements returned by the query.  Defaults to 10 results.]]>
            </wadl:doc>
          </wadl:param>
          <wadl:param name="api_key" style="query">
            <wadl:doc>
              <![CDATA[This identifies your application.  Please visit <a href="http://www.realtybaron.com/publisher">realtybaron.com/publisher</a> to request an API key.]]>
            </wadl:doc>
          </wadl:param>
        </wadl:request>
        <wadl:response>
          <wadl:doc>
            <![CDATA[api response]]>
          </wadl:doc>
          <wadl:representation mediaType="application/json"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>
    <wadl:resource path="/rest/leads/type/{type}">
      <wadl:param name="type" style="path">
        <wadl:doc>
          <![CDATA[type of lead -- <em>auction</em> or <em>contact</em>.]]>
        </wadl:doc>
      </wadl:param>
      <wadl:method name="GET">
        <wadl:doc>
          <![CDATA[Retrieve a list of leads based on their lead type.  Only leads which you originated will be returned.]]>
        </wadl:doc>
        <wadl:request>
          <wadl:param name="start_index" style="query">
            <wadl:doc>
              <![CDATA[The page on which the query will start. Zero-based index. Defaults to 0.]]>
            </wadl:doc>
          </wadl:param>
          <wadl:param name="max_results" style="query">
            <wadl:doc>
              <![CDATA[The size of result set.  The number of elements returned by the query.  Defaults to 10 results.]]>
            </wadl:doc>
          </wadl:param>
          <wadl:param name="api_key" style="query">
            <wadl:doc>
              <![CDATA[This identifies your application.  Please visit <a href="http://www.realtybaron.com/publisher">realtybaron.com/publisher</a> to request an API key.]]>
            </wadl:doc>
          </wadl:param>
        </wadl:request>
        <wadl:response>
          <wadl:doc>
            <![CDATA[api response]]>
          </wadl:doc>
          <wadl:representation mediaType="*/*" element="response"/>
          <wadl:representation mediaType="application/xml" element="response"/>
          <wadl:representation mediaType="application/json"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>
    <wadl:resource path="/xml/leads/type/{type}">
      <wadl:param name="type" style="path">
        <wadl:doc>
          <![CDATA[type of lead -- <em>auction</em> or <em>contact</em>.]]>
        </wadl:doc>
      </wadl:param>
      <wadl:method name="GET">
        <wadl:doc>
          <![CDATA[Retrieve a list of leads based on their lead type.  Only leads which you originated will be returned.]]>
        </wadl:doc>
        <wadl:request>
          <wadl:param name="start_index" style="query">
            <wadl:doc>
              <![CDATA[The page on which the query will start. Zero-based index. Defaults to 0.]]>
            </wadl:doc>
          </wadl:param>
          <wadl:param name="max_results" style="query">
            <wadl:doc>
              <![CDATA[The size of result set.  The number of elements returned by the query.  Defaults to 10 results.]]>
            </wadl:doc>
          </wadl:param>
          <wadl:param name="api_key" style="query">
            <wadl:doc>
              <![CDATA[This identifies your application.  Please visit <a href="http://www.realtybaron.com/publisher">realtybaron.com/publisher</a> to request an API key.]]>
            </wadl:doc>
          </wadl:param>
        </wadl:request>
        <wadl:response>
          <wadl:doc>
            <![CDATA[api response]]>
          </wadl:doc>
          <wadl:representation mediaType="application/xml" element="response"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>
    <wadl:resource path="/json/leads/type/{type}">
      <wadl:param name="type" style="path">
        <wadl:doc>
          <![CDATA[type of lead -- <em>auction</em> or <em>contact</em>.]]>
        </wadl:doc>
      </wadl:param>
      <wadl:method name="GET">
        <wadl:doc>
          <![CDATA[Retrieve a list of leads based on their lead type.  Only leads which you originated will be returned.]]>
        </wadl:doc>
        <wadl:request>
          <wadl:param name="start_index" style="query">
            <wadl:doc>
              <![CDATA[The page on which the query will start. Zero-based index. Defaults to 0.]]>
            </wadl:doc>
          </wadl:param>
          <wadl:param name="max_results" style="query">
            <wadl:doc>
              <![CDATA[The size of result set.  The number of elements returned by the query.  Defaults to 10 results.]]>
            </wadl:doc>
          </wadl:param>
          <wadl:param name="api_key" style="query">
            <wadl:doc>
              <![CDATA[This identifies your application.  Please visit <a href="http://www.realtybaron.com/publisher">realtybaron.com/publisher</a> to request an API key.]]>
            </wadl:doc>
          </wadl:param>
        </wadl:request>
        <wadl:response>
          <wadl:doc>
            <![CDATA[api response]]>
          </wadl:doc>
          <wadl:representation mediaType="application/json"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>
    <wadl:resource path="/rest/review/answer/{id}">
      <wadl:param name="id" style="path">
        <wadl:doc>
          <![CDATA[A review's secret identifier]]>
        </wadl:doc>
      </wadl:param>
      <wadl:method name="POST">
        <wadl:doc>
          <![CDATA[Respond to a review with comments]]>
        </wadl:doc>
        <wadl:request/>
        <wadl:response>
          <wadl:doc>
            <![CDATA[answer review]]>
          </wadl:doc>
          <wadl:representation mediaType="*/*" element="response"/>
          <wadl:representation mediaType="application/xml" element="response"/>
          <wadl:representation mediaType="application/json"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>
    <wadl:resource path="/xml/review/answer/{id}">
      <wadl:param name="id" style="path">
        <wadl:doc>
          <![CDATA[A review's secret identifier]]>
        </wadl:doc>
      </wadl:param>
      <wadl:method name="POST">
        <wadl:doc>
          <![CDATA[Respond to a review with comments]]>
        </wadl:doc>
        <wadl:request/>
        <wadl:response>
          <wadl:doc>
            <![CDATA[answer review]]>
          </wadl:doc>
          <wadl:representation mediaType="application/xml" element="response"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>
    <wadl:resource path="/json/review/answer/{id}">
      <wadl:param name="id" style="path">
        <wadl:doc>
          <![CDATA[A review's secret identifier]]>
        </wadl:doc>
      </wadl:param>
      <wadl:method name="POST">
        <wadl:doc>
          <![CDATA[Respond to a review with comments]]>
        </wadl:doc>
        <wadl:request/>
        <wadl:response>
          <wadl:doc>
            <![CDATA[answer review]]>
          </wadl:doc>
          <wadl:representation mediaType="application/json"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>
    <wadl:resource path="/rest/review/edit/{id}">
      <wadl:param name="id" style="path">
        <wadl:doc>
          <![CDATA[an review's secret identifier]]>
        </wadl:doc>
      </wadl:param>
      <wadl:method name="GET">
        <wadl:doc>
          <![CDATA[Retrieve a review for editing]]>
        </wadl:doc>
        <wadl:request>
          <wadl:param name="api_key" style="query">
            <wadl:doc>
              <![CDATA[This identifies your application.  Please visit <a href="http://www.realtybaron.com/publisher">realtybaron.com/publisher</a> to request an API key.]]>
            </wadl:doc>
          </wadl:param>
        </wadl:request>
        <wadl:response>
          <wadl:doc>
            <![CDATA[get inquiry]]>
          </wadl:doc>
          <wadl:representation mediaType="*/*" element="response"/>
          <wadl:representation mediaType="application/xml" element="response"/>
          <wadl:representation mediaType="application/json"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>
    <wadl:resource path="/xml/review/edit/{id}">
      <wadl:param name="id" style="path">
        <wadl:doc>
          <![CDATA[an review's secret identifier]]>
        </wadl:doc>
      </wadl:param>
      <wadl:method name="GET">
        <wadl:doc>
          <![CDATA[Retrieve a review for editing]]>
        </wadl:doc>
        <wadl:request>
          <wadl:param name="api_key" style="query">
            <wadl:doc>
              <![CDATA[This identifies your application.  Please visit <a href="http://www.realtybaron.com/publisher">realtybaron.com/publisher</a> to request an API key.]]>
            </wadl:doc>
          </wadl:param>
        </wadl:request>
        <wadl:response>
          <wadl:doc>
            <![CDATA[get inquiry]]>
          </wadl:doc>
          <wadl:representation mediaType="application/xml" element="response"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>
    <wadl:resource path="/json/review/edit/{id}">
      <wadl:param name="id" style="path">
        <wadl:doc>
          <![CDATA[an review's secret identifier]]>
        </wadl:doc>
      </wadl:param>
      <wadl:method name="GET">
        <wadl:doc>
          <![CDATA[Retrieve a review for editing]]>
        </wadl:doc>
        <wadl:request>
          <wadl:param name="api_key" style="query">
            <wadl:doc>
              <![CDATA[This identifies your application.  Please visit <a href="http://www.realtybaron.com/publisher">realtybaron.com/publisher</a> to request an API key.]]>
            </wadl:doc>
          </wadl:param>
        </wadl:request>
        <wadl:response>
          <wadl:doc>
            <![CDATA[get inquiry]]>
          </wadl:doc>
          <wadl:representation mediaType="application/json"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>
    <wadl:resource path="/rest/user/add/{role}">
      <wadl:param name="role" style="path">
        <wadl:doc>
          <![CDATA[The primary role of new user -- <em>AGENT</em> or <em>PARTNER</em>. Currently, any real estate professional is considered an <em>AGENT</em>.  <em>PARTNER</em> is reserved for non-licensed web publishers.]]>
        </wadl:doc>
      </wadl:param>
      <wadl:method name="POST">
        <wadl:doc>
          <![CDATA[Add a new user account]]>
        </wadl:doc>
        <wadl:request/>
        <wadl:response>
          <wadl:doc>
            <![CDATA[new user]]>
          </wadl:doc>
          <wadl:representation mediaType="*/*" element="response"/>
          <wadl:representation mediaType="application/xml" element="response"/>
          <wadl:representation mediaType="application/json"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>
    <wadl:resource path="/xml/user/add/{role}">
      <wadl:param name="role" style="path">
        <wadl:doc>
          <![CDATA[The primary role of new user -- <em>AGENT</em> or <em>PARTNER</em>. Currently, any real estate professional is considered an <em>AGENT</em>.  <em>PARTNER</em> is reserved for non-licensed web publishers.]]>
        </wadl:doc>
      </wadl:param>
      <wadl:method name="POST">
        <wadl:doc>
          <![CDATA[Add a new user account]]>
        </wadl:doc>
        <wadl:request/>
        <wadl:response>
          <wadl:doc>
            <![CDATA[new user]]>
          </wadl:doc>
          <wadl:representation mediaType="application/xml" element="response"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>
    <wadl:resource path="/json/user/add/{role}">
      <wadl:param name="role" style="path">
        <wadl:doc>
          <![CDATA[The primary role of new user -- <em>AGENT</em> or <em>PARTNER</em>. Currently, any real estate professional is considered an <em>AGENT</em>.  <em>PARTNER</em> is reserved for non-licensed web publishers.]]>
        </wadl:doc>
      </wadl:param>
      <wadl:method name="POST">
        <wadl:doc>
          <![CDATA[Add a new user account]]>
        </wadl:doc>
        <wadl:request/>
        <wadl:response>
          <wadl:doc>
            <![CDATA[new user]]>
          </wadl:doc>
          <wadl:representation mediaType="application/json"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>
    <wadl:resource path="/rest/user/get/credentials">
      <wadl:method name="GET">
        <wadl:doc>
          <![CDATA[Request a user's credentials be emailed]]>
        </wadl:doc>
        <wadl:request>
          <wadl:param name="email" style="query">
            <wadl:doc>
              <![CDATA[user's email address]]>
            </wadl:doc>
          </wadl:param>
          <wadl:param name="api_key" style="query">
            <wadl:doc>
              <![CDATA[API key.  This identifies your application.  Please email <a href="mailto:help@realtybaron.com">help@realtybaron.com</a> to request an API key.]]>
            </wadl:doc>
          </wadl:param>
        </wadl:request>
        <wadl:response>
          <wadl:doc>
            <![CDATA[api response]]>
          </wadl:doc>
          <wadl:representation mediaType="*/*" element="response"/>
          <wadl:representation mediaType="application/xml" element="response"/>
          <wadl:representation mediaType="application/json"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>
    <wadl:resource path="/xml/user/get/credentials">
      <wadl:method name="GET">
        <wadl:doc>
          <![CDATA[Request a user's credentials be emailed]]>
        </wadl:doc>
        <wadl:request>
          <wadl:param name="email" style="query">
            <wadl:doc>
              <![CDATA[user's email address]]>
            </wadl:doc>
          </wadl:param>
          <wadl:param name="api_key" style="query">
            <wadl:doc>
              <![CDATA[API key.  This identifies your application.  Please email <a href="mailto:help@realtybaron.com">help@realtybaron.com</a> to request an API key.]]>
            </wadl:doc>
          </wadl:param>
        </wadl:request>
        <wadl:response>
          <wadl:doc>
            <![CDATA[api response]]>
          </wadl:doc>
          <wadl:representation mediaType="application/xml" element="response"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>
    <wadl:resource path="/json/user/get/credentials">
      <wadl:method name="GET">
        <wadl:doc>
          <![CDATA[Request a user's credentials be emailed]]>
        </wadl:doc>
        <wadl:request>
          <wadl:param name="email" style="query">
            <wadl:doc>
              <![CDATA[user's email address]]>
            </wadl:doc>
          </wadl:param>
          <wadl:param name="api_key" style="query">
            <wadl:doc>
              <![CDATA[API key.  This identifies your application.  Please email <a href="mailto:help@realtybaron.com">help@realtybaron.com</a> to request an API key.]]>
            </wadl:doc>
          </wadl:param>
        </wadl:request>
        <wadl:response>
          <wadl:doc>
            <![CDATA[api response]]>
          </wadl:doc>
          <wadl:representation mediaType="application/json"/>
        </wadl:response>
      </wadl:method>
    </wadl:resource>
  </wadl:resources>
</wadl:application>

