company_po_created
Overview
The company_po_created
event is sent after a new company purchase order has been created.
Event Parameters
Parameter | Data Type | Description |
---|---|---|
EventName | string | The name of the specific event. |
FrontOfficeTenantId | integer | Front office ID that indicates the tenant (client) for which the request is being made. |
Resource | string | Event specific information:CompanyId (integer): The identifier for the company.PoId (integer): The identifier for the purchase order.CorrelationId (string): Unique identifier for this event. |
ResourceModelType | string | .NET class name for the Resource. |
CorrelationId | string | Unique identifier for this event. |
Sample Event
{
"EventName": "company_po_created",
"FrontOfficeTenantId": 6,
"Resource": "{\"CompanyId\":4,\"PoId\":1557,\"CorrelationId\":\"d7c63d04-b188-443f-839c-ed187658dca8\"}",
"ResourceModelType": "Avionte.Commons.CompasEventModel.ResourceModel.CompanyPoResourceModel, Avionte.Commons.CompasEventModel, Version=1.2.4.0, Culture=neutral, PublicKeyToken=null",
"CorrelationId": "d7c63d04-b188-443f-839c-ed187658dca8"
}
Associated Endpoint
For details about the purchase order, check the Get a Company PO by PO ID endpoint.
Updated 9 months ago