Execute final Action Box selection

POST /task/v1/actions/{feed-key}/action-box/execute

Operation id: actionBoxExecute

Description

Commits a final Action Box button selection and executes the underlying action. Request is multipart/form-data and must include action_token, selected_button, and optional form/attachment parts.

Tags: MyWorkFeedActions

Parameters

Path parameters

NameTypeRequiredDescription
feed-keyintegerYesUnique numeric feed identifier

Security

  • AuthTokenHeader (apiKey)
    • Session authentication token validated server-side against the user session store.

Responses

200 — Success - {status: OK, action_box: {result, post_action}}

Content type: application/json

400 — Validation/business error. Examples:

  • E105 — feed_key <= 0
  • E159 — non-numeric feed_key
  • E177 — empty {feed_key} path segment (missing path variable)
  • E372 — selected_button missing any of button_id, button_key, box_id, track_id, track_label
  • E362, E364, E365, E366, E368 — Action Box execute/business errors (E366 is Action Box form-validation failure only)
  • E370 — selected button is not a final action; use the flow endpoint to complete the action first
  • E600 — file blocked by the kernel security filter before validation (unsafe/unsupported content)
  • E601 — request rejected by the kernel security filter (generic)

Content type: application/json

401 — Token/auth mismatch (for example E357, E359, E367) or invalid session

Content type: application/json

500 — Unexpected server-side error

Content type: application/json

Request body

Required: Yes

multipart/form-data

Schema

PropertyTypeRequiredDescription
action_tokenstringYesActive Action Box wizard token.
selected_buttonstringYesJSON string for selected final button metadata.
form_commentstringNoOptional comment text.
form_attachment_0string (binary)NoOptional box-level attachment part example.
form_Q1stringNoOptional form field example.
form_Q1_filestring (binary)NoOptional field-level image/file part example.
{
  "type": "object",
  "required": [
    "action_token",
    "selected_button"
  ],
  "properties": {
    "action_token": {
      "type": "string",
      "description": "Active Action Box wizard token."
    },
    "selected_button": {
      "type": "string",
      "description": "JSON string for selected final button metadata."
    },
    "form_comment": {
      "type": "string",
      "description": "Optional comment text."
    },
    "form_attachment_0": {
      "type": "string",
      "format": "binary",
      "description": "Optional box-level attachment part example."
    },
    "form_Q1": {
      "type": "string",
      "description": "Optional form field example."
    },
    "form_Q1_file": {
      "type": "string",
      "format": "binary",
      "description": "Optional field-level image/file part example."
    }
  }
}

Response models

200 — Success - {status: OK, action_box: {result, post_action}}

Content type: application/json

Schema

JSON object (structure varies by endpoint).

{
  "type": "object",
  "description": "JSON object (structure varies by endpoint)."
}

400 — Validation/business error. Examples:

  • E105 — feed_key <= 0
  • E159 — non-numeric feed_key
  • E177 — empty {feed_key} path segment (missing path variable)
  • E372 — selected_button missing any of button_id, button_key, box_id, track_id, track_label
  • E362, E364, E365, E366, E368 — Action Box execute/business errors (E366 is Action Box form-validation failure only)
  • E370 — selected button is not a final action; use the flow endpoint to complete the action first
  • E600 — file blocked by the kernel security filter before validation (unsafe/unsupported content)
  • E601 — request rejected by the kernel security filter (generic)

Content type: application/json

Schema

PropertyTypeRequiredDescription
statusstringYesAlways "ER" for error responses
errorCodestringYesApplication-level error code (e.g. E204, E112, E302)
responsestringYesHuman-readable error message
{
  "type": "object",
  "example": {
    "status": "ER",
    "errorCode": "E204",
    "response": "Invalid or expired token"
  },
  "required": [
    "status",
    "errorCode",
    "response"
  ],
  "properties": {
    "status": {
      "type": "string",
      "description": "Always \"ER\" for error responses",
      "enum": [
        "ER"
      ]
    },
    "errorCode": {
      "type": "string",
      "description": "Application-level error code (e.g. E204, E112, E302)"
    },
    "response": {
      "type": "string",
      "description": "Human-readable error message"
    }
  }
}

401 — Token/auth mismatch (for example E357, E359, E367) or invalid session

Content type: application/json

Schema

PropertyTypeRequiredDescription
statusstringYesAlways "ER" for error responses
errorCodestringYesApplication-level error code (e.g. E204, E112, E302)
responsestringYesHuman-readable error message
{
  "type": "object",
  "example": {
    "status": "ER",
    "errorCode": "E204",
    "response": "Invalid or expired token"
  },
  "required": [
    "status",
    "errorCode",
    "response"
  ],
  "properties": {
    "status": {
      "type": "string",
      "description": "Always \"ER\" for error responses",
      "enum": [
        "ER"
      ]
    },
    "errorCode": {
      "type": "string",
      "description": "Application-level error code (e.g. E204, E112, E302)"
    },
    "response": {
      "type": "string",
      "description": "Human-readable error message"
    }
  }
}

500 — Unexpected server-side error

Content type: application/json

Schema

PropertyTypeRequiredDescription
statusstringYesAlways "ER" for error responses
errorCodestringYesApplication-level error code (e.g. E204, E112, E302)
responsestringYesHuman-readable error message
{
  "type": "object",
  "example": {
    "status": "ER",
    "errorCode": "E204",
    "response": "Invalid or expired token"
  },
  "required": [
    "status",
    "errorCode",
    "response"
  ],
  "properties": {
    "status": {
      "type": "string",
      "description": "Always \"ER\" for error responses",
      "enum": [
        "ER"
      ]
    },
    "errorCode": {
      "type": "string",
      "description": "Application-level error code (e.g. E204, E112, E302)"
    },
    "response": {
      "type": "string",
      "description": "Human-readable error message"
    }
  }
}

Example:

{
  "status": "ER",
  "errorCode": "E302",
  "response": "Internal server error"
}