---
title: "Determine If Class Is Subclass Of Another Class - Q13"
method: GET
path: "/terminologies/is_class_in_transitive_closure_of_another_class"
tags: ["Terminologies"]
---

# Determine If Class Is Subclass Of Another Class - Q13

`GET /terminologies/is_class_in_transitive_closure_of_another_class`

## Request

- Base URL: `https://cadsrapi.cancer.gov/si-api/v1`
- URL: `https://cadsrapi.cancer.gov/si-api/v1/terminologies/is_class_in_transitive_closure_of_another_class`
- Auth: none declared
- TypeScript: <https://skmtc.dev/cancer/apis/ssis-api/docs/terminologies/is_class_in_transitive_closure_of_another_class/get.ts> (a function with typed inputs; its response is checked against the schema)

Check if a class is in the transitive closure of another class. term_id_1 is the class to check, term_id_2 is the class to check against. This may have to be rerun twice by swapping what values are used for 'term_id_1' and 'term_id_2' in case nothing is returned. This utilizes SRRO to find the appropriate property for a specified graph.

## Query parameters

- `term_id_to_check` string, required
- `term_id_to_check_against` string, required

## Response `200`

OK

- TerminologiesisClassInTransitiveClosureOfAnotherClassGETResponse
  - `result` boolean, required
  - `apiResponse` ApiResponse, required
    - `type` string, required: S Success, E Error, W Warning, I Info, A Abort
    - `message` string: Message text
    - `service` string: service that errorred
    - `time` string: Date and time of error
    - `ssnid` string: session id
    - `callStack` CallstackItem[]
      - `service` string, required
      - `flowStep` string, required

## Other responses

- `401`: Access Denied

---

[API](https://skmtc.dev/cancer/apis/ssis-api.md) - [All operations](https://skmtc.dev/cancer/apis/ssis-api/llms.txt) - [OpenAPI document](https://skmtc.dev/cancer/apis/ssis-api/revisions/1e6df122366f?raw)
