For support support@leadrat.com
Authorization: ********************x-tenant-id: ********************curl --location --request POST '/handover/cases//snags' \
--header 'Authorization: Bearer <token>' \
--header 'x-tenant-id: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"handoverCase": "790ff744-1aa2-472f-9138-81e0dfa24dba",
"snagNumber": "string",
"roomArea": "string",
"title": "string",
"category": "PLASTERING",
"description": "string",
"photoUrl": "string",
"photoUrls": [
"string"
],
"severity": "CRITICAL",
"snagStatus": "OPEN",
"assignedTo": "string",
"slaDueAt": "2019-08-24T14:15:22.123Z",
"slaHoursRemaining": 0,
"resolved": true,
"resolvedAt": "2019-08-24T14:15:22.123Z",
"resolvedBy": "string",
"reInspectionDate": "2019-08-24T14:15:22.123Z",
"reInspectionNotes": "string",
"waived": true,
"waivedAt": "2019-08-24T14:15:22.123Z",
"waivedBy": "string",
"waiverRemarks": "string",
"buyerSignedOff": true,
"buyerSignedOffAt": "2019-08-24T14:15:22.123Z",
"buyerNotes": "string",
"reraLiabilityExpiresAt": "2019-08-24T14:15:22.123Z",
"created": "2019-08-24T14:15:22.123Z"
}'{
"id": "55555555-5555-5555-5555-555555555555",
"handoverCase": "11111111-1111-1111-1111-111111111111",
"roomArea": "Living Room",
"description": "Paint chips on the north wall",
"photoUrl": "https://s3.amazon.com/bucket/snags/111/living-room-wall.jpg",
"severity": "MINOR",
"snagStatus": "OPEN",
"assignedTo": "Maintenance Team A",
"resolved": false,
"waived": false,
"buyerSignedOff": false,
"reraLiabilityExpiresAt": "2029-12-31",
"created": "2024-03-20T10:00:00"
}