Files
lti-api/docs/openapi/read-api.yaml
T
2026-04-14 15:14:31 +07:00

4067 lines
152 KiB
YAML

components:
schemas:
ErrorEnvelope:
properties:
code:
example: 401
type: integer
errors:
additionalProperties: true
type: object
message:
example: Please authenticate
type: string
status:
example: error
type: string
type: object
PaginatedEnvelope:
properties:
code:
example: 200
type: integer
data:
items:
additionalProperties: true
type: object
type: array
message:
example: Request completed successfully
type: string
meta:
properties:
limit:
example: 10
type: integer
page:
example: 1
type: integer
total_pages:
example: 1
type: integer
total_results:
example: 0
type: integer
type: object
status:
example: success
type: string
type: object
SuccessEnvelope:
properties:
code:
example: 200
type: integer
data:
additionalProperties: true
type: object
message:
example: Request completed successfully
type: string
status:
example: success
type: string
type: object
securitySchemes:
ApiKeyAuth:
in: header
name: X-API-Key
type: apiKey
BearerAuth:
scheme: bearer
type: http
info:
description: Read-only OpenAPI surface for dashboard integrations and GET endpoint exploration.
title: LTI ERP Read API
version: v1
openapi: 3.1.0
paths:
/api/approvals/:
get:
description: Read access to `/api/approvals/`.
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/PaginatedEnvelope'
description: Successful response
"401":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Unauthorized
"403":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Forbidden
security:
- ApiKeyAuth: []
- BearerAuth: []
summary: GET api / approvals
tags:
- API
/api/closings/:
get:
description: Read access to `/api/closings/`.
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/PaginatedEnvelope'
description: Successful response
"401":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Unauthorized
"403":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Forbidden
security:
- ApiKeyAuth: []
- BearerAuth: []
summary: GET api / closings
tags:
- Closings
/api/closings/{project_flock_id}/{project_flock_kandang_id}/expedition-hpp:
get:
description: Read access to `/api/closings/:project_flock_id/:project_flock_kandang_id/expedition-hpp`.
parameters:
- description: Path parameter `project_flock_id`.
in: path
name: project_flock_id
required: true
schema:
example: "1"
type: string
- description: Path parameter `project_flock_kandang_id`.
in: path
name: project_flock_kandang_id
required: true
schema:
example: "1"
type: string
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/SuccessEnvelope'
description: Successful response
"401":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Unauthorized
"403":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Forbidden
security:
- ApiKeyAuth: []
- BearerAuth: []
summary: GET api / closings / :project_flock_id / :project_flock_kandang_id / expedition hpp
tags:
- Closings
/api/closings/{project_flock_id}/{project_flock_kandang_id}/keuangan:
get:
description: Read access to `/api/closings/:project_flock_id/:project_flock_kandang_id/keuangan`.
parameters:
- description: Path parameter `project_flock_id`.
in: path
name: project_flock_id
required: true
schema:
example: "1"
type: string
- description: Path parameter `project_flock_kandang_id`.
in: path
name: project_flock_kandang_id
required: true
schema:
example: "1"
type: string
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/SuccessEnvelope'
description: Successful response
"401":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Unauthorized
"403":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Forbidden
security:
- ApiKeyAuth: []
- BearerAuth: []
summary: GET api / closings / :project_flock_id / :project_flock_kandang_id / keuangan
tags:
- Closings
/api/closings/{project_flock_id}/{project_flock_kandang_id}/overhead:
get:
description: Read access to `/api/closings/:project_flock_id/:project_flock_kandang_id/overhead`.
parameters:
- description: Path parameter `project_flock_id`.
in: path
name: project_flock_id
required: true
schema:
example: "1"
type: string
- description: Path parameter `project_flock_kandang_id`.
in: path
name: project_flock_kandang_id
required: true
schema:
example: "1"
type: string
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/SuccessEnvelope'
description: Successful response
"401":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Unauthorized
"403":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Forbidden
security:
- ApiKeyAuth: []
- BearerAuth: []
summary: GET api / closings / :project_flock_id / :project_flock_kandang_id / overhead
tags:
- Closings
/api/closings/{project_flock_id}/{project_flock_kandang_id}/penjualan:
get:
description: Read access to `/api/closings/:project_flock_id/:project_flock_kandang_id/penjualan`.
parameters:
- description: Path parameter `project_flock_id`.
in: path
name: project_flock_id
required: true
schema:
example: "1"
type: string
- description: Path parameter `project_flock_kandang_id`.
in: path
name: project_flock_kandang_id
required: true
schema:
example: "1"
type: string
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/SuccessEnvelope'
description: Successful response
"401":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Unauthorized
"403":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Forbidden
security:
- ApiKeyAuth: []
- BearerAuth: []
summary: GET api / closings / :project_flock_id / :project_flock_kandang_id / penjualan
tags:
- Closings
/api/closings/{project_flock_id}/{project_flock_kandang_id}/perhitungan_sapronak:
get:
description: Read access to `/api/closings/:project_flock_id/:project_flock_kandang_id/perhitungan_sapronak`.
parameters:
- description: Path parameter `project_flock_id`.
in: path
name: project_flock_id
required: true
schema:
example: "1"
type: string
- description: Path parameter `project_flock_kandang_id`.
in: path
name: project_flock_kandang_id
required: true
schema:
example: "1"
type: string
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/SuccessEnvelope'
description: Successful response
"401":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Unauthorized
"403":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Forbidden
security:
- ApiKeyAuth: []
- BearerAuth: []
summary: GET api / closings / :project_flock_id / :project_flock_kandang_id / perhitungan_sapronak
tags:
- Closings
/api/closings/{project_flock_id}/expedition-hpp:
get:
description: Read access to `/api/closings/:project_flock_id/expedition-hpp`.
parameters:
- description: Path parameter `project_flock_id`.
in: path
name: project_flock_id
required: true
schema:
example: "1"
type: string
- description: Optional project flock kandang id filter.
example: 1
in: query
name: project_flock_kandang_id
required: false
schema:
type: integer
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/SuccessEnvelope'
description: Successful response
"401":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Unauthorized
"403":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Forbidden
security:
- ApiKeyAuth: []
- BearerAuth: []
summary: GET api / closings / :project_flock_id / expedition hpp
tags:
- Closings
/api/closings/{project_flock_id}/overhead:
get:
description: Read access to `/api/closings/:project_flock_id/overhead`.
parameters:
- description: Path parameter `project_flock_id`.
in: path
name: project_flock_id
required: true
schema:
example: "1"
type: string
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/SuccessEnvelope'
description: Successful response
"401":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Unauthorized
"403":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Forbidden
security:
- ApiKeyAuth: []
- BearerAuth: []
summary: GET api / closings / :project_flock_id / overhead
tags:
- Closings
/api/closings/{project_flock_id}/penjualan:
get:
description: Read access to `/api/closings/:project_flock_id/penjualan`.
parameters:
- description: Path parameter `project_flock_id`.
in: path
name: project_flock_id
required: true
schema:
example: "1"
type: string
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/SuccessEnvelope'
description: Successful response
"401":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Unauthorized
"403":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Forbidden
security:
- ApiKeyAuth: []
- BearerAuth: []
summary: GET api / closings / :project_flock_id / penjualan
tags:
- Closings
/api/closings/{project_flock_id}/perhitungan_sapronak:
get:
description: Read access to `/api/closings/:project_flock_id/perhitungan_sapronak`.
parameters:
- description: Path parameter `project_flock_id`.
in: path
name: project_flock_id
required: true
schema:
example: "1"
type: string
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/SuccessEnvelope'
description: Successful response
"401":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Unauthorized
"403":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Forbidden
security:
- ApiKeyAuth: []
- BearerAuth: []
summary: GET api / closings / :project_flock_id / perhitungan_sapronak
tags:
- Closings
/api/closings/{projectFlockId}:
get:
description: Read access to `/api/closings/:projectFlockId`.
parameters:
- description: Path parameter `projectFlockId`.
in: path
name: projectFlockId
required: true
schema:
example: "1"
type: string
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/SuccessEnvelope'
description: Successful response
"401":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Unauthorized
"403":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Forbidden
security:
- ApiKeyAuth: []
- BearerAuth: []
summary: GET api / closings / :projectFlockId
tags:
- Closings
/api/closings/{projectFlockId}/keuangan:
get:
description: Read access to `/api/closings/:projectFlockId/keuangan`.
parameters:
- description: Path parameter `projectFlockId`.
in: path
name: projectFlockId
required: true
schema:
example: "1"
type: string
- description: Optional kandang id filter.
example: 1
in: query
name: kandang_id
required: false
schema:
type: integer
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/SuccessEnvelope'
description: Successful response
"401":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Unauthorized
"403":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Forbidden
security:
- ApiKeyAuth: []
- BearerAuth: []
summary: GET api / closings / :projectFlockId / keuangan
tags:
- Closings
/api/closings/{projectFlockId}/production-data:
get:
description: Read access to `/api/closings/:projectFlockId/production-data`.
parameters:
- description: Path parameter `projectFlockId`.
in: path
name: projectFlockId
required: true
schema:
example: "1"
type: string
- description: Optional kandang id filter.
example: 1
in: query
name: kandang_id
required: false
schema:
type: integer
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/SuccessEnvelope'
description: Successful response
"401":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Unauthorized
"403":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Forbidden
security:
- ApiKeyAuth: []
- BearerAuth: []
summary: GET api / closings / :projectFlockId / production data
tags:
- Closings
/api/closings/{projectFlockId}/sapronak:
get:
description: Read access to `/api/closings/:projectFlockId/sapronak`.
parameters:
- description: Path parameter `projectFlockId`.
in: path
name: projectFlockId
required: true
schema:
example: "1"
type: string
- description: Required sapronak direction.
example: incoming
in: query
name: type
required: true
schema:
type: string
- description: Search keyword.
example: pakan
in: query
name: search
required: false
schema:
type: string
- description: Optional kandang id filter.
example: 1
in: query
name: kandang_id
required: false
schema:
type: integer
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/PaginatedEnvelope'
description: Successful response
"401":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Unauthorized
"403":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Forbidden
security:
- ApiKeyAuth: []
- BearerAuth: []
summary: GET api / closings / :projectFlockId / sapronak
tags:
- Closings
/api/closings/{projectFlockId}/sapronak/summary:
get:
description: Read access to `/api/closings/:projectFlockId/sapronak/summary`.
parameters:
- description: Path parameter `projectFlockId`.
in: path
name: projectFlockId
required: true
schema:
example: "1"
type: string
- description: Required sapronak direction.
example: incoming
in: query
name: type
required: true
schema:
type: string
- description: Search keyword.
example: pakan
in: query
name: search
required: false
schema:
type: string
- description: Optional kandang id filter.
example: 1
in: query
name: kandang_id
required: false
schema:
type: integer
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/SuccessEnvelope'
description: Successful response
"401":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Unauthorized
"403":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Forbidden
security:
- ApiKeyAuth: []
- BearerAuth: []
summary: GET api / closings / :projectFlockId / sapronak / summary
tags:
- Closings
/api/constants/:
get:
description: Read access to `/api/constants/`.
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/PaginatedEnvelope'
description: Successful response
"401":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Unauthorized
"403":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Forbidden
security:
- ApiKeyAuth: []
- BearerAuth: []
summary: GET api / constants
tags:
- API
/api/daily-checklists/:
get:
description: Read access to `/api/daily-checklists/`.
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/PaginatedEnvelope'
description: Successful response
"401":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Unauthorized
"403":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Forbidden
security:
- ApiKeyAuth: []
- BearerAuth: []
summary: GET api / daily checklists
tags:
- Daily Checklists
/api/daily-checklists/phase/{idDailyChecklist}:
get:
description: Read access to `/api/daily-checklists/phase/:idDailyChecklist`.
parameters:
- description: Path parameter `idDailyChecklist`.
in: path
name: idDailyChecklist
required: true
schema:
example: "1"
type: string
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/SuccessEnvelope'
description: Successful response
"401":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Unauthorized
"403":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Forbidden
security:
- ApiKeyAuth: []
- BearerAuth: []
summary: GET api / daily checklists / phase / :idDailyChecklist
tags:
- Daily Checklists
/api/daily-checklists/relation/{idDailyChecklist}:
get:
description: Read access to `/api/daily-checklists/relation/:idDailyChecklist`.
parameters:
- description: Path parameter `idDailyChecklist`.
in: path
name: idDailyChecklist
required: true
schema:
example: "1"
type: string
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/SuccessEnvelope'
description: Successful response
"401":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Unauthorized
"403":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Forbidden
security:
- ApiKeyAuth: []
- BearerAuth: []
summary: GET api / daily checklists / relation / :idDailyChecklist
tags:
- Daily Checklists
/api/daily-checklists/report:
get:
description: Read access to `/api/daily-checklists/report`.
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/PaginatedEnvelope'
description: Successful response
"401":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Unauthorized
"403":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Forbidden
security:
- ApiKeyAuth: []
- BearerAuth: []
summary: GET api / daily checklists / report
tags:
- Daily Checklists
/api/daily-checklists/summary:
get:
description: Read access to `/api/daily-checklists/summary`.
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/PaginatedEnvelope'
description: Successful response
"401":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Unauthorized
"403":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Forbidden
security:
- ApiKeyAuth: []
- BearerAuth: []
summary: GET api / daily checklists / summary
tags:
- Daily Checklists
/api/daily-checklists/tasks:
get:
description: Read access to `/api/daily-checklists/tasks`.
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/PaginatedEnvelope'
description: Successful response
"401":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Unauthorized
"403":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Forbidden
security:
- ApiKeyAuth: []
- BearerAuth: []
summary: GET api / daily checklists / tasks
tags:
- Daily Checklists
/api/dashboards/:
get:
description: Read access to `/api/dashboards/`.
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/PaginatedEnvelope'
description: Successful response
"401":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Unauthorized
"403":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Forbidden
security:
- ApiKeyAuth: []
- BearerAuth: []
summary: GET api / dashboards
tags:
- Dashboards
/api/expenses/:
get:
description: Read access to `/api/expenses/`.
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/PaginatedEnvelope'
description: Successful response
"401":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Unauthorized
"403":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Forbidden
security:
- ApiKeyAuth: []
- BearerAuth: []
summary: GET api / expenses
tags:
- Expenses
/api/expenses/{id}:
get:
description: Read access to `/api/expenses/:id`.
parameters:
- description: Path parameter `id`.
in: path
name: id
required: true
schema:
example: "1"
type: string
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/SuccessEnvelope'
description: Successful response
"401":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Unauthorized
"403":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Forbidden
security:
- ApiKeyAuth: []
- BearerAuth: []
summary: GET api / expenses / :id
tags:
- Expenses
/api/finance/initial-balances/{id}:
get:
description: Read access to `/api/finance/initial-balances/:id`.
parameters:
- description: Path parameter `id`.
in: path
name: id
required: true
schema:
example: "1"
type: string
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/SuccessEnvelope'
description: Successful response
"401":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Unauthorized
"403":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Forbidden
security:
- ApiKeyAuth: []
- BearerAuth: []
summary: GET api / finance / initial balances / :id
tags:
- Finance
/api/finance/injections/{id}:
get:
description: Read access to `/api/finance/injections/:id`.
parameters:
- description: Path parameter `id`.
in: path
name: id
required: true
schema:
example: "1"
type: string
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/SuccessEnvelope'
description: Successful response
"401":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Unauthorized
"403":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Forbidden
security:
- ApiKeyAuth: []
- BearerAuth: []
summary: GET api / finance / injections / :id
tags:
- Finance
/api/finance/payments/{id}:
get:
description: Read access to `/api/finance/payments/:id`.
parameters:
- description: Path parameter `id`.
in: path
name: id
required: true
schema:
example: "1"
type: string
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/SuccessEnvelope'
description: Successful response
"401":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Unauthorized
"403":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Forbidden
security:
- ApiKeyAuth: []
- BearerAuth: []
summary: GET api / finance / payments / :id
tags:
- Finance
/api/finance/transactions/:
get:
description: Read access to `/api/finance/transactions/`.
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/PaginatedEnvelope'
description: Successful response
"401":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Unauthorized
"403":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Forbidden
security:
- ApiKeyAuth: []
- BearerAuth: []
summary: GET api / finance / transactions
tags:
- Finance
/api/finance/transactions/{id}:
get:
description: Read access to `/api/finance/transactions/:id`.
parameters:
- description: Path parameter `id`.
in: path
name: id
required: true
schema:
example: "1"
type: string
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/SuccessEnvelope'
description: Successful response
"401":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Unauthorized
"403":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Forbidden
security:
- ApiKeyAuth: []
- BearerAuth: []
summary: GET api / finance / transactions / :id
tags:
- Finance
/api/inventory/adjustments/:
get:
description: Read access to `/api/inventory/adjustments/`.
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/PaginatedEnvelope'
description: Successful response
"401":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Unauthorized
"403":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Forbidden
security:
- ApiKeyAuth: []
- BearerAuth: []
summary: GET api / inventory / adjustments
tags:
- Inventory
/api/inventory/adjustments/{id}:
get:
description: Read access to `/api/inventory/adjustments/:id`.
parameters:
- description: Path parameter `id`.
in: path
name: id
required: true
schema:
example: "1"
type: string
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/SuccessEnvelope'
description: Successful response
"401":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Unauthorized
"403":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Forbidden
security:
- ApiKeyAuth: []
- BearerAuth: []
summary: GET api / inventory / adjustments / :id
tags:
- Inventory
/api/inventory/product-stocks/:
get:
description: Read access to `/api/inventory/product-stocks/`.
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/PaginatedEnvelope'
description: Successful response
"401":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Unauthorized
"403":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Forbidden
security:
- ApiKeyAuth: []
- BearerAuth: []
summary: GET api / inventory / product stocks
tags:
- Inventory
/api/inventory/product-stocks/{id}:
get:
description: Read access to `/api/inventory/product-stocks/:id`.
parameters:
- description: Path parameter `id`.
in: path
name: id
required: true
schema:
example: "1"
type: string
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/SuccessEnvelope'
description: Successful response
"401":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Unauthorized
"403":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Forbidden
security:
- ApiKeyAuth: []
- BearerAuth: []
summary: GET api / inventory / product stocks / :id
tags:
- Inventory
/api/inventory/product-warehouses/:
get:
description: Read access to `/api/inventory/product-warehouses/`.
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/PaginatedEnvelope'
description: Successful response
"401":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Unauthorized
"403":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Forbidden
security:
- ApiKeyAuth: []
- BearerAuth: []
summary: GET api / inventory / product warehouses
tags:
- Inventory
/api/inventory/product-warehouses/{id}:
get:
description: Read access to `/api/inventory/product-warehouses/:id`.
parameters:
- description: Path parameter `id`.
in: path
name: id
required: true
schema:
example: "1"
type: string
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/SuccessEnvelope'
description: Successful response
"401":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Unauthorized
"403":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Forbidden
security:
- ApiKeyAuth: []
- BearerAuth: []
summary: GET api / inventory / product warehouses / :id
tags:
- Inventory
/api/inventory/transfers/:
get:
description: Read access to `/api/inventory/transfers/`.
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/PaginatedEnvelope'
description: Successful response
"401":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Unauthorized
"403":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Forbidden
security:
- ApiKeyAuth: []
- BearerAuth: []
summary: GET api / inventory / transfers
tags:
- Inventory
/api/inventory/transfers/{id}:
get:
description: Read access to `/api/inventory/transfers/:id`.
parameters:
- description: Path parameter `id`.
in: path
name: id
required: true
schema:
example: "1"
type: string
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/SuccessEnvelope'
description: Successful response
"401":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Unauthorized
"403":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Forbidden
security:
- ApiKeyAuth: []
- BearerAuth: []
summary: GET api / inventory / transfers / :id
tags:
- Inventory
/api/marketing/:
get:
description: Read access to `/api/marketing/`.
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/PaginatedEnvelope'
description: Successful response
"401":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Unauthorized
"403":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Forbidden
security:
- ApiKeyAuth: []
- BearerAuth: []
summary: GET api / marketing
tags:
- Marketing
/api/marketing/{id}:
get:
description: Read access to `/api/marketing/:id`.
parameters:
- description: Path parameter `id`.
in: path
name: id
required: true
schema:
example: "1"
type: string
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/SuccessEnvelope'
description: Successful response
"401":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Unauthorized
"403":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Forbidden
security:
- ApiKeyAuth: []
- BearerAuth: []
summary: GET api / marketing / :id
tags:
- Marketing
/api/master-data/areas/:
get:
description: Read access to `/api/master-data/areas/`.
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/PaginatedEnvelope'
description: Successful response
"401":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Unauthorized
"403":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Forbidden
security:
- ApiKeyAuth: []
- BearerAuth: []
summary: GET api / master data / areas
tags:
- Master Data
/api/master-data/areas/{id}:
get:
description: Read access to `/api/master-data/areas/:id`.
parameters:
- description: Path parameter `id`.
in: path
name: id
required: true
schema:
example: "1"
type: string
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/SuccessEnvelope'
description: Successful response
"401":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Unauthorized
"403":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Forbidden
security:
- ApiKeyAuth: []
- BearerAuth: []
summary: GET api / master data / areas / :id
tags:
- Master Data
/api/master-data/banks/:
get:
description: Read access to `/api/master-data/banks/`.
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/PaginatedEnvelope'
description: Successful response
"401":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Unauthorized
"403":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Forbidden
security:
- ApiKeyAuth: []
- BearerAuth: []
summary: GET api / master data / banks
tags:
- Master Data
/api/master-data/banks/{id}:
get:
description: Read access to `/api/master-data/banks/:id`.
parameters:
- description: Path parameter `id`.
in: path
name: id
required: true
schema:
example: "1"
type: string
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/SuccessEnvelope'
description: Successful response
"401":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Unauthorized
"403":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Forbidden
security:
- ApiKeyAuth: []
- BearerAuth: []
summary: GET api / master data / banks / :id
tags:
- Master Data
/api/master-data/config-checklists/:
get:
description: Read access to `/api/master-data/config-checklists/`.
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/PaginatedEnvelope'
description: Successful response
"401":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Unauthorized
"403":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Forbidden
security:
- ApiKeyAuth: []
- BearerAuth: []
summary: GET api / master data / config checklists
tags:
- Master Data
/api/master-data/config-checklists/{id}:
get:
description: Read access to `/api/master-data/config-checklists/:id`.
parameters:
- description: Path parameter `id`.
in: path
name: id
required: true
schema:
example: "1"
type: string
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/SuccessEnvelope'
description: Successful response
"401":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Unauthorized
"403":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Forbidden
security:
- ApiKeyAuth: []
- BearerAuth: []
summary: GET api / master data / config checklists / :id
tags:
- Master Data
/api/master-data/customers/:
get:
description: Read access to `/api/master-data/customers/`.
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/PaginatedEnvelope'
description: Successful response
"401":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Unauthorized
"403":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Forbidden
security:
- ApiKeyAuth: []
- BearerAuth: []
summary: GET api / master data / customers
tags:
- Master Data
/api/master-data/customers/{id}:
get:
description: Read access to `/api/master-data/customers/:id`.
parameters:
- description: Path parameter `id`.
in: path
name: id
required: true
schema:
example: "1"
type: string
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/SuccessEnvelope'
description: Successful response
"401":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Unauthorized
"403":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Forbidden
security:
- ApiKeyAuth: []
- BearerAuth: []
summary: GET api / master data / customers / :id
tags:
- Master Data
/api/master-data/employees/:
get:
description: Read access to `/api/master-data/employees/`.
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/PaginatedEnvelope'
description: Successful response
"401":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Unauthorized
"403":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Forbidden
security:
- ApiKeyAuth: []
- BearerAuth: []
summary: GET api / master data / employees
tags:
- Master Data
/api/master-data/employees/{id}:
get:
description: Read access to `/api/master-data/employees/:id`.
parameters:
- description: Path parameter `id`.
in: path
name: id
required: true
schema:
example: "1"
type: string
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/SuccessEnvelope'
description: Successful response
"401":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Unauthorized
"403":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Forbidden
security:
- ApiKeyAuth: []
- BearerAuth: []
summary: GET api / master data / employees / :id
tags:
- Master Data
/api/master-data/fcrs/:
get:
description: Read access to `/api/master-data/fcrs/`.
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/PaginatedEnvelope'
description: Successful response
"401":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Unauthorized
"403":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Forbidden
security:
- ApiKeyAuth: []
- BearerAuth: []
summary: GET api / master data / fcrs
tags:
- Master Data
/api/master-data/fcrs/{id}:
get:
description: Read access to `/api/master-data/fcrs/:id`.
parameters:
- description: Path parameter `id`.
in: path
name: id
required: true
schema:
example: "1"
type: string
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/SuccessEnvelope'
description: Successful response
"401":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Unauthorized
"403":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Forbidden
security:
- ApiKeyAuth: []
- BearerAuth: []
summary: GET api / master data / fcrs / :id
tags:
- Master Data
/api/master-data/flocks/:
get:
description: Read access to `/api/master-data/flocks/`.
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/PaginatedEnvelope'
description: Successful response
"401":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Unauthorized
"403":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Forbidden
security:
- ApiKeyAuth: []
- BearerAuth: []
summary: GET api / master data / flocks
tags:
- Master Data
/api/master-data/flocks/{id}:
get:
description: Read access to `/api/master-data/flocks/:id`.
parameters:
- description: Path parameter `id`.
in: path
name: id
required: true
schema:
example: "1"
type: string
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/SuccessEnvelope'
description: Successful response
"401":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Unauthorized
"403":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Forbidden
security:
- ApiKeyAuth: []
- BearerAuth: []
summary: GET api / master data / flocks / :id
tags:
- Master Data
/api/master-data/kandang-groups/:
get:
description: Read access to `/api/master-data/kandang-groups/`.
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/PaginatedEnvelope'
description: Successful response
"401":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Unauthorized
"403":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Forbidden
security:
- ApiKeyAuth: []
- BearerAuth: []
summary: GET api / master data / kandang groups
tags:
- Master Data
/api/master-data/kandang-groups/{id}:
get:
description: Read access to `/api/master-data/kandang-groups/:id`.
parameters:
- description: Path parameter `id`.
in: path
name: id
required: true
schema:
example: "1"
type: string
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/SuccessEnvelope'
description: Successful response
"401":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Unauthorized
"403":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Forbidden
security:
- ApiKeyAuth: []
- BearerAuth: []
summary: GET api / master data / kandang groups / :id
tags:
- Master Data
/api/master-data/kandangs/:
get:
description: Read access to `/api/master-data/kandangs/`.
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/PaginatedEnvelope'
description: Successful response
"401":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Unauthorized
"403":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Forbidden
security:
- ApiKeyAuth: []
- BearerAuth: []
summary: GET api / master data / kandangs
tags:
- Master Data
/api/master-data/kandangs/{id}:
get:
description: Read access to `/api/master-data/kandangs/:id`.
parameters:
- description: Path parameter `id`.
in: path
name: id
required: true
schema:
example: "1"
type: string
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/SuccessEnvelope'
description: Successful response
"401":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Unauthorized
"403":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Forbidden
security:
- ApiKeyAuth: []
- BearerAuth: []
summary: GET api / master data / kandangs / :id
tags:
- Master Data
/api/master-data/locations/:
get:
description: Read access to `/api/master-data/locations/`.
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/PaginatedEnvelope'
description: Successful response
"401":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Unauthorized
"403":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Forbidden
security:
- ApiKeyAuth: []
- BearerAuth: []
summary: GET api / master data / locations
tags:
- Master Data
/api/master-data/locations/{id}:
get:
description: Read access to `/api/master-data/locations/:id`.
parameters:
- description: Path parameter `id`.
in: path
name: id
required: true
schema:
example: "1"
type: string
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/SuccessEnvelope'
description: Successful response
"401":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Unauthorized
"403":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Forbidden
security:
- ApiKeyAuth: []
- BearerAuth: []
summary: GET api / master data / locations / :id
tags:
- Master Data
/api/master-data/nonstocks/:
get:
description: Read access to `/api/master-data/nonstocks/`.
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/PaginatedEnvelope'
description: Successful response
"401":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Unauthorized
"403":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Forbidden
security:
- ApiKeyAuth: []
- BearerAuth: []
summary: GET api / master data / nonstocks
tags:
- Master Data
/api/master-data/nonstocks/{id}:
get:
description: Read access to `/api/master-data/nonstocks/:id`.
parameters:
- description: Path parameter `id`.
in: path
name: id
required: true
schema:
example: "1"
type: string
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/SuccessEnvelope'
description: Successful response
"401":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Unauthorized
"403":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Forbidden
security:
- ApiKeyAuth: []
- BearerAuth: []
summary: GET api / master data / nonstocks / :id
tags:
- Master Data
/api/master-data/phase-activities/:
get:
description: Read access to `/api/master-data/phase-activities/`.
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/PaginatedEnvelope'
description: Successful response
"401":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Unauthorized
"403":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Forbidden
security:
- ApiKeyAuth: []
- BearerAuth: []
summary: GET api / master data / phase activities
tags:
- Master Data
/api/master-data/phase-activities/{id}:
get:
description: Read access to `/api/master-data/phase-activities/:id`.
parameters:
- description: Path parameter `id`.
in: path
name: id
required: true
schema:
example: "1"
type: string
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/SuccessEnvelope'
description: Successful response
"401":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Unauthorized
"403":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Forbidden
security:
- ApiKeyAuth: []
- BearerAuth: []
summary: GET api / master data / phase activities / :id
tags:
- Master Data
/api/master-data/phases/:
get:
description: Read access to `/api/master-data/phases/`.
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/PaginatedEnvelope'
description: Successful response
"401":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Unauthorized
"403":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Forbidden
security:
- ApiKeyAuth: []
- BearerAuth: []
summary: GET api / master data / phases
tags:
- Master Data
/api/master-data/phases/{id}:
get:
description: Read access to `/api/master-data/phases/:id`.
parameters:
- description: Path parameter `id`.
in: path
name: id
required: true
schema:
example: "1"
type: string
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/SuccessEnvelope'
description: Successful response
"401":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Unauthorized
"403":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Forbidden
security:
- ApiKeyAuth: []
- BearerAuth: []
summary: GET api / master data / phases / :id
tags:
- Master Data
/api/master-data/product-categories/:
get:
description: Read access to `/api/master-data/product-categories/`.
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/PaginatedEnvelope'
description: Successful response
"401":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Unauthorized
"403":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Forbidden
security:
- ApiKeyAuth: []
- BearerAuth: []
summary: GET api / master data / product categories
tags:
- Master Data
/api/master-data/product-categories/{id}:
get:
description: Read access to `/api/master-data/product-categories/:id`.
parameters:
- description: Path parameter `id`.
in: path
name: id
required: true
schema:
example: "1"
type: string
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/SuccessEnvelope'
description: Successful response
"401":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Unauthorized
"403":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Forbidden
security:
- ApiKeyAuth: []
- BearerAuth: []
summary: GET api / master data / product categories / :id
tags:
- Master Data
/api/master-data/production-standards/:
get:
description: Read access to `/api/master-data/production-standards/`.
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/PaginatedEnvelope'
description: Successful response
"401":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Unauthorized
"403":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Forbidden
security:
- ApiKeyAuth: []
- BearerAuth: []
summary: GET api / master data / production standards
tags:
- Master Data
/api/master-data/production-standards/{id}:
get:
description: Read access to `/api/master-data/production-standards/:id`.
parameters:
- description: Path parameter `id`.
in: path
name: id
required: true
schema:
example: "1"
type: string
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/SuccessEnvelope'
description: Successful response
"401":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Unauthorized
"403":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Forbidden
security:
- ApiKeyAuth: []
- BearerAuth: []
summary: GET api / master data / production standards / :id
tags:
- Master Data
/api/master-data/products/:
get:
description: Read access to `/api/master-data/products/`.
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/PaginatedEnvelope'
description: Successful response
"401":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Unauthorized
"403":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Forbidden
security:
- ApiKeyAuth: []
- BearerAuth: []
summary: GET api / master data / products
tags:
- Master Data
/api/master-data/products/{id}:
get:
description: Read access to `/api/master-data/products/:id`.
parameters:
- description: Path parameter `id`.
in: path
name: id
required: true
schema:
example: "1"
type: string
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/SuccessEnvelope'
description: Successful response
"401":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Unauthorized
"403":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Forbidden
security:
- ApiKeyAuth: []
- BearerAuth: []
summary: GET api / master data / products / :id
tags:
- Master Data
/api/master-data/suppliers/:
get:
description: Read access to `/api/master-data/suppliers/`.
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/PaginatedEnvelope'
description: Successful response
"401":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Unauthorized
"403":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Forbidden
security:
- ApiKeyAuth: []
- BearerAuth: []
summary: GET api / master data / suppliers
tags:
- Master Data
/api/master-data/suppliers/{id}:
get:
description: Read access to `/api/master-data/suppliers/:id`.
parameters:
- description: Path parameter `id`.
in: path
name: id
required: true
schema:
example: "1"
type: string
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/SuccessEnvelope'
description: Successful response
"401":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Unauthorized
"403":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Forbidden
security:
- ApiKeyAuth: []
- BearerAuth: []
summary: GET api / master data / suppliers / :id
tags:
- Master Data
/api/master-data/uoms/:
get:
description: Read access to `/api/master-data/uoms/`.
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/PaginatedEnvelope'
description: Successful response
"401":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Unauthorized
"403":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Forbidden
security:
- ApiKeyAuth: []
- BearerAuth: []
summary: GET api / master data / uoms
tags:
- Master Data
/api/master-data/uoms/{id}:
get:
description: Read access to `/api/master-data/uoms/:id`.
parameters:
- description: Path parameter `id`.
in: path
name: id
required: true
schema:
example: "1"
type: string
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/SuccessEnvelope'
description: Successful response
"401":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Unauthorized
"403":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Forbidden
security:
- ApiKeyAuth: []
- BearerAuth: []
summary: GET api / master data / uoms / :id
tags:
- Master Data
/api/master-data/warehouses/:
get:
description: Read access to `/api/master-data/warehouses/`.
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/PaginatedEnvelope'
description: Successful response
"401":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Unauthorized
"403":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Forbidden
security:
- ApiKeyAuth: []
- BearerAuth: []
summary: GET api / master data / warehouses
tags:
- Master Data
/api/master-data/warehouses/{id}:
get:
description: Read access to `/api/master-data/warehouses/:id`.
parameters:
- description: Path parameter `id`.
in: path
name: id
required: true
schema:
example: "1"
type: string
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/SuccessEnvelope'
description: Successful response
"401":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Unauthorized
"403":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Forbidden
security:
- ApiKeyAuth: []
- BearerAuth: []
summary: GET api / master data / warehouses / :id
tags:
- Master Data
/api/production/chickins/{id}:
get:
description: Read access to `/api/production/chickins/:id`.
parameters:
- description: Path parameter `id`.
in: path
name: id
required: true
schema:
example: "1"
type: string
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/SuccessEnvelope'
description: Successful response
"401":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Unauthorized
"403":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Forbidden
security:
- ApiKeyAuth: []
- BearerAuth: []
summary: GET api / production / chickins / :id
tags:
- Production
/api/production/project-flock-kandangs/:
get:
description: Read access to `/api/production/project-flock-kandangs/`.
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/PaginatedEnvelope'
description: Successful response
"401":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Unauthorized
"403":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Forbidden
security:
- ApiKeyAuth: []
- BearerAuth: []
summary: GET api / production / project flock kandangs
tags:
- Production
/api/production/project-flock-kandangs/{id}:
get:
description: Read access to `/api/production/project-flock-kandangs/:id`.
parameters:
- description: Path parameter `id`.
in: path
name: id
required: true
schema:
example: "1"
type: string
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/SuccessEnvelope'
description: Successful response
"401":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Unauthorized
"403":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Forbidden
security:
- ApiKeyAuth: []
- BearerAuth: []
summary: GET api / production / project flock kandangs / :id
tags:
- Production
/api/production/project-flock-kandangs/{id}/closing/check:
get:
description: Read access to `/api/production/project-flock-kandangs/:id/closing/check`.
parameters:
- description: Path parameter `id`.
in: path
name: id
required: true
schema:
example: "1"
type: string
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/SuccessEnvelope'
description: Successful response
"401":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Unauthorized
"403":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Forbidden
security:
- ApiKeyAuth: []
- BearerAuth: []
summary: GET api / production / project flock kandangs / :id / closing / check
tags:
- Production
/api/production/project-flocks/:
get:
description: Read access to `/api/production/project-flocks/`.
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/PaginatedEnvelope'
description: Successful response
"401":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Unauthorized
"403":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Forbidden
security:
- ApiKeyAuth: []
- BearerAuth: []
summary: GET api / production / project flocks
tags:
- Production
/api/production/project-flocks/{id}:
get:
description: Read access to `/api/production/project-flocks/:id`.
parameters:
- description: Path parameter `id`.
in: path
name: id
required: true
schema:
example: "1"
type: string
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/SuccessEnvelope'
description: Successful response
"401":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Unauthorized
"403":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Forbidden
security:
- ApiKeyAuth: []
- BearerAuth: []
summary: GET api / production / project flocks / :id
tags:
- Production
/api/production/project-flocks/kandangs/lookup:
get:
description: Read access to `/api/production/project-flocks/kandangs/lookup`.
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/PaginatedEnvelope'
description: Successful response
"401":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Unauthorized
"403":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Forbidden
security:
- ApiKeyAuth: []
- BearerAuth: []
summary: GET api / production / project flocks / kandangs / lookup
tags:
- Production
/api/production/project-flocks/locations/{location_id}/periods:
get:
description: Read access to `/api/production/project-flocks/locations/:location_id/periods`.
parameters:
- description: Path parameter `location_id`.
in: path
name: location_id
required: true
schema:
example: "1"
type: string
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/SuccessEnvelope'
description: Successful response
"401":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Unauthorized
"403":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Forbidden
security:
- ApiKeyAuth: []
- BearerAuth: []
summary: GET api / production / project flocks / locations / :location_id / periods
tags:
- Production
/api/production/recordings/:
get:
description: Read access to `/api/production/recordings/`.
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/PaginatedEnvelope'
description: Successful response
"401":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Unauthorized
"403":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Forbidden
security:
- ApiKeyAuth: []
- BearerAuth: []
summary: GET api / production / recordings
tags:
- Production
/api/production/recordings/{id}:
get:
description: Read access to `/api/production/recordings/:id`.
parameters:
- description: Path parameter `id`.
in: path
name: id
required: true
schema:
example: "1"
type: string
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/SuccessEnvelope'
description: Successful response
"401":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Unauthorized
"403":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Forbidden
security:
- ApiKeyAuth: []
- BearerAuth: []
summary: GET api / production / recordings / :id
tags:
- Production
/api/production/recordings/next-day:
get:
description: Read access to `/api/production/recordings/next-day`.
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/PaginatedEnvelope'
description: Successful response
"401":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Unauthorized
"403":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Forbidden
security:
- ApiKeyAuth: []
- BearerAuth: []
summary: GET api / production / recordings / next day
tags:
- Production
/api/production/transfer_layings/:
get:
description: Read access to `/api/production/transfer_layings/`.
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/PaginatedEnvelope'
description: Successful response
"401":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Unauthorized
"403":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Forbidden
security:
- ApiKeyAuth: []
- BearerAuth: []
summary: GET api / production / transfer_layings
tags:
- Production
/api/production/transfer_layings/{id}:
get:
description: Read access to `/api/production/transfer_layings/:id`.
parameters:
- description: Path parameter `id`.
in: path
name: id
required: true
schema:
example: "1"
type: string
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/SuccessEnvelope'
description: Successful response
"401":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Unauthorized
"403":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Forbidden
security:
- ApiKeyAuth: []
- BearerAuth: []
summary: GET api / production / transfer_layings / :id
tags:
- Production
/api/production/transfer_layings/project-flocks/{project_flock_id}/available-qty:
get:
description: Read access to `/api/production/transfer_layings/project-flocks/:project_flock_id/available-qty`.
parameters:
- description: Path parameter `project_flock_id`.
in: path
name: project_flock_id
required: true
schema:
example: "1"
type: string
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/SuccessEnvelope'
description: Successful response
"401":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Unauthorized
"403":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Forbidden
security:
- ApiKeyAuth: []
- BearerAuth: []
summary: GET api / production / transfer_layings / project flocks / :project_flock_id / available qty
tags:
- Production
/api/production/transfer_layings/project-flocks/{project_flock_id}/max-target-qty:
get:
description: Read access to `/api/production/transfer_layings/project-flocks/:project_flock_id/max-target-qty`.
parameters:
- description: Path parameter `project_flock_id`.
in: path
name: project_flock_id
required: true
schema:
example: "1"
type: string
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/SuccessEnvelope'
description: Successful response
"401":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Unauthorized
"403":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Forbidden
security:
- ApiKeyAuth: []
- BearerAuth: []
summary: GET api / production / transfer_layings / project flocks / :project_flock_id / max target qty
tags:
- Production
/api/production/uniformities/:
get:
description: Read access to `/api/production/uniformities/`.
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/PaginatedEnvelope'
description: Successful response
"401":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Unauthorized
"403":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Forbidden
security:
- ApiKeyAuth: []
- BearerAuth: []
summary: GET api / production / uniformities
tags:
- Production
/api/production/uniformities/{id}:
get:
description: Read access to `/api/production/uniformities/:id`.
parameters:
- description: Path parameter `id`.
in: path
name: id
required: true
schema:
example: "1"
type: string
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/SuccessEnvelope'
description: Successful response
"401":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Unauthorized
"403":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Forbidden
security:
- ApiKeyAuth: []
- BearerAuth: []
summary: GET api / production / uniformities / :id
tags:
- Production
/api/purchases/:
get:
description: Read access to `/api/purchases/`.
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/PaginatedEnvelope'
description: Successful response
"401":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Unauthorized
"403":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Forbidden
security:
- ApiKeyAuth: []
- BearerAuth: []
summary: GET api / purchases
tags:
- Purchases
/api/purchases/{id}:
get:
description: Read access to `/api/purchases/:id`.
parameters:
- description: Path parameter `id`.
in: path
name: id
required: true
schema:
example: "1"
type: string
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/SuccessEnvelope'
description: Successful response
"401":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Unauthorized
"403":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Forbidden
security:
- ApiKeyAuth: []
- BearerAuth: []
summary: GET api / purchases / :id
tags:
- Purchases
/api/reports/customer-payment:
get:
description: Read access to `/api/reports/customer-payment`.
parameters:
- description: Page number.
example: 1
in: query
name: page
required: false
schema:
type: integer
- description: Page size.
example: 10
in: query
name: limit
required: false
schema:
type: integer
- description: Period start date (YYYY-MM-DD).
example: "2026-01-01"
in: query
name: start_date
required: false
schema:
type: string
- description: Period end date (YYYY-MM-DD).
example: "2026-01-31"
in: query
name: end_date
required: false
schema:
type: string
- description: Comma separated customer ids.
example: 1,2
in: query
name: customer_ids
required: false
schema:
type: string
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/PaginatedEnvelope'
description: Successful response
"401":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Unauthorized
"403":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Forbidden
security:
- ApiKeyAuth: []
- BearerAuth: []
summary: GET api / reports / customer payment
tags:
- Reports
/api/reports/debt-supplier:
get:
description: Read access to `/api/reports/debt-supplier`.
parameters:
- description: Page number.
example: 1
in: query
name: page
required: false
schema:
type: integer
- description: Page size.
example: 10
in: query
name: limit
required: false
schema:
type: integer
- description: Period start date (YYYY-MM-DD).
example: "2026-01-01"
in: query
name: start_date
required: false
schema:
type: string
- description: Period end date (YYYY-MM-DD).
example: "2026-01-31"
in: query
name: end_date
required: false
schema:
type: string
- description: Comma separated supplier ids.
example: 1,2
in: query
name: supplier_ids
required: false
schema:
type: string
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/PaginatedEnvelope'
description: Successful response
"401":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Unauthorized
"403":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Forbidden
security:
- ApiKeyAuth: []
- BearerAuth: []
summary: GET api / reports / debt supplier
tags:
- Reports
/api/reports/expense:
get:
description: Read access to `/api/reports/expense`.
parameters:
- description: Page number.
example: 1
in: query
name: page
required: false
schema:
type: integer
- description: Page size.
example: 10
in: query
name: limit
required: false
schema:
type: integer
- description: Search keyword.
example: operasional
in: query
name: search
required: false
schema:
type: string
- description: Expense category filter.
example: BOP
in: query
name: category
required: false
schema:
type: string
- description: Supplier id filter.
example: 1
in: query
name: supplier_id
required: false
schema:
type: integer
- description: Location id filter.
example: 1
in: query
name: location_id
required: false
schema:
type: integer
- description: Area id filter.
example: 1
in: query
name: area_id
required: false
schema:
type: integer
- description: Realization date filter (YYYY-MM-DD).
example: "2026-01-15"
in: query
name: realization_date
required: false
schema:
type: string
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/PaginatedEnvelope'
description: Successful response
"401":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Unauthorized
"403":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Forbidden
security:
- ApiKeyAuth: []
- BearerAuth: []
summary: GET api / reports / expense
tags:
- Reports
/api/reports/hpp-per-kandang:
get:
description: Read access to `/api/reports/hpp-per-kandang`.
parameters:
- description: Page number.
example: 1
in: query
name: page
required: false
schema:
type: integer
- description: Page size.
example: 10
in: query
name: limit
required: false
schema:
type: integer
- description: Daily period filter (YYYY-MM).
example: 2026-01
in: query
name: period
required: false
schema:
type: string
- description: Location id filter.
example: 1
in: query
name: location_id
required: false
schema:
type: integer
- description: Kandang id filter.
example: 1
in: query
name: kandang_id
required: false
schema:
type: integer
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/PaginatedEnvelope'
description: Successful response
"401":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Unauthorized
"403":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Forbidden
security:
- ApiKeyAuth: []
- BearerAuth: []
summary: GET api / reports / hpp per kandang
tags:
- Reports
/api/reports/marketing:
get:
description: Read access to `/api/reports/marketing`.
parameters:
- description: Page number.
example: 1
in: query
name: page
required: false
schema:
type: integer
- description: Page size.
example: 10
in: query
name: limit
required: false
schema:
type: integer
- description: Period start date (YYYY-MM-DD).
example: "2026-01-01"
in: query
name: start_date
required: false
schema:
type: string
- description: Period end date (YYYY-MM-DD).
example: "2026-01-31"
in: query
name: end_date
required: false
schema:
type: string
- description: Customer id filter.
example: 1
in: query
name: customer_id
required: false
schema:
type: integer
- description: Location id filter.
example: 1
in: query
name: location_id
required: false
schema:
type: integer
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/PaginatedEnvelope'
description: Successful response
"401":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Unauthorized
"403":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Forbidden
security:
- ApiKeyAuth: []
- BearerAuth: []
summary: GET api / reports / marketing
tags:
- Reports
/api/reports/production-result/{idProjectFlockKandang}:
get:
description: Read access to `/api/reports/production-result/:idProjectFlockKandang`.
parameters:
- description: Path parameter `idProjectFlockKandang`.
in: path
name: idProjectFlockKandang
required: true
schema:
example: "1"
type: string
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/SuccessEnvelope'
description: Successful response
"401":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Unauthorized
"403":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Forbidden
security:
- ApiKeyAuth: []
- BearerAuth: []
summary: GET api / reports / production result / :idProjectFlockKandang
tags:
- Reports
/api/reports/purchase-supplier:
get:
description: Read access to `/api/reports/purchase-supplier`.
parameters:
- description: Page number.
example: 1
in: query
name: page
required: false
schema:
type: integer
- description: Page size.
example: 10
in: query
name: limit
required: false
schema:
type: integer
- description: Period start date (YYYY-MM-DD).
example: "2026-01-01"
in: query
name: start_date
required: false
schema:
type: string
- description: Period end date (YYYY-MM-DD).
example: "2026-01-31"
in: query
name: end_date
required: false
schema:
type: string
- description: Comma separated supplier ids.
example: 1,2
in: query
name: supplier_id
required: false
schema:
type: string
- description: Comma separated area ids.
example: 1,2
in: query
name: area_id
required: false
schema:
type: string
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/PaginatedEnvelope'
description: Successful response
"401":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Unauthorized
"403":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Forbidden
security:
- ApiKeyAuth: []
- BearerAuth: []
summary: GET api / reports / purchase supplier
tags:
- Reports
/api/sso/callback:
get:
description: Read access to `/api/sso/callback`.
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/SuccessEnvelope'
description: Successful response
"401":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Unauthorized
"403":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Forbidden
summary: GET api / sso / callback
tags:
- SSO
/api/sso/master/areas:
get:
description: Read access to `/api/sso/master/areas`.
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/SuccessEnvelope'
description: Successful response
"401":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Unauthorized
"403":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Forbidden
summary: GET api / sso / master / areas
tags:
- SSO
/api/sso/master/locations:
get:
description: Read access to `/api/sso/master/locations`.
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/SuccessEnvelope'
description: Successful response
"401":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Unauthorized
"403":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Forbidden
summary: GET api / sso / master / locations
tags:
- SSO
/api/sso/start:
get:
description: Read access to `/api/sso/start`.
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/SuccessEnvelope'
description: Successful response
"401":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Unauthorized
"403":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Forbidden
summary: GET api / sso / start
tags:
- SSO
/api/sso/userinfo:
get:
description: Read access to `/api/sso/userinfo`.
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/SuccessEnvelope'
description: Successful response
"401":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Unauthorized
"403":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Forbidden
security:
- BearerAuth: []
summary: GET api / sso / userinfo
tags:
- SSO
/api/users/:
get:
description: Read access to `/api/users/`.
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/PaginatedEnvelope'
description: Successful response
"401":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Unauthorized
"403":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Forbidden
security:
- ApiKeyAuth: []
- BearerAuth: []
summary: GET api / users
tags:
- Users
/api/users/{id}:
get:
description: Read access to `/api/users/:id`.
parameters:
- description: Path parameter `id`.
in: path
name: id
required: true
schema:
example: "1"
type: string
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/SuccessEnvelope'
description: Successful response
"401":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Unauthorized
"403":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Forbidden
security:
- ApiKeyAuth: []
- BearerAuth: []
summary: GET api / users / :id
tags:
- Users
/healthz:
get:
description: Simple liveness probe.
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/SuccessEnvelope'
description: Successful response
"401":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Unauthorized
"403":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Forbidden
summary: Health check
tags:
- System
/readyz:
get:
description: Readiness probe for database and Redis.
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/SuccessEnvelope'
description: Successful response
"401":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Unauthorized
"403":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
description: Forbidden
summary: Readiness check
tags:
- System
servers:
- url: http://localhost:8081