mirror of
https://gitlab.com/mbugroup/lti-api.git
synced 2026-05-20 13:31:56 +00:00
init depresiasi
This commit is contained in:
@@ -8559,6 +8559,218 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
"/api/reports/expense/depreciation": {
|
||||
"get": {
|
||||
"description": "Read access to `/api/reports/expense/depreciation`.",
|
||||
"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-DD).",
|
||||
"example": "2026-01-01",
|
||||
"in": "query",
|
||||
"name": "period",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
{
|
||||
"description": "Comma separated project flock ids.",
|
||||
"example": "1,2",
|
||||
"in": "query",
|
||||
"name": "project_flock_id",
|
||||
"required": false,
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
{
|
||||
"description": "Comma separated area ids.",
|
||||
"example": "1,2",
|
||||
"in": "query",
|
||||
"name": "area_id",
|
||||
"required": false,
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
{
|
||||
"description": "Comma separated location ids.",
|
||||
"example": "1,2",
|
||||
"in": "query",
|
||||
"name": "location_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 / expense / depreciation",
|
||||
"tags": [
|
||||
"Reports"
|
||||
]
|
||||
}
|
||||
},
|
||||
"/api/reports/expense/depreciation/manual-inputs": {
|
||||
"get": {
|
||||
"description": "Read access to `/api/reports/expense/depreciation/manual-inputs`.",
|
||||
"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": "Comma separated project flock ids.",
|
||||
"example": "1,2",
|
||||
"in": "query",
|
||||
"name": "project_flock_id",
|
||||
"required": false,
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
{
|
||||
"description": "Comma separated area ids.",
|
||||
"example": "1,2",
|
||||
"in": "query",
|
||||
"name": "area_id",
|
||||
"required": false,
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
{
|
||||
"description": "Comma separated location ids.",
|
||||
"example": "1,2",
|
||||
"in": "query",
|
||||
"name": "location_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 / expense / depreciation / manual inputs",
|
||||
"tags": [
|
||||
"Reports"
|
||||
]
|
||||
}
|
||||
},
|
||||
"/api/reports/hpp-per-kandang": {
|
||||
"get": {
|
||||
"description": "Read access to `/api/reports/hpp-per-kandang`.",
|
||||
|
||||
@@ -5318,6 +5318,141 @@ paths:
|
||||
summary: GET api / reports / expense
|
||||
tags:
|
||||
- Reports
|
||||
/api/reports/expense/depreciation:
|
||||
get:
|
||||
description: Read access to `/api/reports/expense/depreciation`.
|
||||
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-DD).
|
||||
example: "2026-01-01"
|
||||
in: query
|
||||
name: period
|
||||
required: true
|
||||
schema:
|
||||
type: string
|
||||
- description: Comma separated project flock ids.
|
||||
example: 1,2
|
||||
in: query
|
||||
name: project_flock_id
|
||||
required: false
|
||||
schema:
|
||||
type: string
|
||||
- description: Comma separated area ids.
|
||||
example: 1,2
|
||||
in: query
|
||||
name: area_id
|
||||
required: false
|
||||
schema:
|
||||
type: string
|
||||
- description: Comma separated location ids.
|
||||
example: 1,2
|
||||
in: query
|
||||
name: location_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 / expense / depreciation
|
||||
tags:
|
||||
- Reports
|
||||
/api/reports/expense/depreciation/manual-inputs:
|
||||
get:
|
||||
description: Read access to `/api/reports/expense/depreciation/manual-inputs`.
|
||||
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: Comma separated project flock ids.
|
||||
example: 1,2
|
||||
in: query
|
||||
name: project_flock_id
|
||||
required: false
|
||||
schema:
|
||||
type: string
|
||||
- description: Comma separated area ids.
|
||||
example: 1,2
|
||||
in: query
|
||||
name: area_id
|
||||
required: false
|
||||
schema:
|
||||
type: string
|
||||
- description: Comma separated location ids.
|
||||
example: 1,2
|
||||
in: query
|
||||
name: location_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 / expense / depreciation / manual inputs
|
||||
tags:
|
||||
- Reports
|
||||
/api/reports/hpp-per-kandang:
|
||||
get:
|
||||
description: Read access to `/api/reports/hpp-per-kandang`.
|
||||
|
||||
@@ -1439,6 +1439,32 @@
|
||||
"url": "{{base_url}}/api/reports/expense?page=1\u0026limit=10\u0026search=operasional\u0026category=BOP\u0026supplier_id=1\u0026kandang_id=1\u0026project_flock_kandang_id=1\u0026nonstock_id=1\u0026location_id=1\u0026area_id=1\u0026realization_date=2026-01-15"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "GET api / reports / expense / depreciation",
|
||||
"request": {
|
||||
"header": [
|
||||
{
|
||||
"key": "Accept",
|
||||
"value": "application/json"
|
||||
}
|
||||
],
|
||||
"method": "GET",
|
||||
"url": "{{base_url}}/api/reports/expense/depreciation?page=1\u0026limit=10\u0026period=2026-01-01\u0026project_flock_id=1,2\u0026area_id=1,2\u0026location_id=1,2"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "GET api / reports / expense / depreciation / manual inputs",
|
||||
"request": {
|
||||
"header": [
|
||||
{
|
||||
"key": "Accept",
|
||||
"value": "application/json"
|
||||
}
|
||||
],
|
||||
"method": "GET",
|
||||
"url": "{{base_url}}/api/reports/expense/depreciation/manual-inputs?page=1\u0026limit=10\u0026project_flock_id=1,2\u0026area_id=1,2\u0026location_id=1,2"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "GET api / reports / hpp per kandang",
|
||||
"request": {
|
||||
|
||||
Reference in New Issue
Block a user