Example payload

{
    event: <notification_name>;
    resource: {
        id: string;
        data: object;
    };
    params: object;
    actor: {
        type: 'user' | 'application';
        id: string;
        societyId: string;
        societyName: string;
    };
}

The notification_name refers to the list of events that trigger specific actions in the system. These events can represent various lifecycle actions such as creation, updates, and deletions of resources. To see the specific events associated with each resource.

Example of payload

Shipment payload

Shipment Anomaly

Event
Path
Method

shipment_anomaly_created

/shipment-anomaly

POST

shipment_anomaly_updated

/shipment-anomaly/{id}

PUT

shipment_anomaly_deleted

/shipment-anomaly/{id}

DELETE

Shipment Event

Event
Path
Metho

shipment_event_created

/shipment-event

POST

shipment_event_updated

/shipment-event/{id}

PUT

shipment_event_deleted

/shipment-event/{id}

DELETE

Last updated