| GET | /api/v2/tax-declarations/inventory |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| PeriodType | form | PeriodType | No | |
| PeriodValue | form | int | No | |
| PeriodYear | form | int | No |
| Name | Value | |
|---|---|---|
| Monthly | 1 | enum_Monthly |
| Quarterly | 2 | enum_Quarterly |
| Yearly | 3 | enum_Yearly |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Data | form | List<TaxDeclarationInventoryDto> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ProductId | form | long? | No | |
| ProductCode | form | string | No | |
| ProductName | form | string | No | |
| ProductUnit | form | string | No | |
| ClosingOnHand | form | string | No | |
| ClosingValue | form | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Data | form | List<TaxDeclarationInventoryDto> | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /api/v2/tax-declarations/inventory HTTP/1.1 Host: api.pos365.vn Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
Data:
[
{
ProductId: 0,
ProductCode: String,
ProductName: String,
ProductUnit: String,
ClosingOnHand: String,
ClosingValue: String
}
]
}