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 jobStatusUpdated is set to true, 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

ParameterData TypeDescription
EventNamestringThe name of the specific event.
FrontOfficeTenantIdintegerFront office ID that indicates the tenant (client) for which the request is being made.
Resourcestring

Event specific information:

jobId(integer): The identifier for the job.

jobPostingId (integer): The identifier for the job post.

jobStatusUpdated (boolean): An indication of whether the job status has been updated or not. The boolean value indicates the reason for the deletion:
  • When jobStatusUpdated is set to true, the job post was deleted as a result of the job being updated (for example, when the job status was changed to Closed).
  • When jobStatusUpdated is set to false, the job post was deleted manually by a user, such as by clicking the trash icon in the job post section or deleting it from the Job Posting Status and Options widget.
CorrelationId(string): Unique identifier for this event.
ResourceModelTypestring.NET class name for the Resource.
CorrelationIdstringUnique 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.