contact#collectiondelete

Message

a contact collection (data.object) is deleted by a user (data.agent)

Payload Example(s) (generated)

{
  "topic": "realestate/contact#collectiondelete",
  "data": {
    "type": "DeleteAction",
    "agent": {
      "type": "Person",
      "name": "string",
      "email": "user@example.com",
      "identifier": {
        "bhhsconsumerid": "12345"
      }
    },
    "object": {
      "type": "Collection",
      "name": "Past Clients",
      "identifier": {
        "bhhsconsumerid": "12345"
      }
    }
  }
}

Payload

NameTypeDescription
(root)object-
topicstringconst ("realestate/contact#collectiondelete")
dataobject-
data.typestringconst ("DeleteAction")
data.agentobject>= 2 properties
data.agent.typestringconst ("Person")
data.agent.namestring-
data.agent.emailstringa valid email address format (email)
data.agent.identifierobject1 properties
data.objectobjectA reference to a contact group "collection" with minimal properties.
data.object.typestringconst ("Collection")
data.object.namestringThe name of the contact group.
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