POST api/MediaLibrary/List
Request Information
URI Parameters
None.
Body Parameters
MediaListRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| PageIndex | integer |
None. |
|
| PageSize | integer |
None. |
|
| KeySearch | string |
None. |
|
| Category | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"pageIndex": 1,
"pageSize": 1,
"keySearch": "sample string 1",
"category": 1
}
application/xml, text/xml
Sample:
<MediaListRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Common.Model.Request.Media"> <Category>1</Category> <KeySearch>sample string 1</KeySearch> <PageIndex>1</PageIndex> <PageSize>1</PageSize> </MediaListRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
PaginatorResponseOfMediaAssetDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Count | integer |
None. |
|
| TotalMoney | decimal number |
None. |
|
| PayingAmount | decimal number |
None. |
|
| TotalIncome | decimal number |
None. |
|
| TotalSpend | decimal number |
None. |
|
| TotalDebt | decimal number |
None. |
|
| TotalOrderAmount | decimal number |
None. |
|
| TotalPaid | decimal number |
None. |
|
| NhapHang_SoTienDaDua | decimal number |
None. |
|
| NhapHang_SoLuongSanPham | decimal number |
None. |
|
| NhapHang_TongTienSanPham | decimal number |
None. |
|
| NhapHang_HoanTien | decimal number |
None. |
|
| NhapHang_GhiChuTien | decimal number |
None. |
|
| SumTotalRevenue | decimal number |
None. |
|
| SumTotalExpense | decimal number |
None. |
|
| SumTotalRefund | decimal number |
None. |
|
| SumBudgetVariance | decimal number |
None. |
|
| Items | Collection of MediaAssetDto |
None. |
Response Formats
application/json, text/json
Sample:
{
"count": 1,
"totalMoney": 2.0,
"payingAmount": 3.0,
"totalIncome": 4.0,
"totalSpend": 5.0,
"totalDebt": 6.0,
"totalOrderAmount": 7.0,
"totalPaid": 8.0,
"nhapHang_SoTienDaDua": 9.0,
"nhapHang_SoLuongSanPham": 10.0,
"nhapHang_TongTienSanPham": 11.0,
"nhapHang_HoanTien": 12.0,
"nhapHang_GhiChuTien": 13.0,
"sumTotalRevenue": 14.0,
"sumTotalExpense": 15.0,
"sumTotalRefund": 16.0,
"sumBudgetVariance": 17.0,
"items": [
{
"id": "c72f585a-55d7-4e8a-902f-c5d17237f6b0",
"name": "sample string 2",
"fileId": "61ba9a21-1081-4ade-b981-40c99790b160",
"url": "sample string 4",
"contentType": "sample string 5",
"sizeBytes": 6,
"width": 1,
"height": 1,
"category": 7,
"categoryName": "sample string 8",
"tags": "sample string 9",
"createdTime": "2026-11-27T01:43:46.6070619+07:00",
"usageCount": 11
},
{
"id": "c72f585a-55d7-4e8a-902f-c5d17237f6b0",
"name": "sample string 2",
"fileId": "61ba9a21-1081-4ade-b981-40c99790b160",
"url": "sample string 4",
"contentType": "sample string 5",
"sizeBytes": 6,
"width": 1,
"height": 1,
"category": 7,
"categoryName": "sample string 8",
"tags": "sample string 9",
"createdTime": "2026-11-27T01:43:46.6070619+07:00",
"usageCount": 11
}
]
}
application/xml, text/xml
Sample:
<PaginatorResponseOfMediaAssetDtod3FQ8JvK xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Common.Model.Generics">
<Count>1</Count>
<Items xmlns:d2p1="http://schemas.datacontract.org/2004/07/Common.Model.Response.Media">
<d2p1:MediaAssetDto>
<d2p1:Category>7</d2p1:Category>
<d2p1:CategoryName>sample string 8</d2p1:CategoryName>
<d2p1:ContentType>sample string 5</d2p1:ContentType>
<d2p1:CreatedTime>2026-11-27T01:43:46.6070619+07:00</d2p1:CreatedTime>
<d2p1:FileId>61ba9a21-1081-4ade-b981-40c99790b160</d2p1:FileId>
<d2p1:Height>1</d2p1:Height>
<d2p1:Id>c72f585a-55d7-4e8a-902f-c5d17237f6b0</d2p1:Id>
<d2p1:Name>sample string 2</d2p1:Name>
<d2p1:SizeBytes>6</d2p1:SizeBytes>
<d2p1:Tags>sample string 9</d2p1:Tags>
<d2p1:Url>sample string 4</d2p1:Url>
<d2p1:UsageCount>11</d2p1:UsageCount>
<d2p1:Width>1</d2p1:Width>
</d2p1:MediaAssetDto>
<d2p1:MediaAssetDto>
<d2p1:Category>7</d2p1:Category>
<d2p1:CategoryName>sample string 8</d2p1:CategoryName>
<d2p1:ContentType>sample string 5</d2p1:ContentType>
<d2p1:CreatedTime>2026-11-27T01:43:46.6070619+07:00</d2p1:CreatedTime>
<d2p1:FileId>61ba9a21-1081-4ade-b981-40c99790b160</d2p1:FileId>
<d2p1:Height>1</d2p1:Height>
<d2p1:Id>c72f585a-55d7-4e8a-902f-c5d17237f6b0</d2p1:Id>
<d2p1:Name>sample string 2</d2p1:Name>
<d2p1:SizeBytes>6</d2p1:SizeBytes>
<d2p1:Tags>sample string 9</d2p1:Tags>
<d2p1:Url>sample string 4</d2p1:Url>
<d2p1:UsageCount>11</d2p1:UsageCount>
<d2p1:Width>1</d2p1:Width>
</d2p1:MediaAssetDto>
</Items>
<NhapHang_GhiChuTien>13</NhapHang_GhiChuTien>
<NhapHang_HoanTien>12</NhapHang_HoanTien>
<NhapHang_SoLuongSanPham>10</NhapHang_SoLuongSanPham>
<NhapHang_SoTienDaDua>9</NhapHang_SoTienDaDua>
<NhapHang_TongTienSanPham>11</NhapHang_TongTienSanPham>
<PayingAmount>3</PayingAmount>
<SumBudgetVariance>17</SumBudgetVariance>
<SumTotalExpense>15</SumTotalExpense>
<SumTotalRefund>16</SumTotalRefund>
<SumTotalRevenue>14</SumTotalRevenue>
<TotalDebt>6</TotalDebt>
<TotalIncome>4</TotalIncome>
<TotalMoney>2</TotalMoney>
<TotalOrderAmount>7</TotalOrderAmount>
<TotalPaid>8</TotalPaid>
<TotalSpend>5</TotalSpend>
</PaginatorResponseOfMediaAssetDtod3FQ8JvK>