Skip to content

Commit

Permalink
Add docs for salesOffice query parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
CodyReichert committed Jul 28, 2022
1 parent fdd8c30 commit 7b3612f
Showing 1 changed file with 23 additions and 8 deletions.
31 changes: 23 additions & 8 deletions api/simplyrets-openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -476,8 +476,9 @@ paths:
- "$ref": "#/components/parameters/subtype"
- "$ref": "#/components/parameters/subTypeText"
- "$ref": "#/components/parameters/agent"
- "$ref": "#/components/parameters/salesAgent"
- "$ref": "#/components/parameters/brokers"
- "$ref": "#/components/parameters/salesAgent"
- "$ref": "#/components/parameters/salesOffice"
- "$ref": "#/components/parameters/specialListingConditions"
- "$ref": "#/components/parameters/ownership"
- "$ref": "#/components/parameters/minprice"
Expand Down Expand Up @@ -1267,6 +1268,21 @@ components:
type: array
items:
type: string
brokers:
required: false
in: query
name: brokers
description: |
Filter the listings returned by brokerage with a Broker
ID. For some MLS areas, this is the ListOfficeId (Listing
Office ID). You can specific multiple broker
parameters. Note, this query parameter is only available
if a Broker ID is provided by your RETS vendor or MLS.
explode: true
schema:
type: array
items:
type: string
salesAgent:
required: false
in: query
Expand All @@ -1284,16 +1300,15 @@ components:
type: array
items:
type: string
brokers:
salesOffice:
required: false
in: query
name: brokers
name: salesOffice
description: |
Filter the listings returned by brokerage with a Broker
ID. For some MLS areas, this is the ListOfficeId (Listing
Office ID). You can specific multiple broker
parameters. Note, this query parameter is only available
if a Broker ID is provided by your RETS vendor or MLS.
Filter the listings returned by the `sales.office.brokerid`
field. This parameter can be specified multiple times.
Note, Office MLS IDs are provided by your MLS or data vendor.
explode: true
schema:
type: array
Expand Down

0 comments on commit 7b3612f

Please sign in to comment.