Table of Contents

Class WebhookVO

Namespace
PHCBusinessLayer
Assembly
PHCBusinessLayer.dll

Webook's subscritpions made by third parties

[AttTable("Webhook", 20201022)]
[AttTableFlags(new TableFlags[] { TableFlags.TableForJorge })]
[AttTableVOInfo(typeof(WebhookAttInfo))]
public class WebhookVO : BusinessVO, IBaseSerialization, ICloneVO, ICloneable, IChange, IParent, IGenericVO
Inheritance
WebhookVO

Properties

customEvent

Custom event name to be fired by backend

[AttLenght(50)]
public string customEvent { get; set; }

Property Value

string

entity

Entity to be hooked

[AttLenght(25)]
public string entity { get; set; }

Property Value

string

hookUrl

Third party hook url to publish event.

[AttLenght(150)]
public string hookUrl { get; set; }

Property Value

string

inactive

Inactive ?

public bool inactive { get; set; }

Property Value

bool

ndoc

Entity series Note: only on document entities

[AttLenght(3)]
public int ndoc { get; set; }

Property Value

int

onCreate

publish on create event

public bool onCreate { get; set; }

Property Value

bool

onDelete

publish on delete event

public bool onDelete { get; set; }

Property Value

bool

onUpdate

publish on update event

public bool onUpdate { get; set; }

Property Value

bool

platform

Description of the type of platform requesting the subscription.

[AttLenght(50)]
public string platform { get; set; }

Property Value

string

subscriber

Description of third party.

[AttLenght(50)]
public string subscriber { get; set; }

Property Value

string

webhookstamp

ID, used to link others to this entity.

[AttLenght(25)]
public string webhookstamp { get; set; }

Property Value

string

Remarks

This field uniquely identifies the record.