GET api/DanhMucQuocGia/GetListDanhMucQuocGia

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of DanhMucQuocGiaDto
NameDescriptionTypeAdditional information
Id

integer

None.

TenQuocGia

string

None.

MoTa

string

None.

IsShowSub

boolean

None.

LstDanhMucThanhPhoQuanHuyenDto

Collection of DanhMucThanhPhoQuanHuyenDto

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "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:
<ArrayOfDanhMucQuocGiaDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Common.Model.Dto.Common">
  <DanhMucQuocGiaDto>
    <Id>1</Id>
    <IsShowSub>true</IsShowSub>
    <LstDanhMucThanhPhoQuanHuyenDto>
      <DanhMucThanhPhoQuanHuyenDto>
        <DanhMucQuocGiaId>1</DanhMucQuocGiaId>
        <Id>1</Id>
        <MoTa>sample string 2</MoTa>
        <TenThanhPhoQuanHuyen>sample string 1</TenThanhPhoQuanHuyen>
      </DanhMucThanhPhoQuanHuyenDto>
      <DanhMucThanhPhoQuanHuyenDto>
        <DanhMucQuocGiaId>1</DanhMucQuocGiaId>
        <Id>1</Id>
        <MoTa>sample string 2</MoTa>
        <TenThanhPhoQuanHuyen>sample string 1</TenThanhPhoQuanHuyen>
      </DanhMucThanhPhoQuanHuyenDto>
    </LstDanhMucThanhPhoQuanHuyenDto>
    <MoTa>sample string 2</MoTa>
    <TenQuocGia>sample string 1</TenQuocGia>
  </DanhMucQuocGiaDto>
  <DanhMucQuocGiaDto>
    <Id>1</Id>
    <IsShowSub>true</IsShowSub>
    <LstDanhMucThanhPhoQuanHuyenDto>
      <DanhMucThanhPhoQuanHuyenDto>
        <DanhMucQuocGiaId>1</DanhMucQuocGiaId>
        <Id>1</Id>
        <MoTa>sample string 2</MoTa>
        <TenThanhPhoQuanHuyen>sample string 1</TenThanhPhoQuanHuyen>
      </DanhMucThanhPhoQuanHuyenDto>
      <DanhMucThanhPhoQuanHuyenDto>
        <DanhMucQuocGiaId>1</DanhMucQuocGiaId>
        <Id>1</Id>
        <MoTa>sample string 2</MoTa>
        <TenThanhPhoQuanHuyen>sample string 1</TenThanhPhoQuanHuyen>
      </DanhMucThanhPhoQuanHuyenDto>
    </LstDanhMucThanhPhoQuanHuyenDto>
    <MoTa>sample string 2</MoTa>
    <TenQuocGia>sample string 1</TenQuocGia>
  </DanhMucQuocGiaDto>
</ArrayOfDanhMucQuocGiaDto>