Microsoft Planner · Arazzo Workflow

Microsoft Planner Mark a Task Complete

Version 1.0.0

Read a task to capture its ETag, then patch it to 100 percent complete.

1 workflow 1 source API 1 provider
View Spec View on GitHub CollaborationMicrosoft-365ProductivityProject ManagementTask ManagementArazzoWorkflows

Provider

microsoft-planner

Workflows

complete-task
Read a task for its ETag then mark it complete.
Chains getTask and updateTask, passing the task ETag into the If-Match header and setting percentComplete to 100.
2 steps inputs: taskId outputs: completedDateTime, taskId
1
getTask
Read the task to capture its current ETag, which is required by the update step's If-Match header.
2
updateTask
Patch the task to 100 percent complete. The If-Match header carries the ETag read in the prior step. Planner returns 200 with the updated task.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Microsoft Planner Mark a Task Complete
  summary: Read a task to capture its ETag, then patch it to 100 percent complete.
  description: >-
    Updating a Planner task requires the last known ETag supplied through an
    If-Match header for optimistic concurrency. This flow reads the task first to
    capture its current @odata.etag, then patches the task to set percentComplete
    to 100, which Planner treats as completion. The patch returns the updated task
    so the new completion timestamp and ETag can be captured. Every request is
    spelled out inline so the flow can be read and executed without opening the
    underlying OpenAPI description.
  version: 1.0.0
  x-realizes-capability-ids:
  - BC-900.30
  x-capability-derivation:
    method: 'deterministic join: sourceDescriptions -> per-tag OpenAPI -> tag/capability edge. No classification at this step.'
    min_confidence: 0.7
    sources:
    - capability_id: BC-900.30
      capability_name: Project Management
      spec: microsoft-planner-tasks-api-openapi.yml
      confidence: 0.7
    model: Turbo EA Capabilities by Vincent Verdet — Turbo EA, https://github.com/vincentmakes/turbo-ea-capabilities, CC BY 4.0
sourceDescriptions:
- name: tasksApi
  url: ../openapi/microsoft-planner-tasks-api-openapi.yml
  type: openapi
workflows:
- workflowId: complete-task
  summary: Read a task for its ETag then mark it complete.
  description: >-
    Chains getTask and updateTask, passing the task ETag into the If-Match header
    and setting percentComplete to 100.
  inputs:
    type: object
    required:
    - taskId
    properties:
      taskId:
        type: string
        description: The id of the task to mark complete.
  steps:
  - stepId: getTask
    description: >-
      Read the task to capture its current ETag, which is required by the update
      step's If-Match header.
    operationId: getTask
    parameters:
    - name: task-id
      in: path
      value: $inputs.taskId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      taskEtag: $response.body#/@odata.etag
      title: $response.body#/title
  - stepId: updateTask
    description: >-
      Patch the task to 100 percent complete. The If-Match header carries the
      ETag read in the prior step. Planner returns 200 with the updated task.
    operationId: updateTask
    parameters:
    - name: task-id
      in: path
      value: $inputs.taskId
    - name: If-Match
      in: header
      value: $steps.getTask.outputs.taskEtag
    requestBody:
      contentType: application/json
      payload:
        percentComplete: 100
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      completedDateTime: $response.body#/completedDateTime
      newEtag: $response.body#/@odata.etag
  outputs:
    taskId: $inputs.taskId
    completedDateTime: $steps.updateTask.outputs.completedDateTime

Work with this as data

Every workflow here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This workflow
curl "https://apis.io/api/v1/arazzo/microsoft-planner-complete-task-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.