---
updatedAt: 2026-05-04T13:31:25.000Z
agentTools:
  projectIndex: https://docs.developer.rabobank.com/identity-risk/llms.txt
---

# Set case outcome

<Callout icon="❗️">
  This endpoint is ONLY AVAILABLE in Sandbox and Pre-Production!
</Callout>

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "description": "",
    "title": "Rabo Identity Services - Fourthline IDV",
    "version": "1.54.0",
    "x-api-id": "f583166f-2f06-428a-bc69-1d3b833e8454",
    "x-ibm-name": "rabo-identity-services-fourhtids"
  },
  "servers": [
    {
      "url": "https://api.rabobank.nl/openapi/",
      "description": "Production server"
    },
    {
      "url": "https://api-sandbox.rabobank.nl/openapi/sandbox/",
      "description": "Sandbox server"
    }
  ],
  "paths": {
    "/ris/fourthline/workflows/testoutcome/{workflowId}": {
      "post": {
        "tags": [
          "Identity Verification"
        ],
        "summary": "Set case outcome",
        "operationId": "setTestOutcome",
        "parameters": [
          {
            "name": "workflowId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "f5d02f64-d053-4ab2-af5f-9b4be4281f19"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TestOutcomeRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "204": {
            "description": "Successful operation",
            "headers": {
              "X-Trace-Id": {
                "description": "Correlation id per request/response for debug purpose",
                "schema": {
                  "type": "string"
                },
                "x-example": "ca9361b9bf23badf09577d414f5d783adcfad2dbbb971752dd19150c70d461a6"
              }
            }
          },
          "400": {
            "description": "Bad request",
            "headers": {
              "X-Trace-Id": {
                "description": "Correlation id per request/response for debug purpose",
                "schema": {
                  "type": "string"
                },
                "x-example": "ca9361b9bf23badf09577d414f5d783adcfad2dbbb971752dd19150c70d461a6"
              }
            },
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "example": {
                  "type": "urn:ris:error:input-validation",
                  "title": "Bad Request",
                  "status": 400,
                  "detail": "Failed to read request",
                  "instance": "/ris/fourthline/workflows/testoutcome/c4a83875-7504-413f-ae32-a82a99c2c0e1",
                  "invalid-context": [
                    {
                      "field": "expectations",
                      "reason": "Invalid format for input: [unknown]",
                      "expected": [
                        "pending"
                      ]
                    }
                  ],
                  "traceId": "631379e6d43d77541346bec1a091a5f5"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "headers": {
              "X-Trace-Id": {
                "description": "Correlation id per request/response for debug purpose",
                "schema": {
                  "type": "string"
                },
                "x-example": "ca9361b9bf23badf09577d414f5d783adcfad2dbbb971752dd19150c70d461a6"
              }
            },
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "example": {
                  "type": "urn:ris:error:unauthorized",
                  "title": "Unauthorized",
                  "status": 401,
                  "detail": "Failure while processing the request!",
                  "instance": "/ris/fourthline",
                  "authorization-error": "Unauthorized",
                  "traceId": "79c50d0b82206e76192f7de64d42e2d4"
                }
              }
            }
          },
          "500": {
            "description": "A general problem with the server.",
            "headers": {
              "X-Trace-Id": {
                "description": "Correlation id per request/response for debug purpose",
                "schema": {
                  "type": "string"
                },
                "x-example": "ca9361b9bf23badf09577d414f5d783adcfad2dbbb971752dd19150c70d461a6"
              }
            },
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "example": {
                  "type": "about:blank",
                  "title": "Internal Server Error",
                  "status": 500,
                  "detail": "Failure while processing the request!",
                  "instance": "/ris/fourthline",
                  "traceId": "327725e316216679503dd9667256e02f"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "CaseExpectation": {
        "required": [
          "responseDetails"
        ],
        "type": "object",
        "properties": {
          "responseDetails": {
            "type": "array",
            "description": "The outcome to apply to the case when it reaches the specified status",
            "items": {
              "$ref": "#/components/schemas/ResponseDetail"
            }
          }
        },
        "description": "Map of expectations with available keys: 'pending'",
        "example": {
          "pending": {
            "responseDetails": [
              {
                "statusCode": 200
              }
            ]
          }
        }
      },
      "ErrorResponse": {
        "properties": {
          "detail": {
            "description": "Detail of the error",
            "example": "Failure while processing the request!",
            "type": "string"
          },
          "instance": {
            "description": "Instance of the error",
            "example": "/ris/resource/d5cc0517-4e2b-4e80-8442-46a5a130b03e",
            "type": "string"
          },
          "status": {
            "description": "Status of the error",
            "example": 400,
            "format": "int32",
            "type": "integer"
          },
          "title": {
            "description": "Tittle of the error",
            "example": "Internal Server Error",
            "type": "string"
          },
          "traceId": {
            "description": "Id of the error, so that it can be investigated on the persisted logs",
            "example": "40b664267dbf2e1cec98de4a733bbd01",
            "type": "string"
          },
          "type": {
            "description": "Type of the error",
            "example": "urn:ris:error:input-validation",
            "type": "string"
          }
        },
        "type": "object"
      },
      "ResponseDetail": {
        "required": [
          "statusCode"
        ],
        "type": "object",
        "properties": {
          "statusCode": {
            "type": "string",
            "description": "The status code that applies the outcome when the case reaches the specified status",
            "example": "200",
            "enum": [
              "200",
              "4110",
              "5100",
              "2001",
              "2002",
              "2003",
              "3001",
              "3002",
              "3003",
              "3005",
              "3100",
              "3101",
              "3102",
              "3103",
              "3104",
              "3105",
              "3200",
              "3201",
              "3202",
              "3203",
              "3204",
              "3205",
              "3300",
              "3304",
              "3305",
              "3306",
              "3307",
              "3400",
              "3401",
              "3402",
              "3403",
              "3405",
              "3406"
            ]
          }
        },
        "description": "The outcome to apply to the case when it reaches the specified status"
      },
      "TestOutcomeRequest": {
        "required": [
          "expectations"
        ],
        "type": "object",
        "properties": {
          "expectations": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/CaseExpectation"
            },
            "description": "Map of expectations with available keys: 'pending'",
            "example": {
              "pending": {
                "responseDetails": [
                  {
                    "statusCode": 200
                  }
                ]
              }
            }
          }
        },
        "description": "Request object for setting case outcomes"
      }
    },
    "securitySchemes": {
      "clientId": {
        "description": "ClientId as provided by the Rabobank developer portal.",
        "in": "header",
        "name": "X-IBM-Client-Id",
        "type": "apiKey"
      }
    }
  },
  "security": [
    {
      "clientId": []
    }
  ],
  "x-components": {},
  "x-readme": {
    "explorer-enabled": false,
    "proxy-enabled": false
  }
}
```