---
title: "Updates a single availability date on a temp candidate"
method: PATCH
path: "/Entity/TempCandidateAvailabilityDate"
tags: ["Entity"]
---

# Updates a single availability date on a temp candidate

`PATCH /Entity/TempCandidateAvailabilityDate`

A Conflict will be returned if the candidate availability is locked for editing to another user in Infinity.
            
The Start and End date must be valid e.g Start date can not be after end date
            
To create availability set the IsAvailable property to True and the UnavailabilityReasonId property to null

To create unavailability set the IsAvailable property to False and the UnavailabilityReasonId to a valid unavailability reason
            
The UnavailabilityReasonId field must match active reference data from the /Reference/UnavailabilityReasons method

## Query parameters

- `id` integer, required

## Request body

- TempCandidateAvailabilityDateRequest
  - `Start` string, date-time, required
  - `End` string, date-time, required
  - `TimeZoneId` string, required
  - `IsAvailable` boolean, required
  - `UnavailabilityReasonId` integer, nullable

## Response `200`

OK

## Other responses

- `400` — BadRequest
- `401` — Unauthorized
- `404` — NotFound
- `409` — Conflict

---

[API](https://skmtc.dev/vslcloud/apis/infinity-api.md) · [All operations](https://skmtc.dev/vslcloud/apis/infinity-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/vslcloud/infinity-api/revisions/54661781612a/schema)
