v2

latestOpenAPI 3.0.32026-08-07534393676.1 KB
defect

patch/api/defect/{id}/

Path parameters

idstring uuid required

A UUID string identifying this defect.

Headers

X-Companystring

The company id to request data for

Request body

idstring uuid
created_bystring uuid
projectstring
created_atstring date-time
updated_atstring date-time
status'draft' | 'active' | 'completed' | 'cancelled'
  • draft - draft
  • active - active
  • completed - completed
  • cancelled - cancelled
ref_nointeger
sent_atstring date-time nullable
completed_onstring date nullable
trade_namestring nullable
trade_contactstring nullable
trade_emailstring nullable
trade_phonestring nullable
approved_atstring date-time nullable
approval_namestring nullable
approval_signaturestring uuid nullable

Response

idstring uuid required
created_bystring uuid
projectstring
created_atstring date-time required
updated_atstring date-time required
status'draft' | 'active' | 'completed' | 'cancelled' required
  • draft - draft
  • active - active
  • completed - completed
  • cancelled - cancelled
ref_nointeger required
sent_atstring date-time nullable
completed_onstring date nullable
trade_namestring nullable
trade_contactstring nullable
trade_emailstring nullable
trade_phonestring nullable
approved_atstring date-time nullable
approval_namestring nullable
approval_signaturestring uuid nullable