---
title: "POST /api/investor-admin/import/commit"
method: POST
path: "/api/investor-admin/import/commit"
tags: ["InvestmentImport"]
---

# POST /api/investor-admin/import/commit

`POST /api/investor-admin/import/commit`

## Request

- Base URL: `https://api.khaasfood.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.khaasfood.com/api/investor-admin/import/commit`
- Auth: OAuth 2
  - Authorization code: `https://api.khaasfood.com/connect/authorize`
  - Token URL: `https://api.khaasfood.com/connect/token`

## Request body `multipart/form-data`

- object
  - `ContentType` string
  - `ContentDisposition` string
  - `Headers` object
  - `Length` integer
  - `Name` string
  - `FileName` string

## Response `200`

Success

- KhaasFoodHalalInvestmentsImportInvestmentImportReportDto
  - `canCommit` boolean
  - `committed` boolean
  - `investorCount` integer
  - `investmentCount` integer
  - `paymentCount` integer
  - `skippedInvestorCount` integer
  - `skippedInvestmentCount` integer
  - `errorCount` integer
  - `warningCount` integer
  - `issues` KhaasFoodHalalInvestmentsImportInvestmentImportIssueDto[], nullable
    - `sheet` string, nullable
    - `row` integer
    - `column` string, nullable
    - `message` string, nullable
    - `isError` boolean
  - `mappings` KhaasFoodHalalInvestmentsImportInvestmentImportMappingDto[], nullable
    - `legacyInvestorId` string, nullable
    - `investorCode` string, nullable
    - `legacyInvestmentId` string, nullable
    - `investmentCode` string, nullable

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `500`: Server Error
- `501`: Server Error

## Changes

> 11 revisions in range; 1 not diffed.

- **2026-11-10** `50aa87d7d019`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/khaasfood/apis/khaasfood-api/changes/api/investor-admin/import/commit/post.md)

---

[API](https://skmtc.dev/khaasfood/apis/khaasfood-api.md) - [All operations](https://skmtc.dev/khaasfood/apis/khaasfood-api/llms.txt) - [OpenAPI document](https://skmtc.dev/khaasfood/apis/khaasfood-api/revisions/149b6034bea9?raw)
