GET api/applicant/GetTrainingsList?lang={lang}&From={From}&To={To}&RegionId={RegionId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
lang

string

Required

From

date

None.

To

date

None.

RegionId

integer

Default value is 0

Body Parameters

None.

Response Information

Resource Description

Root1
NameDescriptionTypeAdditional information
Contents

Collection of Content

None.

ResponseStatus

ResponseStatus

None.

Response Formats

application/json, text/json

Sample:
{
  "Contents": [
    {
      "CourseId": "sample string 1",
      "TotalApplicants": 2,
      "Region": "sample string 3",
      "TrainingTitle": "sample string 4",
      "TrainingDate": "sample string 5",
      "TrainingStartTime": "sample string 6",
      "TrainingEndTime": "sample string 7",
      "IsVirtual": true,
      "CenterName": "sample string 9",
      "Description": "sample string 10",
      "DeliveryMode": "sample string 11",
      "TrainingType": 12
    },
    {
      "CourseId": "sample string 1",
      "TotalApplicants": 2,
      "Region": "sample string 3",
      "TrainingTitle": "sample string 4",
      "TrainingDate": "sample string 5",
      "TrainingStartTime": "sample string 6",
      "TrainingEndTime": "sample string 7",
      "IsVirtual": true,
      "CenterName": "sample string 9",
      "Description": "sample string 10",
      "DeliveryMode": "sample string 11",
      "TrainingType": 12
    }
  ],
  "ResponseStatus": {
    "StatusDescriptionEnglish": "sample string 1",
    "StatusCode": 2,
    "StatusDescriptionArabic": "sample string 3"
  }
}

application/xml, text/xml

Sample:
<PODMarriageTrainingDetails.Root1 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FDF.APIs.Models">
  <Contents>
    <PODMarriageTrainingDetails.Content>
      <CenterName>sample string 9</CenterName>
      <CourseId>sample string 1</CourseId>
      <DeliveryMode>sample string 11</DeliveryMode>
      <Description>sample string 10</Description>
      <IsVirtual>true</IsVirtual>
      <Region>sample string 3</Region>
      <TotalApplicants>2</TotalApplicants>
      <TrainingDate>sample string 5</TrainingDate>
      <TrainingEndTime>sample string 7</TrainingEndTime>
      <TrainingStartTime>sample string 6</TrainingStartTime>
      <TrainingTitle>sample string 4</TrainingTitle>
      <TrainingType>12</TrainingType>
    </PODMarriageTrainingDetails.Content>
    <PODMarriageTrainingDetails.Content>
      <CenterName>sample string 9</CenterName>
      <CourseId>sample string 1</CourseId>
      <DeliveryMode>sample string 11</DeliveryMode>
      <Description>sample string 10</Description>
      <IsVirtual>true</IsVirtual>
      <Region>sample string 3</Region>
      <TotalApplicants>2</TotalApplicants>
      <TrainingDate>sample string 5</TrainingDate>
      <TrainingEndTime>sample string 7</TrainingEndTime>
      <TrainingStartTime>sample string 6</TrainingStartTime>
      <TrainingTitle>sample string 4</TrainingTitle>
      <TrainingType>12</TrainingType>
    </PODMarriageTrainingDetails.Content>
  </Contents>
  <ResponseStatus>
    <StatusCode>2</StatusCode>
    <StatusDescriptionArabic>sample string 3</StatusDescriptionArabic>
    <StatusDescriptionEnglish>sample string 1</StatusDescriptionEnglish>
  </ResponseStatus>
</PODMarriageTrainingDetails.Root1>