POST TKB_Ky/SchoolFaceEventGetByMacb?macb={macb}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
macb

string

Required

Body Parameters

None.

Response Information

Resource Description

RT_ChamCong_Dto
NameDescriptionTypeAdditional information
LIST_DATA

Collection of ChamCong_Dto

None.

PAGE

ResultPageDto

None.

MSG

ResultMessageDto

None.

ID

integer

None.

AccessToken

string

None.

Response Formats

application/json, text/json

Sample:
{
  "LIST_DATA": [
    {
      "HoTen": "sample string 1",
      "MaChamCong": "sample string 2",
      "GiangDuong": "sample string 3",
      "ThoiGianCham": "2024-12-22T00:24:39.8884213+07:00"
    },
    {
      "HoTen": "sample string 1",
      "MaChamCong": "sample string 2",
      "GiangDuong": "sample string 3",
      "ThoiGianCham": "2024-12-22T00:24:39.8884213+07:00"
    }
  ],
  "PAGE": {
    "COUNT": 1,
    "TOTAL_PAGE": 2,
    "PAGE": 3,
    "COUNT_ONE_PAGE": 4
  },
  "MSG": {
    "CODE": 0,
    "ERROR_CODE": "sample string 1",
    "MESSAGE": "sample string 2",
    "ERR": {
      "ClassName": "System.Exception",
      "Message": null,
      "Data": null,
      "InnerException": null,
      "HelpURL": "sample string 1",
      "StackTraceString": null,
      "RemoteStackTraceString": null,
      "RemoteStackIndex": 0,
      "ExceptionMethod": null,
      "HResult": 3,
      "Source": "sample string 2",
      "WatsonBuckets": null
    },
    "ERR_MESSAGE": "sample string 3"
  },
  "ID": 1,
  "AccessToken": "sample string 1"
}

application/xml, text/xml

Sample:
<RT_ChamCong_Dto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UEB.ThongKeGioGiang">
  <AccessToken>sample string 1</AccessToken>
  <ID>1</ID>
  <MSG>
    <CODE>NOT_SUCCESS</CODE>
    <ERR xmlns:d3p1="http://schemas.datacontract.org/2004/07/System">
      <ClassName xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string" xmlns="">System.Exception</ClassName>
      <Message i:nil="true" xmlns="" />
      <Data i:nil="true" xmlns="" />
      <InnerException i:nil="true" xmlns="" />
      <HelpURL xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string" xmlns="">sample string 1</HelpURL>
      <StackTraceString i:nil="true" xmlns="" />
      <RemoteStackTraceString i:nil="true" xmlns="" />
      <RemoteStackIndex xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:int" xmlns="">0</RemoteStackIndex>
      <ExceptionMethod i:nil="true" xmlns="" />
      <HResult xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:int" xmlns="">3</HResult>
      <Source xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string" xmlns="">sample string 2</Source>
      <WatsonBuckets i:nil="true" xmlns="" />
    </ERR>
    <ERROR_CODE>sample string 1</ERROR_CODE>
    <ERR_MESSAGE>sample string 3</ERR_MESSAGE>
    <MESSAGE>sample string 2</MESSAGE>
  </MSG>
  <PAGE>
    <COUNT>1</COUNT>
    <COUNT_ONE_PAGE>4</COUNT_ONE_PAGE>
    <PAGE>3</PAGE>
    <TOTAL_PAGE>2</TOTAL_PAGE>
  </PAGE>
  <LIST_DATA xmlns:d2p1="http://schemas.datacontract.org/2004/07/UEB.ThongKeGioGiang.Dto">
    <d2p1:ChamCong_Dto>
      <d2p1:GiangDuong>sample string 3</d2p1:GiangDuong>
      <d2p1:HoTen>sample string 1</d2p1:HoTen>
      <d2p1:MaChamCong>sample string 2</d2p1:MaChamCong>
      <d2p1:ThoiGianCham>2024-12-22T00:24:39.8884213+07:00</d2p1:ThoiGianCham>
    </d2p1:ChamCong_Dto>
    <d2p1:ChamCong_Dto>
      <d2p1:GiangDuong>sample string 3</d2p1:GiangDuong>
      <d2p1:HoTen>sample string 1</d2p1:HoTen>
      <d2p1:MaChamCong>sample string 2</d2p1:MaChamCong>
      <d2p1:ThoiGianCham>2024-12-22T00:24:39.8884213+07:00</d2p1:ThoiGianCham>
    </d2p1:ChamCong_Dto>
  </LIST_DATA>
</RT_ChamCong_Dto>