POST api/FubWebhook?siteId={siteId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
siteId

integer

Required

Body Parameters

FubEventDto
NameDescriptionTypeAdditional information
eventId

globally unique identifier

None.

eventCreated

date

None.

event

WebhookEvent

None.

resourceIds

Collection of integer

None.

uri

string

None.

Request Formats

application/json, text/json

Sample:
{
  "eventId": "75240b6c-7b5e-4c5f-8be9-34f0b9a4dbe6",
  "eventCreated": "2024-06-27T17:13:24.0213342-04:00",
  "event": "peopleCreated",
  "resourceIds": [
    1,
    2
  ],
  "uri": "sample string 3"
}

text/html

Sample:
{"eventId":"75240b6c-7b5e-4c5f-8be9-34f0b9a4dbe6","eventCreated":"2024-06-27T17:13:24.0213342-04:00","event":"peopleCreated","resourceIds":[1,2],"uri":"sample string 3"}

application/xml, text/xml

Sample:
<FubEventDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eRealtyMedia.Services.eRealtyCrm.Dto">
  <EventCreated>2024-06-27T17:13:24.0213342-04:00</EventCreated>
  <EventId>75240b6c-7b5e-4c5f-8be9-34f0b9a4dbe6</EventId>
  <ResourceIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </ResourceIds>
  <Type>peopleCreated</Type>
  <Uri>sample string 3</Uri>
</FubEventDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ActionResult

None.

Response Formats

application/json, text/json, text/html, application/xml, text/xml

Sample:

Sample not available.