---
title: "B055 Outcome ID search"
method: POST
path: "/synapse/outcome/autocomplete"
tags: ["Biopharmaceutical Dictionary Data"]
---

# B055 Outcome ID search

`POST /synapse/outcome/autocomplete`

## Request

- Base URL: `https://connect.patsnap.com`
- URL: `https://connect.patsnap.com/synapse/outcome/autocomplete`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/patsnap/apis/patsnap-open-platform-api/docs/synapse/outcome/autocomplete/post.ts> (a function with typed inputs; its response is checked against the schema)

Input the outcome name and get the outcome ID

## Request body

- B055OutcomeAutocompleteRequest
  - `limit` integer, required: limits
  - `prefix` string, required: keywords

## Response `200`

Successful b055 outcome id search response.

- B055OutcomeAutocompleteResponse
  - `data` B055OutcomeAutocompleteOutcomeAutocompleteResponseDto[]: response data
    - `outcome_id` string: ID
    - `short_name` B055OutcomeAutocompleteCommonName[]: Short Name
      - `lang` string: Language
      - `name` string: Drug,Target,Organization,Disease,Country/Location,DICT,Mechanism Action Name
    - `display_name` B055OutcomeAutocompleteCommonName[]: name
      - `lang` string: Language
      - `name` string: Drug,Target,Organization,Disease,Country/Location,DICT,Mechanism Action Name
  - `status` boolean, required: Status
  - `error_msg` string: Error Message
  - `error_code` integer, required: Error Code

## Other responses

- `201`: Created.
- `401`: Unauthorized.
- `403`: Forbidden.
- `404`: Not Found.

---

[API](https://skmtc.dev/patsnap/apis/patsnap-open-platform-api.md) - [All operations](https://skmtc.dev/patsnap/apis/patsnap-open-platform-api/llms.txt) - [OpenAPI document](https://skmtc.dev/patsnap/apis/patsnap-open-platform-api/revisions/c2264a0de595?raw)
