POST api/DanhMucQuocGia/List

Request Information

URI Parameters

None.

Body Parameters

GetListDanhMucQuocGiaRequest
NameDescriptionTypeAdditional information
PageSize

integer

None.

PageIndex

integer

None.

TenQuocGia

string

None.

TenThanhPhoQuanHuyen

string

None.

Request Formats

application/json, text/json

Sample:
{
  "PageSize": 1,
  "PageIndex": 1,
  "TenQuocGia": "sample string 1",
  "TenThanhPhoQuanHuyen": "sample string 2"
}

application/xml, text/xml

Sample:
<GetListDanhMucQuocGiaRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Common.Model.Request.QuocGia_QuanHuyen">
  <PageIndex>1</PageIndex>
  <PageSize>1</PageSize>
  <TenQuocGia>sample string 1</TenQuocGia>
  <TenThanhPhoQuanHuyen>sample string 2</TenThanhPhoQuanHuyen>
</GetListDanhMucQuocGiaRequest>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'GetListDanhMucQuocGiaRequest'.

Response Information

Resource Description

PaginatorResponseOfDanhMucQuocGiaDto
NameDescriptionTypeAdditional 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.

Items

Collection of DanhMucQuocGiaDto

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,
  "Items": [
    {
      "Id": 1,
      "TenQuocGia": "sample string 1",
      "MoTa": "sample string 2",
      "IsShowSub": true,
      "LstDanhMucThanhPhoQuanHuyenDto": [
        {
          "Id": 1.0,
          "DanhMucQuocGiaId": 1.0,
          "TenThanhPhoQuanHuyen": "sample string 1",
          "MoTa": "sample string 2"
        },
        {
          "Id": 1.0,
          "DanhMucQuocGiaId": 1.0,
          "TenThanhPhoQuanHuyen": "sample string 1",
          "MoTa": "sample string 2"
        }
      ]
    },
    {
      "Id": 1,
      "TenQuocGia": "sample string 1",
      "MoTa": "sample string 2",
      "IsShowSub": true,
      "LstDanhMucThanhPhoQuanHuyenDto": [
        {
          "Id": 1.0,
          "DanhMucQuocGiaId": 1.0,
          "TenThanhPhoQuanHuyen": "sample string 1",
          "MoTa": "sample string 2"
        },
        {
          "Id": 1.0,
          "DanhMucQuocGiaId": 1.0,
          "TenThanhPhoQuanHuyen": "sample string 1",
          "MoTa": "sample string 2"
        }
      ]
    }
  ]
}

application/xml, text/xml

Sample:
<PaginatorResponseOfDanhMucQuocGiaDtowR_PbUh2j 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.Dto.Common">
    <d2p1:DanhMucQuocGiaDto>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:IsShowSub>true</d2p1:IsShowSub>
      <d2p1:LstDanhMucThanhPhoQuanHuyenDto>
        <d2p1:DanhMucThanhPhoQuanHuyenDto>
          <d2p1:DanhMucQuocGiaId>1</d2p1:DanhMucQuocGiaId>
          <d2p1:Id>1</d2p1:Id>
          <d2p1:MoTa>sample string 2</d2p1:MoTa>
          <d2p1:TenThanhPhoQuanHuyen>sample string 1</d2p1:TenThanhPhoQuanHuyen>
        </d2p1:DanhMucThanhPhoQuanHuyenDto>
        <d2p1:DanhMucThanhPhoQuanHuyenDto>
          <d2p1:DanhMucQuocGiaId>1</d2p1:DanhMucQuocGiaId>
          <d2p1:Id>1</d2p1:Id>
          <d2p1:MoTa>sample string 2</d2p1:MoTa>
          <d2p1:TenThanhPhoQuanHuyen>sample string 1</d2p1:TenThanhPhoQuanHuyen>
        </d2p1:DanhMucThanhPhoQuanHuyenDto>
      </d2p1:LstDanhMucThanhPhoQuanHuyenDto>
      <d2p1:MoTa>sample string 2</d2p1:MoTa>
      <d2p1:TenQuocGia>sample string 1</d2p1:TenQuocGia>
    </d2p1:DanhMucQuocGiaDto>
    <d2p1:DanhMucQuocGiaDto>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:IsShowSub>true</d2p1:IsShowSub>
      <d2p1:LstDanhMucThanhPhoQuanHuyenDto>
        <d2p1:DanhMucThanhPhoQuanHuyenDto>
          <d2p1:DanhMucQuocGiaId>1</d2p1:DanhMucQuocGiaId>
          <d2p1:Id>1</d2p1:Id>
          <d2p1:MoTa>sample string 2</d2p1:MoTa>
          <d2p1:TenThanhPhoQuanHuyen>sample string 1</d2p1:TenThanhPhoQuanHuyen>
        </d2p1:DanhMucThanhPhoQuanHuyenDto>
        <d2p1:DanhMucThanhPhoQuanHuyenDto>
          <d2p1:DanhMucQuocGiaId>1</d2p1:DanhMucQuocGiaId>
          <d2p1:Id>1</d2p1:Id>
          <d2p1:MoTa>sample string 2</d2p1:MoTa>
          <d2p1:TenThanhPhoQuanHuyen>sample string 1</d2p1:TenThanhPhoQuanHuyen>
        </d2p1:DanhMucThanhPhoQuanHuyenDto>
      </d2p1:LstDanhMucThanhPhoQuanHuyenDto>
      <d2p1:MoTa>sample string 2</d2p1:MoTa>
      <d2p1:TenQuocGia>sample string 1</d2p1:TenQuocGia>
    </d2p1:DanhMucQuocGiaDto>
  </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>
  <TotalDebt>6</TotalDebt>
  <TotalIncome>4</TotalIncome>
  <TotalMoney>2</TotalMoney>
  <TotalOrderAmount>7</TotalOrderAmount>
  <TotalPaid>8</TotalPaid>
  <TotalSpend>5</TotalSpend>
</PaginatorResponseOfDanhMucQuocGiaDtowR_PbUh2j>