Fxiaoke Developer Manual Fxiaoke Developer Manual
  • APL Development Manual
  • PWC Development Manual
  • OpenAPI Documentation
  • Quick Start
  • API Authorization
  • API Basics
  • OpenAPI
  • SSO Integration
  • Client Development
  • FAQ
  • OpenApi Version V1 (opens new window)
  • 简体中文
  • English
  • Quick Start
  • API Authorization
  • API Basics
  • OpenAPI
  • SSO Integration
  • Client Development
  • FAQ
  • OpenApi Version V1 (opens new window)
  • 简体中文
  • English
  • Quick Start

  • API Authorization

  • API Basics

  • OpenAPI

    • CRM Object API

    • CRM Common API

      • Object Description API

      • Approval Process API

        • Query Approval Definitions
        • Get Single Approval Task Details
        • Cancel Workflow Instance
        • Get Workflow Info
        • Complete Or Reject Workflow
        • Trigger Stage Advancer
        • Approval Task
        • Complete Approval
        • Query Approval Instance
        • Reject To Previous Node
          • Complete Object Task
          • Query Workflow Instance
          • Cancel Approval
          • Complete Workflow Task
          • Query Approval Instance List
          • Query Approval Details
          • Query Rejectable Nodes
          • Get Task Details
          • Update Stage By Instance
        • Custom Function API

        • Lock Unlock API

        • Related Team API

        • Currency API

        • Business Process API

        • Stage Progression API

        • product Categories API

        • Other Common API

      • Address Book API

      • Other API

    • SSO Integration

    • Client Development

    • FAQ

    Table of Contents

    Reject Current Approval Task to a Previous Node

    # Description

    Reject the current approval task to a specified previous node in the workflow.

    # Request Specification

    Method: POST + application/json

    Endpoint: https://${Cloud Domain}/cgi/crm/v2/special/approval/rejectToBeforeTask?thirdTraceId=${Random String}

    Headers: Refer to Common Parameters

    # Request Parameters

    Parameter Type Required Description
    data Map Yes
      currentTaskId String Yes Current task ID
      rejectToTaskId String Yes Target task ID for rejection
      rejectOpinion String Yes Rejection comments
      moveToCurrentActivityWhenReject String No Whether to return to current node upon resubmission

    # Request Example

    {
      "data": {
        "rejectOpinion": "Rejection comments",
        "currentTaskId": "6183b1b622794e6865bca8ce",
        "rejectToTaskId": "6183b1b0b89d061cf7fbac1f",
        "moveToCurrentActivityWhenReject": true
      }
    }
    

    # Response Parameters

    Parameter Type Description
    traceId string Unique request ID
    errorDescription string Error description
    errorMessage string Error message
    errorCode Int Error codes

    # Response Example

    {
      "traceId": "E-O.827xxxxxx",
      "errorDescription": "success",
      "errorMessage": "OK",
      "errorCode": 0
    }
    

    # Notes

    • Do not use the message field in the response for logical judgments, as errorMessage may change.
    Query Approval Instance
    Complete Object Task

    ← Query Approval Instance Complete Object Task →

    • 跟随系统
    • 浅色模式
    • 深色模式
    • 阅读模式