latestOpenAPI 3.0.02026-08-12207455917.9 KB

bad0d2db9b7a

Listing Agents

Update agent

Update the primary agent on a listing. agentGuid is required and must be a known user in the subscriber.

Validation & Requirements

Required Parameters

  • listingGuid (path, string, format=guid)
  • form (body, object)

Required JSON Body Fields

  • agentGuid (format=guid, minLength=1)

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}/agent

Path parameters

listingGuidstring guid required

GUID of the listing to update.

Request body

agentGuidstring guid required

Response

valueUpdateListingAgentResponse
warningsstring[] nullable