POST job/publish_job
发布岗位
Request Information
URI Parameters
None.
Body Parameters
PublishJobViewModelName | Description | Type | Additional information |
---|---|---|---|
title | string |
Required |
|
category_id | integer |
Required |
|
date_from | string |
Required |
|
date_expiry | string |
Required |
|
regions | string |
Required |
|
address | string |
Required |
|
work_day_of_week | string |
Required |
|
work_from | string |
Required |
|
work_end | string |
Required |
|
people_required | integer |
Required |
|
gender | integer |
None. |
|
wage | decimal number |
Required |
|
wage_unit_id | integer |
Required |
|
term_id | integer |
Required |
|
treatment | string |
None. |
|
description | string |
Required |
|
job_description | string |
None. |
|
contact | string |
Required |
|
contact_phone | string |
Required |
|
sign_online | boolean |
None. |
|
not_public | boolean |
None. |
|
latitude | decimal number |
Required |
|
longitude | decimal number |
Required |
|
attendance_radius | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "title": "sample string 1", "category_id": 2, "date_from": "sample string 3", "date_expiry": "sample string 4", "regions": "sample string 5", "address": "sample string 6", "work_day_of_week": "sample string 7", "work_from": "sample string 8", "work_end": "sample string 9", "people_required": 10, "gender": 1, "wage": 11.0, "wage_unit_id": 12, "term_id": 13, "treatment": "sample string 14", "description": "sample string 15", "job_description": "sample string 16", "contact": "sample string 17", "contact_phone": "sample string 18", "sign_online": true, "not_public": true, "latitude": 21.1, "longitude": 22.1, "attendance_radius": 23 }
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
发布岗位
DataResponseOfJobDetailViewModelName | Description | Type | Additional information |
---|---|---|---|
code | integer |
None. |
|
message | string |
None. |
|
success | boolean |
None. |
|
data | JobDetailViewModel |
None. |
Response Formats
application/json
Sample:
Sample not available.
text/json
Sample:
Sample not available.