POST job/edit_job

编辑岗位

Request Information

URI Parameters

None.

Body Parameters

EditJobViewModel
NameDescriptionTypeAdditional information
job_id

integer

None.

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:
{
  "job_id": 1,
  "title": "sample string 2",
  "category_id": 3,
  "date_from": "sample string 4",
  "date_expiry": "sample string 5",
  "regions": "sample string 6",
  "address": "sample string 7",
  "work_day_of_week": "sample string 8",
  "work_from": "sample string 9",
  "work_end": "sample string 10",
  "people_required": 11,
  "gender": 1,
  "wage": 12.0,
  "wage_unit_id": 13,
  "term_id": 14,
  "treatment": "sample string 15",
  "description": "sample string 16",
  "job_description": "sample string 17",
  "contact": "sample string 18",
  "contact_phone": "sample string 19",
  "sign_online": true,
  "not_public": true,
  "latitude": 22.1,
  "longitude": 23.1,
  "attendance_radius": 24
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

编辑岗位

DataResponseOfJobDetailViewModel
NameDescriptionTypeAdditional 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.