<back to all web services
LedgerDeleteInventoryCostSnapshot
The following routes are available for this service:| DELETE | /api/ledger/inventorycosts | | |
|---|
InventoryCostSnapshotBase Parameters:| Name | Parameter | Data Type | Required | Description |
|---|
| PeriodType | form | PeriodType | No | Loại kỳ kế toán (1: Monthly, 2: Quarterly, 3: Yearly). Măc định là Monthly |
| PeriodYear | form | int | Yes | Năm kế toán (VD: 2026) |
| PeriodValue | form | int | Yes | Giá trị kỳ (Tháng: 1–12, Quý: 1–4) |
| BranchId | form | int | No | Id chi nhánh |
PeriodType Enum:| Name | Value | |
|---|
| Monthly | 1 | enum_Monthly |
| Quarterly | 2 | enum_Quarterly |
| Yearly | 3 | enum_Yearly |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
HTTP + JSV
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
DELETE /api/ledger/inventorycosts HTTP/1.1
Host: api.pos365.vn
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
}