job_post_deleted
Overview
The job_post_deleted event is sent after a job post has been removed either manually by a user or automatically as a result of a job status update. It may also be triggered when a job is filled, as part of the system’s job post cleanup process.
When
jobStatusUpdatedis set totrue, this indicates that the job post deletion was triggered by a job update, but it does not guarantee the current job status. Call Get a Job to retrieve the current job status before performing any follow-up actions.
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:
jobStatusUpdated (boolean): An indication of whether the job status has been updated or not. The boolean value indicates the reason for the deletion:
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": "job_post_deleted",
"FrontOfficeTenantId": 6,
"Resource": "{\"jobId\":362129,\"jobPostingId\":\135790\,\"jobStatusUpdated\:true,\"CorrelationId\":\"f765b7e3-9f23-44d5-9749-730a39664941\"}",
"ResourceModelType": "Avionte.Commons.CompasEventModel.ResourceModel.JobResourceModel, Avionte.Commons.CompasEventModel, Version=1.2.4.0, Culture=neutral, PublicKeyToken=null",
"CorrelationId": "f765b7e3-9f23-44d5-9749-730a39664941"
}
Associated Endpoint
To retrieve a list of posted jobs, refer to the Get Posted Jobs endpoint.