docs(api): align coverage review contract
This commit is contained in:
@@ -92,14 +92,17 @@ Coverage-review request payload may also send:
|
||||
|
||||
```json
|
||||
{
|
||||
"staffId": "uuid",
|
||||
"assignmentId": "uuid",
|
||||
"rating": 2,
|
||||
"comment": "Worker left the shift early without approval",
|
||||
"feedback": "Worker left the shift early without approval",
|
||||
"markAsFavorite": false,
|
||||
"issueFlags": ["LEFT_EARLY"],
|
||||
"markAsBlocked": true
|
||||
}
|
||||
```
|
||||
|
||||
If `markAsBlocked` is `true`, backend adds that staff member to the business-level blocked list and future apply or assign attempts are rejected until a later review sends `markAsBlocked: false`.
|
||||
If `markAsFavorite` is `true`, backend adds that worker to the business favorites list. If `markAsFavorite` is `false`, backend removes them from that list. If `markAsBlocked` is `true`, backend adds that staff member to the business-level blocked list and future apply or assign attempts are rejected until a later review sends `markAsBlocked: false`.
|
||||
|
||||
Swap-review routes:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user