award#update

Message

award action is updated

Payload Example(s) (generated)

{
  "topic": "realestate/award#update",
  "data": {
    "type": "UpdateAction",
    "object": {
      "type": "Award",
      "name": "Top 1%",
      "dateAwarded": "2019-11-25T04:23:32.000Z",
      "agent": "http://example.com",
      "recipient": [
        {
          "type": "RealEstateAgent",
          "id": "https://user.example.com/profile/card#me",
          "name": "string"
        }
      ],
      "identifier": {
        "hsfAwardId": "xxxx"
      }
    }
  }
}

Payload

NameTypeDescription
(root)object-
topicstringconst ("realestate/award#update")
dataobject-
data.typestringconst ("UpdateAction")
data.objectobjectAn honor bestowed on one or mote recipients by the message agent
data.object.typestringallowed ("Award") "AwardAction"
data.object.namestringname of the award
data.object.dateAwardedstringdate the award was presented or announced. format (date-time)
data.object.agentstringthe agent that presented the award format (uri)
data.object.recipientarray<object>recipients of the award
data.object.recipient.typestringallowed ("RealEstateAgent", "RealEstateOffice", "RealEstateOrganization")
data.object.recipient.idstringformat (uri)
data.object.recipient.namestringthe name of the award recipient
data.object.identifierobject1 properties

Headers

NameTypeDescription
(root)object-
timestringdate & time the event was produced format (date-time)
agentstringif you are a multi-tenant app, then the agent is the user associated with the event data. any future events related to this message will be sent to the same agent/recipient format (uri)
instrumentstringthe app or service that produced the event on behalf of the agent/user format (uri)
sourcestringa copy of the event was sent to the source(s). format (uri)
originalRecipientstringthe originalRecipient helps you determine the subscription that delivered the event to you. if the originalRecipient is the same as the agent, then the you are subscribed to the agent. if the originalRecipient is different from the agent, then you are subscribed to the event source format (uri)
idstringthe Event ID (aka "Publish ID") is the immutable canonical identifier for the event. it is a URI that is unique to the event and will not change. all subscribers will receive the same id for the same event. format (uri)
@idstringformat (uri)

Tools