---
title: "B059 Drug approval file"
method: POST
path: "/synapse/drug/approval/file"
tags: ["Drug Basic Data"]
---

# B059 Drug approval file

`POST /synapse/drug/approval/file`

## Request

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

Obtain drug approval file

## Request body

- B059ApprovalFileRequest
  - `drug_id` string: DRUG ID, MUST NOT be used with the 'approvalId' and 'approvalSource' field.
  - `approval_id` unknown[]: Drug Approval ID, MUST be used with the 'approvalSource' field. Obtain this through the [B019] Drug approval information interface
    - unknown
  - `approval_source` string: Approval Source, MUST be used with the 'approvalId' field.The value is an enum with the following values: FDA,EMA,PMDA

## Response `200`

Successful b059 drug approval file response.

- B059ApprovalFileResponse
  - `data` B059ApprovalFileGetDrugApprovalFileResponseDto
    - `ema` B059ApprovalFileApprovalFile[]: EMA
      - `type` string: Type
      - `source_url` string: Source Url
      - `approval_date` integer: Approval Date
      - `drug_approval_id` string: Approval ID
    - `fda` B059ApprovalFileApprovalFile[]: FDA
      - `type` string: Type
      - `source_url` string: Source Url
      - `approval_date` integer: Approval Date
      - `drug_approval_id` string: Approval ID
    - `pmda` B059ApprovalFileApprovalFile[]: PMDA
      - `type` string: Type
      - `source_url` string: Source Url
      - `approval_date` integer: Approval Date
      - `drug_approval_id` string: Approval ID
  - `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)
