listing#updatebuyercompensation
Message
update buyer compensation of property listing
Payload Example(s) (generated)
{
"topic": "realestate/listing#updatebuyercompensation",
"recipient": "https://websiteactivity.bhhs.hsfaffiliates.com/profile/card#me",
"data": {
"type": "UpdateAction",
"object": {
"type": "PropertyListing",
"listingId": "370137684",
"listingOffice": {
"type": "RealEstateOffice",
"name": "Berkshire Hathaway Test",
"email":"info@keysrealestatetest.com",
"identifier": {
"mlsOfficeId": "kwa.10017"
},
"additionalProperty": {
"officeId": "FL309-002"
}
},
"buyerCompensation": {
"buyerCompensationOfferedYN": "Y",
"compensationType": "percentage",
"compensationValue": "2"
}
}
}
}
Payload
Name | Type | Description |
---|---|---|
topic | string | const ("realestate/listing#updatebuyercompensation" ) |
recipient | string<uri> | the recipient of the event with this id |
data.type | string | const ("UpdateAction" ) |
data.object.type | string | const ("PropertyListing" ) |
data.object.listingId | string | the local identifier for the listing |
data.object.listingOffice.type | string | const ("RealEstateOffice" ) |
data.object.listingOffice.name | string | the listing office name |
data.object.listingOffice.email | string | the listing office email |
data.object.listingOffice.identifier.mlsOfficeId | string | the listing office identifier |
data.object.additionalProperty.officeId | string | BHHS office identifier |
data.object.buyerCompensation.buyerCompensationOfferedYN | bool | buyer compensation status(Y/N) |
data.object.buyerCompensation.compensationType | string | allowed("percentage", "flat", "text" ) |
data.object.buyerCompensation.compensationValue | string | value of compensation |