Skip to main content

deliver_integration_webhook

Function deliver_integration_webhook 

Source
pub fn deliver_integration_webhook(
    root: &mut Value,
    integrations_root: &Value,
    adapter_id: &str,
    event_kind: Option<&str>,
    resource_id: Option<&str>,
    tenant_id: Option<&str>,
    subject_id: Option<&str>,
    payload_json: &str,
) -> Option<i64>
Expand description

Queues one declaratively configured webhook delivery for background execution.

§Parameters

§Returns

Returns Some when crate::runtime::dynamic::deliver_integration_webhook can produce a value and None otherwise.

§Performance

Performance is proportional to the size of the supplied inputs and any parsed or loaded data consumed by crate::runtime::dynamic::deliver_integration_webhook.

§Examples

ⓘ
let _result = pharos_native::runtime::dynamic::deliver_integration_webhook(std::path::Path::new("."), todo!(), todo!(), todo!(), todo!(), todo!(), todo!(), todo!());