---
title: "Update Requirement"
method: PUT
path: "/api/v1/employer/requirements/{req_id}"
tags: ["招聘方"]
---

# Update Requirement

`PUT /api/v1/employer/requirements/{req_id}`

## Request

- Base URL: `https://api.hipowork.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.hipowork.com/api/v1/employer/requirements/{req_id}`
- Auth: OAuth 2 (password, token URL `/api/v1/auth/oauth/token`)

## Path parameters

- `req_id` string, uuid, required

## Request body

- JobRequirementUpdate
  - `title` string, nullable
  - `industry` string, nullable
  - `location` string, nullable
  - `salary_min` integer, nullable
  - `salary_max` integer, nullable
  - `salary_unit` 'monthly' | 'yearly', nullable
  - `salary_currency` string, nullable
  - `benefits` string[], nullable
  - `required` RequiredRule[], nullable
    - `field` string, required
    - `operator` string, required
    - `value` unknown, required
    - `label` string, nullable
  - `preferred` PreferredConditions
    - `semantic_query` string, nullable
    - `skills` PreferredSkill[], nullable
      - `name` string, required
      - `min_level` integer, nullable
      - `min_years` number, nullable
      - `weight` number
      - `label` string, nullable
    - `keywords` PreferredKeyword[], nullable
      - `text` string, required
      - `weight` number
      - `label` string, nullable
    - `industry_extensions` object, nullable
  - `raw_text` string, nullable
  - `status` string, nullable

## Response `200`

Successful Response

- JobRequirementResponse
  - `id` string, uuid, required
  - `job_code` string, nullable
  - `employer_id` string, uuid, nullable
  - `company_name` string, nullable
  - `title` string, nullable, required
  - `industry` string, nullable, required
  - `location` string, nullable
  - `salary_min` integer, nullable
  - `salary_max` integer, nullable
  - `salary_unit` string, nullable
  - `salary_currency` string, nullable
  - `benefits` string[], nullable
  - `requirements` object, nullable, required
  - `raw_text` string, nullable, required
  - `status` string, nullable, required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/hipowork/apis/hipo-work-ai-recruitment-platform.md) · [All operations](https://skmtc.dev/hipowork/apis/hipo-work-ai-recruitment-platform/llms.txt) · [OpenAPI document](https://skmtc.dev/hipowork/apis/hipo-work-ai-recruitment-platform/revisions/de21a6c57062?raw)
