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 Feb 3, 2022
1 parent 0e1249c commit e508696
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 @@ -474,8 +474,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 @@ -1264,6 +1265,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 @@ -1281,16 +1297,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 e508696

Please sign in to comment.