Scalable Software and Systems · Example Payload

Scalable Software And Systems Temporal Workflow Example

API-FirstArchitecture PatternsCQRSDistributed SystemsEnterpriseEvent-DrivenMicroservicesScalable ArchitectureSoftware EngineeringSystems Design

Scalable Software And Systems Temporal Workflow Example is an example object payload from Scalable Software and Systems, with 1 top-level field. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

example

Example Payload

Raw ↑
{
  "example": {
    "title": "Temporal Workflow Execution — Order Saga",
    "description": "Example of starting a Temporal durable workflow execution implementing the saga pattern for an order fulfillment process with compensating transactions.",
    "workflow": {
      "workflowType": "OrderFulfillmentWorkflow",
      "workflowId": "order-saga-order-12345",
      "taskQueue": "order-fulfillment",
      "input": {
        "orderId": "order-12345",
        "customerId": "cust-67890",
        "items": [
          {
            "productId": "prod-001",
            "quantity": 2,
            "unitPrice": 49.99
          },
          {
            "productId": "prod-002",
            "quantity": 1,
            "unitPrice": 129.99
          }
        ],
        "totalAmount": 229.97,
        "currency": "USD"
      },
      "workflowExecutionTimeout": "PT24H",
      "workflowRunTimeout": "PT1H",
      "workflowTaskTimeout": "PT10S",
      "retryPolicy": {
        "initialInterval": "PT1S",
        "maximumInterval": "PT10S",
        "maximumAttempts": 3,
        "backoffCoefficient": 2.0,
        "nonRetryableErrorTypes": ["BusinessValidationError", "InsufficientStockError"]
      }
    },
    "sagaSteps": [
      {
        "step": 1,
        "activity": "ReserveInventoryActivity",
        "compensate": "ReleaseInventoryActivity",
        "timeout": "PT30S"
      },
      {
        "step": 2,
        "activity": "ChargePaymentActivity",
        "compensate": "RefundPaymentActivity",
        "timeout": "PT60S"
      },
      {
        "step": 3,
        "activity": "CreateShipmentActivity",
        "compensate": "CancelShipmentActivity",
        "timeout": "PT120S"
      },
      {
        "step": 4,
        "activity": "SendConfirmationEmailActivity",
        "compensate": null,
        "timeout": "PT30S"
      }
    ],
    "response": {
      "runId": "01234567-89ab-cdef-0123-456789abcdef",
      "workflowId": "order-saga-order-12345",
      "status": "WORKFLOW_EXECUTION_STATUS_RUNNING",
      "startTime": "2026-05-02T10:00:00Z"
    }
  }
}

Work with this as data

Every example 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 examples

4 MCP tools reach this
  • find_examplesBrowse and filter every example 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 example
curl "https://apis.io/api/v1/examples/scalable-software-and-systems-temporal-workflow-example"
All examples
curl "https://apis.io/api/v1/examples?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.