Outcome

Update one assertion (partial)

put/api/outcome/assertions/{id}

Request

  • Base URL: https://api.wordis-bond.com
  • URL: https://api.wordis-bond.com/api/outcome/assertions/{id}
  • Auth: HTTP bearer

Request body

suiteIdstring uuid

The suite this assertion is attached to (required on create).

scenarioNamestring nullable

Only run for this scenario (persona name). Null = every scenario.

namestring
endpointstring uri
method'POST'
timeoutMsinteger

Per-request timeout, capped at 10000.

retriesinteger

Retry attempts on an unreachable/5xx call, capped at 3.

enabledboolean

Example request

{
  "endpoint": "https://hooks.acme.com/wb-outcome",
  "expected": {
    "json_path": {
      "$.booking.status": "confirmed",
      "$.booking.date": "{{scenario.requested_date}}"
    }
  },
  "priceCheck": {
    "source": "price_list_ref:<priceListId>"
  }
}

Response

Updated

Example response

{
  "data": {
    "endpoint": "https://hooks.acme.com/wb-outcome",
    "expected": {
      "json_path": {
        "$.booking.status": "confirmed",
        "$.booking.date": "{{scenario.requested_date}}"
      }
    },
    "priceCheck": {
      "source": "price_list_ref:<priceListId>"
    }
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.