Deny a request
Deny an absence request, shift booking, swap or unassignment request.
MCP tool quinyx_write → deny_request
write Confirm
Denies the request and removes it from Needs Approval; the schedule stays as it was. For swaps and unassignment requests, Quinyx shows your comment to the employee in the Qmail they receive and records it in the audit log. By default you confirm each call; you can switch that off for this tool.
Parameters
| Name | Type | Description |
|---|---|---|
| request_id string required | string | Id from list_approval_requests. |
| comment string | string | The reason. Employees read it, so write it for them. |
tools/call
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "quinyx_write",
"arguments": {
"operation": "deny_request",
"arguments": {
"request_id": "request_8c41d2"
}
}
}
} Example response
{
"content": [
{
"type": "text",
"text": "{ ... same JSON as structuredContent ... }"
}
],
"structuredContent": {
"request_id": "77325",
"category": "absence_request",
"status": "denied",
"employee": "Sam Okafor",
"comment": "Stocktake week, no absences possible 9 to 13 Nov."
},
"isError": false
}