---
title: "Approval rejected"
method: POST
path: "/inlong/manager/api/workflow/reject/{id}"
tags: ["Workflow-API"]
---

# Approval rejected

`POST /inlong/manager/api/workflow/reject/{id}`

## Request

- The document declares no server URL.
- Auth: none declared

## Path parameters

- `id` integer, required

## Request body

- WorkflowApprovalRequest
  - `form` BaseTaskForm
  - `remark` string: Remarks info
  - `transferTo` string[]: Transferor persons

## Response `200`

OK

- ResponseWorkflowResultInfo
  - `data` WorkflowResultInfo
    - `newTasks` TaskResponse[]: Newly generated tasks
      - `applicant` string: Applicant name
      - `approvers` string[]: Approver list
      - `displayName` string: Task display name
      - `endTime` string, date-time: End time
      - `extParams` object: Extended Information
      - `formData` object: Current task form
      - `id` integer: Task ID
      - `name` string: Task name
      - `operator` string: Actual operation approver
      - `processDisplayName` string: Process display name
      - `processId` integer: Process ID
      - `processName` string: Process name
      - `remark` string: Remarks info
      - `showInList` object: Extra information shown in the list
      - `startTime` string, date-time: Start time
      - `status` 'APPROVED' | 'CANCELED' | 'COMPLETED' | 'FAILED' | 'PENDING' | 'REJECTED' | 'SKIPPED' | 'TERMINATED' | 'TRANSFERRED': Task status
      - `type` string: Task type
    - `processInfo` ProcessResponse
      - `applicant` string: Applicant name
      - `currentTasks` TaskResponse[]: Tasks currently to be done
        - `applicant` string: Applicant name
        - `approvers` string[]: Approver list
        - `displayName` string: Task display name
        - `endTime` string, date-time: End time
        - `extParams` object: Extended Information
        - `formData` object: Current task form
        - `id` integer: Task ID
        - `name` string: Task name
        - `operator` string: Actual operation approver
        - `processDisplayName` string: Process display name
        - `processId` integer: Process ID
        - `processName` string: Process name
        - `remark` string: Remarks info
        - `showInList` object: Extra information shown in the list
        - `startTime` string, date-time: Start time
        - `status` 'APPROVED' | 'CANCELED' | 'COMPLETED' | 'FAILED' | 'PENDING' | 'REJECTED' | 'SKIPPED' | 'TERMINATED' | 'TRANSFERRED': Task status
        - `type` string: Task type
      - `displayName` string: Process display name
      - `endTime` string, date-time: End time
      - `extParams` object: Extended information-JSON
      - `formData` object: Form information-JSON
      - `id` integer: Process ID
      - `name` string: Process name
      - `showInList` object: Extra information shown in the list
      - `startTime` string, date-time: Start time
      - `status` 'CANCELED' | 'COMPLETED' | 'PROCESSING' | 'REJECTED' | 'TERMINATED': Process status
      - `title` string: Process title
      - `type` string: Process classification
  - `errMsg` string
  - `success` boolean

## Other responses

- `201`: Created
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found

---

[API](https://skmtc.dev/apache/apis/the-apache-software-foundation-file-api.md) - [All operations](https://skmtc.dev/apache/apis/the-apache-software-foundation-file-api/llms.txt) - [OpenAPI document](https://skmtc.dev/apache/apis/the-apache-software-foundation-file-api/revisions/41c687f48683?raw)
