POST TKB_Ky/COURSEs_Search

Request Information

URI Parameters

None.

Body Parameters

RQ_COURSE_Dto
NameDescriptionTypeAdditional information
term_ID

string

None.

crd_ID

string

None.

PAGE

RequestPageDto

None.

FILTER

string

None.

AccessToken

string

None.

Request Formats

application/json, text/json

Sample:
{
  "term_ID": "sample string 1",
  "crd_ID": "sample string 2",
  "PAGE": {
    "PAGE": 1,
    "COUNT_ONE_PAGE": 2
  },
  "FILTER": "sample string 3",
  "AccessToken": "sample string 4"
}

application/xml, text/xml

Sample:
<RQ_COURSE_Dto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UEB.ThongKeGioGiang">
  <AccessToken>sample string 4</AccessToken>
  <FILTER>sample string 3</FILTER>
  <PAGE>
    <COUNT_ONE_PAGE>2</COUNT_ONE_PAGE>
    <PAGE>1</PAGE>
  </PAGE>
  <crd_ID>sample string 2</crd_ID>
  <term_ID>sample string 1</term_ID>
</RQ_COURSE_Dto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

RT_COURSE_Dto
NameDescriptionTypeAdditional information
LIST_DATA

Collection of COURSE_Dto

None.

PAGE

ResultPageDto

None.

MSG

ResultMessageDto

None.

ID

integer

None.

AccessToken

string

None.

Response Formats

application/json, text/json

Sample:
{
  "LIST_DATA": [
    {
      "ID": 1,
      "CSE_ID": "sample string 2",
      "CSE_CODE": "sample string 3",
      "CRD_ID": "sample string 4",
      "TERM_ID": "sample string 5",
      "NUM_STUNOW": 1
    },
    {
      "ID": 1,
      "CSE_ID": "sample string 2",
      "CSE_CODE": "sample string 3",
      "CRD_ID": "sample string 4",
      "TERM_ID": "sample string 5",
      "NUM_STUNOW": 1
    }
  ],
  "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_COURSE_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:COURSE_Dto>
      <d2p1:CRD_ID>sample string 4</d2p1:CRD_ID>
      <d2p1:CSE_CODE>sample string 3</d2p1:CSE_CODE>
      <d2p1:CSE_ID>sample string 2</d2p1:CSE_ID>
      <d2p1:ID>1</d2p1:ID>
      <d2p1:NUM_STUNOW>1</d2p1:NUM_STUNOW>
      <d2p1:TERM_ID>sample string 5</d2p1:TERM_ID>
    </d2p1:COURSE_Dto>
    <d2p1:COURSE_Dto>
      <d2p1:CRD_ID>sample string 4</d2p1:CRD_ID>
      <d2p1:CSE_CODE>sample string 3</d2p1:CSE_CODE>
      <d2p1:CSE_ID>sample string 2</d2p1:CSE_ID>
      <d2p1:ID>1</d2p1:ID>
      <d2p1:NUM_STUNOW>1</d2p1:NUM_STUNOW>
      <d2p1:TERM_ID>sample string 5</d2p1:TERM_ID>
    </d2p1:COURSE_Dto>
  </LIST_DATA>
</RT_COURSE_Dto>