---
title: "Upserts an Agency Group Candidate Basic Info"
method: PUT
path: "/agency-group/{group_id}/candidate/{candidate_id}/basic-info"
tags: ["Agency Group Candidate"]
---

# Upserts an Agency Group Candidate Basic Info

`PUT /agency-group/{group_id}/candidate/{candidate_id}/basic-info`

## Request body

- AgencyGroupCandidateBasicInfoPutBodyDef
  - `first_name` string, required
  - `last_name` string, required
  - `gender` 'male' | 'female' | 'other'
  - `candidate_type_id` string
  - `date_of_birth` string, date
  - `id_number` string
  - `title` string

## Response `200`

The basic info of a candidate will be returned

- AgencyGroupCandidateBasicInfoResponseBodyDef
  - `first_name` string, required
  - `last_name` string, required
  - `gender` 'male' | 'female' | 'other'
  - `candidate_type_id` string
  - `date_of_birth` string, date
  - `candidate_id` string, required
  - `agency_group_id` string, required
  - `_id` string, required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required
  - `__v` integer, required
  - `id_number` string
  - `title` string

## Other responses

- `400` — Validation error on get
- `401` — Failed to authenticate the user making the request
- `403` — Permission denied error
- `404` — Resource not found
- `405` — Method not supported. Returned if an unsupported http method is used.
- `default` — Server error occurred

---

[API](https://skmtc.dev/staffshift/apis/staffshift-api-gateway.md) · [All operations](https://skmtc.dev/staffshift/apis/staffshift-api-gateway/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/staffshift/staffshift-api-gateway/revisions/6e2cb83db3a9/schema)
