Skip to main content
PUT
Update Claim

Overview

This endpoint allows users to update their claim details, primarily the status.

Authentication

Path Parameters

id
string
required
Unique identifier of the claim to update

Request Body

status
string
Updated claim status (active, completed, cancelled)
start_time
string
Updated claim start time (ISO 8601 format)
end_time
string
Updated claim end time (ISO 8601 format)

Response

claim
object
required
Updated claim object

Example Request

Example Response

Status Transitions

  • active → completed: Mark the parking session as finished
  • active → cancelled: Cancel the claim (frees up the availability)
  • completed/cancelled: No further changes allowed

Error Responses