Listings
Update listing
Update listing-level fields (MLS/source/dates/price/property type metadata). listingDate, expirationDate, and listingPrice are required. If source is required for the subscriber, sourceId is required. When sourceId maps to Other Source, otherSource is required.
Validation & Requirements
Required Parameters
- listingGuid (path, string, format=guid)
- form (body, object)
Required JSON Body Fields
- sourceId (format=int32)
- expirationDate (format=date-time, minLength=1)
- listingPrice (format=decimal)
Validations
- Invalid GUID values in *Guid/*Guids fields return 422 Unprocessable Entity.
- Invalid date values in *date* fields return 422 Unprocessable Entity.
- Missing required request body returns 422 Unprocessable Entity with Missing request body..
- Additional business-rule validation may return 422 with details in the errors array.
Integration Requirement
- Retrieve the corresponding ...Form endpoint immediately before write operations to get current dynamic required fields and allowed values.
put/api/files/listings/{listingGuid}
Path parameters
listingGuidstring guid required
GUID of the listing to update. Format: XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
Request body
Response
Changes
Changed in 1 of the 3 revisions of this API.1
- ○
added the new optional request property
new-optional-request-property
- ○