---
title: "POST /api/app/it-ticket"
method: POST
path: "/api/app/it-ticket"
tags: ["ItTicket"]
---

# POST /api/app/it-ticket

`POST /api/app/it-ticket`

## 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/app/it-ticket`
- 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
  - `RequesterName` string, required
  - `RequesterPhone` string, tel, required
  - `EmployeeId` string, required
  - `DepartmentId` string, uuid, required
  - `WorkStation` 1 | 2, required
  - `WarehouseId` string, uuid
  - `ImpactScope` 1 | 2, required
  - `CategoryId` string, uuid, required
  - `SubCategoryId` string, uuid, required
  - `Urgency` 1 | 2 | 3 | 4, required
  - `IssueStartedAt` string, date-time, required
  - `Description` string, required
  - `ImageFiles` string[]
  - `VideoFiles` string[]

## Response `200`

Success

- KhaasFoodItTicketsDtosItTicketDto
  - `id` string, uuid
  - `ticketNumber` string, nullable
  - `status` 1 | 2 | 3 | 4 | 5 | 6
  - `urgency` 1 | 2 | 3 | 4
  - `impactScope` 1 | 2
  - `workStation` 1 | 2
  - `issueStartedAt` string, date-time
  - `deadLine` string, date-time, nullable
  - `dueDate` string, date-time, nullable
  - `description` string, nullable
  - `requesterName` string, nullable
  - `requesterPhone` string, nullable
  - `employeeId` string, nullable
  - `departmentId` string, uuid
  - `departmentName` string, nullable
  - `categoryId` string, uuid
  - `subCategoryId` string, uuid
  - `subCategory` KhaasFoodIssuesDtosIssueSubCategoryDto
    - `id` string, uuid
    - `name` string, nullable
    - `description` string, nullable
    - `isActive` boolean
    - `categoryId` string, uuid
    - `category` KhaasFoodIssuesDtosIssueCategoryDto
      - `id` string, uuid
      - `name` string, nullable
      - `description` string, nullable
      - `isActive` boolean
      - `isItSupport` boolean
      - `subCategories` KhaasFoodIssuesDtosIssueSubCategoryDto[], nullable
  - `warehouseId` string, uuid, nullable
  - `warehouse` KhaasFoodWarehousesDtosWarehousesWarehouseDto
    - `name` string, nullable
    - `streetAddress` string, nullable
    - `area` string, nullable
    - `district` string, nullable
    - `isMain` boolean
    - `isActive` boolean
    - `warehouseType` 0 | 1 | 2 | 3 | 4 | 5 | 6
    - `syncOnAccounting` boolean
    - `id` string, uuid
    - `isUseInOnlineSale` boolean
    - `isUseInPosSale` boolean
    - `isUseInEComSale` boolean
    - `isUseInDealerSale` boolean
  - `statusChanges` KhaasFoodEnumsItTicketsItTicketStatus[], nullable
  - `departmentChanges` string[], nullable
  - `histories` KhaasFoodItTicketsDtosItTicketHistoryDto[], nullable
    - `creationTime` string, date-time
    - `creatorId` string, uuid, nullable
    - `lastModificationTime` string, date-time, nullable
    - `lastModifierId` string, uuid, nullable
    - `id` string, uuid
    - `status` 1 | 2 | 3 | 4 | 5 | 6
    - `department` KhaasFoodIssuesDtosDepartmentDto
      - `id` string, uuid
      - `name` string, nullable
    - `creator` KhaasFoodUsersDtosUserDto
      - `id` string, uuid
      - `name` string, nullable
      - `userName` string, nullable
      - `email` string, nullable
  - `comments` KhaasFoodItTicketsDtosItTicketCommentDto[], nullable
    - `time` string, date-time
    - `department` string, nullable
    - `comment` string, nullable
    - `userName` string, nullable
    - `userEmail` string, nullable
  - `videoAttachmentUrls` string[], nullable
  - `imageAttachmentsUrls` string[], nullable
  - `isCreatedByCurrentUser` boolean
  - `creatorId` string, uuid, nullable
  - `creationTime` string, date-time
  - `lastModificationTime` string, date-time, 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-01** `664d574d3e4d`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/khaasfood/apis/khaasfood-api/changes/api/app/it-ticket/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)
