POST api/Client/Definition/GetTeacherDrivingLicenseTypes

Request Information

URI Parameters

None.

Body Parameters

TeacherDrivingLicenseTypeSearchModel
NameDescriptionTypeAdditional information
DrivingLicenseTypeId

integer

None.

TeacherId

integer

None.

TeacherFullName

string

None.

DrivingLicenseTypeName

string

None.

CompanyId

integer

None.

Id

integer

None.

CreatedOn

date

None.

ModifiedOn

date

None.

Status

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "DrivingLicenseTypeId": 1,
  "TeacherId": 1,
  "TeacherFullName": "sample string 1",
  "DrivingLicenseTypeName": "sample string 2",
  "CompanyId": 3,
  "Id": 4,
  "CreatedOn": "2025-10-25T21:01:46.2818849+03:00",
  "ModifiedOn": "2025-10-25T21:01:46.2818849+03:00",
  "Status": 5
}

application/xml, text/xml

Sample:
<TeacherDrivingLicenseTypeSearchModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Entities.Models.Client.Definition">
  <CreatedOn xmlns="http://schemas.datacontract.org/2004/07/Entities.Models">2025-10-25T21:01:46.2818849+03:00</CreatedOn>
  <Id xmlns="http://schemas.datacontract.org/2004/07/Entities.Models">4</Id>
  <ModifiedOn xmlns="http://schemas.datacontract.org/2004/07/Entities.Models">2025-10-25T21:01:46.2818849+03:00</ModifiedOn>
  <Status xmlns="http://schemas.datacontract.org/2004/07/Entities.Models">5</Status>
  <CompanyId>3</CompanyId>
  <DrivingLicenseTypeId>1</DrivingLicenseTypeId>
  <DrivingLicenseTypeName>sample string 2</DrivingLicenseTypeName>
  <TeacherFullName>sample string 1</TeacherFullName>
  <TeacherId>1</TeacherId>
</TeacherDrivingLicenseTypeSearchModel>

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 'TeacherDrivingLicenseTypeSearchModel'.

Response Information

Resource Description

ResultModelOfListOfTeacherDrivingLicenseTypeResponseModel
NameDescriptionTypeAdditional information
Response

boolean

None.

Message

string

None.

Exception

string

None.

Data

Collection of TeacherDrivingLicenseTypeResponseModel

None.

Response Formats

application/json, text/json

Sample:
{
  "Response": true,
  "Message": "sample string 2",
  "Exception": "sample string 3",
  "Data": [
    {
      "DrivingLicenseTypeId": 1,
      "TeacherId": 1,
      "TeacherFullName": "sample string 1",
      "DrivingLicenseTypeName": "sample string 2",
      "Id": 3,
      "CreatedOn": "2025-10-25T21:01:46.2975001+03:00",
      "ModifiedOn": "2025-10-25T21:01:46.2975001+03:00",
      "Status": 4
    },
    {
      "DrivingLicenseTypeId": 1,
      "TeacherId": 1,
      "TeacherFullName": "sample string 1",
      "DrivingLicenseTypeName": "sample string 2",
      "Id": 3,
      "CreatedOn": "2025-10-25T21:01:46.2975001+03:00",
      "ModifiedOn": "2025-10-25T21:01:46.2975001+03:00",
      "Status": 4
    }
  ]
}

application/xml, text/xml

Sample:
<ResultModelOfArrayOfTeacherDrivingLicenseTypeResponseModelIjrq4xa9 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Entities.Models">
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/Entities.Models.Client.Definition">
    <d2p1:TeacherDrivingLicenseTypeResponseModel>
      <CreatedOn>2025-10-25T21:01:46.2975001+03:00</CreatedOn>
      <Id>3</Id>
      <ModifiedOn>2025-10-25T21:01:46.2975001+03:00</ModifiedOn>
      <Status>4</Status>
      <d2p1:DrivingLicenseTypeId>1</d2p1:DrivingLicenseTypeId>
      <d2p1:DrivingLicenseTypeName>sample string 2</d2p1:DrivingLicenseTypeName>
      <d2p1:TeacherFullName>sample string 1</d2p1:TeacherFullName>
      <d2p1:TeacherId>1</d2p1:TeacherId>
    </d2p1:TeacherDrivingLicenseTypeResponseModel>
    <d2p1:TeacherDrivingLicenseTypeResponseModel>
      <CreatedOn>2025-10-25T21:01:46.2975001+03:00</CreatedOn>
      <Id>3</Id>
      <ModifiedOn>2025-10-25T21:01:46.2975001+03:00</ModifiedOn>
      <Status>4</Status>
      <d2p1:DrivingLicenseTypeId>1</d2p1:DrivingLicenseTypeId>
      <d2p1:DrivingLicenseTypeName>sample string 2</d2p1:DrivingLicenseTypeName>
      <d2p1:TeacherFullName>sample string 1</d2p1:TeacherFullName>
      <d2p1:TeacherId>1</d2p1:TeacherId>
    </d2p1:TeacherDrivingLicenseTypeResponseModel>
  </Data>
  <Exception>sample string 3</Exception>
  <Message>sample string 2</Message>
  <Response>true</Response>
</ResultModelOfArrayOfTeacherDrivingLicenseTypeResponseModelIjrq4xa9>