CDK Global · Arazzo Workflow

CDK Global Cancel Service Appointment

Version 1.0.0

Find a customer's appointment, confirm it exists, then cancel it with a reason.

1 workflow 2 source APIs 1 provider
View Spec View on GitHub AutomotiveDealer ManagementDMSAuto RetailF&IFixed OperationsPartsCRMDigital RetailMarketplaceDeveloper PlatformEventWebhookAsyncAPIArazzoWorkflows

Provider

cdk-global

Workflows

cancel-appointment
Locate an appointment by customer and cancel it when present.
Queries appointments for the supplied customer link, branches on whether a booking was returned, and cancels the located appointment with the supplied reason.
2 steps inputs: authorization, customerHref, reason, requestId, subscriptionId outputs: cancelStatus, cancelledAppointmentId
1
findAppointment
Query appointments filtered by the customer link to locate the booking to cancel.
2
cancelAppointment
Cancel the located appointment, supplying the cancellation reason in the request body.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: CDK Global Cancel Service Appointment
  summary: Find a customer's appointment, confirm it exists, then cancel it with a reason.
  description: >-
    Cancels a vehicle service appointment safely. The flow queries appointments
    filtered by the customer link to locate the booking, branches on whether a
    match was found, and only when one exists submits a cancellation carrying a
    free-form reason. Every step spells out its request inline so the flow can be
    read and executed without opening the underlying OpenAPI description.
  version: 1.0.0
sourceDescriptions:
- name: cancelApi
  url: ../openapi/cdk-global-cancel-api-openapi.yml
  type: openapi
- name: queryApi
  url: ../openapi/cdk-global-query-api-openapi.yml
  type: openapi
workflows:
- workflowId: cancel-appointment
  summary: Locate an appointment by customer and cancel it when present.
  description: >-
    Queries appointments for the supplied customer link, branches on whether a
    booking was returned, and cancels the located appointment with the supplied
    reason.
  inputs:
    type: object
    required:
    - subscriptionId
    - requestId
    - authorization
    - customerHref
    - reason
    properties:
      subscriptionId:
        type: string
        description: The Fortellis Marketplace subscription identifier.
      requestId:
        type: string
        description: A correlation GUID echoed back across systems.
      authorization:
        type: string
        description: The Fortellis OAuth 2.0 bearer token (or Basic auth on the simulator).
      customerHref:
        type: string
        description: The customer resource hyperlink to filter the appointment query.
      reason:
        type: string
        description: Free-form comments explaining why the appointment is cancelled.
  steps:
  - stepId: findAppointment
    description: >-
      Query appointments filtered by the customer link to locate the booking to
      cancel.
    operationId: queryAppointments
    parameters:
    - name: customerHref
      in: query
      value: $inputs.customerHref
    - name: Request-Id
      in: header
      value: $inputs.requestId
    - name: Subscription-Id
      in: header
      value: $inputs.subscriptionId
    - name: Authorization
      in: header
      value: $inputs.authorization
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      appointmentId: $response.body#/items/appointmentId
    onSuccess:
    - name: appointmentFound
      type: goto
      stepId: cancelAppointment
      criteria:
      - context: $response.body
        condition: $.items.appointmentId != null
        type: jsonpath
    - name: appointmentMissing
      type: end
      criteria:
      - context: $response.body
        condition: $.items.appointmentId == null
        type: jsonpath
  - stepId: cancelAppointment
    description: >-
      Cancel the located appointment, supplying the cancellation reason in the
      request body.
    operationId: cancelAppointment
    parameters:
    - name: appointmentId
      in: path
      value: $steps.findAppointment.outputs.appointmentId
    - name: Request-Id
      in: header
      value: $inputs.requestId
    - name: Subscription-Id
      in: header
      value: $inputs.subscriptionId
    - name: Authorization
      in: header
      value: $inputs.authorization
    requestBody:
      contentType: application/json
      payload:
        reason: $inputs.reason
    successCriteria:
    - condition: $statusCode == 204
    outputs:
      statusCode: $statusCode
  outputs:
    cancelledAppointmentId: $steps.findAppointment.outputs.appointmentId
    cancelStatus: $steps.cancelAppointment.outputs.statusCode

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/cdk-global-cancel-appointment-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.