Contract (Single)

Manage a specific contract. Ability to view, create, and update contract.

Available Endpoints

Method Path Description
GET /api/contract/{id} View contract details
POST /api/contract/{id} Create new contract
PUT /api/contract/{id} Full update of contract
PATCH /api/contract/{id} Partial update of contract

Example Request

curl -X GET "https://example.com/api/contract/1" \
  -H "Authorization: Bearer {token}"

Success Response (200)

{
  "record": {}
}

Errors

Code Description
401 Invalid token
403 Access denied
404 Record not found
422 Validation error
Type to search...