In this article, you can read about how to create a new job post and how to delete an existing job post using the RecMan API.
Insert Job Post
POST
https://api.recman.io/v2/post/To insert a job post, use the POST method with operation set to insert and scope set to jobPost.
It's required to specify projectId, name, startDate and endDate when inserting a job post. The response will include the new jobPostId.
| URL POST | https://api.recman.io/v2/post/ |
| Scope | jobPost |
| Operation | insert |
Job Post Fields
| Field | Type | Description |
|---|---|---|
| projectId required | integer | Project ID |
| name required | string | Name |
| startDate required | date-time | Start date. Format: Y-m-d H:i:s |
| endDate required | date-time | End date. Format: Y-m-d H:i:s |
| accession | string | Accession (start date) |
| workplace | string | Workplace |
| body | string | Body (job description) |
| ingress | string | Ingress (company description) |
| title | string | Title (job title) |
| numberOfPositions | integer | Number of positions |
| deadline | string | Application deadline |
| string | ||
| string | ||
| string | ||
| web | string | Webpage |
| address1 | string | Address 1 |
| address2 | string | Address 2 |
| postalCode | string or numeric | Postal code |
| city | string | City name |
| country | string | Country name |
| salary | string | Salary |
| applyUrl | string | Apply URL, must be a valid URL |
| branchId | integer | Branch ID (primary) |
| branchCategoryId | integer | Branch category ID (primary) |
| secondaryBranchId | integer | Branch ID (secondary) |
| secondaryBranchCategoryId | integer | Branch category ID (secondary) |
Request Body
| key | {{api_key}} |
| scope | jobPost |
| operation | insert |
| data.projectId | 236831 |
| data.name | PHP developer |
| data.startDate | 2024-10-10 00:00:00 |
| data.endDate | 2024-12-10 00:00:00 |
Delete Job Post
POST
https://api.recman.io/v2/post/To delete a job post, use the post method with operation set to delete and scope set to jobPost.
It's required to specify the jobPostId field for deleting a job post.
| URL POST | https://api.recman.io/v2/post/ |
| Scope | jobPost |
| Operation | delete |
Fields
| Field | Description |
|---|---|
| jobPostId required | Job post ID |
Request Body
| key | {{api_key}} |
| scope | jobPost |
| operation | delete |
| data.jobPostId | 59575 |
What's next
Now that you know how to create and delete job posts, continue with: Job posts: Retrieving and Filtering Job Posts via API and Job posts: Retrieving Job Applications from a Job Post via API.