[{"data":1,"prerenderedAt":7},["ShallowReactive",2],{"docs-workday\u002Fwork-reports\u002Freject":3,"docs-tabs-workday\u002Fwork-reports\u002Freject":6},{"content":4,"lastmod":5},"## Reject a work report\n\n`POST \u002Fv1\u002Fworkday\u002Fwork-reports\u002F:id\u002Freject`\n\nGives an employee's work report a neutral mark and removes the report confirmation.\n\nRequires the `timeman` scope. Bitrix24 checks the credential owner’s permissions. READONLY keys can read reports and cannot write them.\n\n## Parameters\n\n| Parameter | Type | Required | Default | Description |\n|----------|-----|:-----:|-----------|----------|\n| `id` (path) | integer | yes | — | Report ID. List: [`GET \u002Fv1\u002Fworkday\u002Fwork-reports`](\u002Fdocs\u002Fworkday\u002Fwork-reports\u002Flist) |\n\nNo request body is needed. An empty object `{}` is accepted, and any field in the body returns `400 INVALID_PARAMS`.\n\n## Examples\n\n### curl — personal key\n\n```bash\ncurl -X POST \"https:\u002F\u002Fvibecode.bitrix24.com\u002Fv1\u002Fworkday\u002Fwork-reports\u002F167\u002Freject\" \\\n  -H \"X-Api-Key: YOUR_API_KEY\"\n```\n\n### curl — OAuth application\n\n```bash\ncurl -X POST \"https:\u002F\u002Fvibecode.bitrix24.com\u002Fv1\u002Fworkday\u002Fwork-reports\u002F167\u002Freject\" \\\n  -H \"X-Api-Key: YOUR_APP_KEY\" \\\n  -H \"Authorization: Bearer USER_SESSION_TOKEN\"\n```\n\n### JavaScript — personal key\n\n```javascript\nconst res = await fetch('https:\u002F\u002Fvibecode.bitrix24.com\u002Fv1\u002Fworkday\u002Fwork-reports\u002F167\u002Freject', {\n  method: 'POST',\n  headers: {\n    'X-Api-Key': 'YOUR_API_KEY',\n  },\n})\nconst { data } = await res.json()\n```\n\n### JavaScript — OAuth application\n\n```javascript\nconst res = await fetch('https:\u002F\u002Fvibecode.bitrix24.com\u002Fv1\u002Fworkday\u002Fwork-reports\u002F167\u002Freject', {\n  method: 'POST',\n  headers: {\n    'X-Api-Key': 'YOUR_APP_KEY',\n    'Authorization': 'Bearer USER_SESSION_TOKEN',\n  },\n})\nconst { data } = await res.json()\n```\n\n## Response fields\n\n| Field | Type | Description |\n|------|-----|----------|\n| `success` | boolean | `true` when the request succeeds |\n| `data` | boolean | `true` — the mark is set |\n\n## Response example\n\n```json\n{\n  \"success\": true,\n  \"data\": true\n}\n```\n\n## Error response example\n\n422 — no report with this `id` exists:\n\n```json\n{\n  \"success\": false,\n  \"error\": {\n    \"code\": \"BITRIX_ERROR\",\n    \"message\": \"Report not found or cannot be changed\"\n  }\n}\n```\n\n## Errors\n\n| HTTP | Code | Description |\n|------|-----|----------|\n| 400 | `INVALID_PARAMS` | `id` is not a positive integer, the request body is not a JSON object, or the body contains a field |\n| 422 | `BITRIX_ERROR` | No report with this `id` exists, the credential owner lacks Bitrix24 permission to mark this employee's reports, or Bitrix24 refused the operation |\n| 409 | `TIMEMAN_MODULE_NOT_ENABLED` | Time Management is not available on this portal |\n| 502 | `BITRIX_UNAVAILABLE` | Bitrix24 is unavailable |\n| 401 | `MISSING_API_KEY` | The `X-Api-Key` header was not passed |\n| 401 | `TOKEN_MISSING` | An app key was sent without a session token in `Authorization: Bearer` |\n| 401 | `INVALID_SESSION` | The session token is invalid or has expired |\n| 403 | `WRITE_BLOCKED_READONLY_KEY` | The key is READONLY and cannot mark reports |\n| 403 | `SCOPE_DENIED` | The key lacks the `timeman` scope |\n| 429 | `RATE_LIMITED` | The general request limit was exceeded |\n\nThe full list of common API errors — [Errors](\u002Fdocs\u002Ferrors).\n\n## Known specifics\n\n- **What changes in the report.** `mark` becomes `\"N\"` and `approve` becomes `\"N\"`: the report confirmation is removed. The changes are visible in [`GET \u002Fv1\u002Fworkday\u002Fwork-reports\u002F:id`](\u002Fdocs\u002Fworkday\u002Fwork-reports\u002Fget).\n- **Marking your own report also requires permission.** An employee without permission to mark reports gets `422 BITRIX_ERROR` for their own report too.\n- **A report that has not been submitted can be marked too.** It stays unsubmitted, and a submitted report stays submitted: `active` does not change.\n- **Calling again does not return an error.** The mark stays neutral, and the response is `true` again.\n\n## See also\n\n- [Approve a work report](\u002Fdocs\u002Fworkday\u002Fwork-reports\u002Fapprove)\n- [Disapprove a work report](\u002Fdocs\u002Fworkday\u002Fwork-reports\u002Fdisapprove)\n- [Read a work report](\u002Fdocs\u002Fworkday\u002Fwork-reports\u002Fget)\n- [Send a work report](\u002Fdocs\u002Fworkday\u002Fwork-reports\u002Fsend)\n- [Work reports](\u002Fdocs\u002Fworkday\u002Fwork-reports)\n- [Daily reports](\u002Fdocs\u002Fworkday\u002Fdaily-reports)\n- [Workday](\u002Fdocs\u002Fworkday)\n","2026-10-07",{},1795415527011]