POST api/Client/Definition/SaveDrivingLicenseType

Request Information

URI Parameters

None.

Body Parameters

DrivingLicenseTypeRequestModel
NameDescriptionTypeAdditional information
Name

string

None.

DrivingLicenseClassId

integer

None.

CertificateClassId

integer

None.

TrafficLessonHour

integer

None.

VehicleLessonHour

integer

None.

FirstAidLessonHour

integer

None.

FlowingTrafficLessonHour

integer

None.

RunwayLessonHour

integer

None.

NightLessonHour

integer

None.

CertificateFee

decimal number

None.

MinimumAge

integer

None.

WillTakeTrafficExam

boolean

None.

WillTakeMotorExam

boolean

None.

WillTakeSteeringExam

boolean

None.

WillTakeFirstAidExam

boolean

None.

AdditionalSteeringTime

integer

None.

TheoreticalLessonHourFee

decimal number

None.

DrivingLessonHourFee

decimal number

None.

TrafficMannersLessonHour

integer

None.

EngineLessonHours

integer

None.

WillTakeTheoreticalExam

boolean

None.

AdditionalSteeringHour

integer

None.

SteeringFee

decimal number

None.

RemainingSteeringFee

decimal number

None.

NoDrivingFee

decimal number

None.

CompanyId

integer

None.

Id

integer

None.

CreatedOn

date

None.

ModifiedOn

date

None.

Status

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Name": "sample string 1",
  "DrivingLicenseClassId": 1,
  "CertificateClassId": 1,
  "TrafficLessonHour": 1,
  "VehicleLessonHour": 1,
  "FirstAidLessonHour": 1,
  "FlowingTrafficLessonHour": 1,
  "RunwayLessonHour": 1,
  "NightLessonHour": 1,
  "CertificateFee": 1.0,
  "MinimumAge": 1,
  "WillTakeTrafficExam": true,
  "WillTakeMotorExam": true,
  "WillTakeSteeringExam": true,
  "WillTakeFirstAidExam": true,
  "AdditionalSteeringTime": 1,
  "TheoreticalLessonHourFee": 1.0,
  "DrivingLessonHourFee": 1.0,
  "TrafficMannersLessonHour": 1,
  "EngineLessonHours": 1,
  "WillTakeTheoreticalExam": true,
  "AdditionalSteeringHour": 1,
  "SteeringFee": 1.0,
  "RemainingSteeringFee": 1.0,
  "NoDrivingFee": 1.0,
  "CompanyId": 2,
  "Id": 3,
  "CreatedOn": "2025-10-25T21:11:53.4241147+03:00",
  "ModifiedOn": "2025-10-25T21:11:53.4241147+03:00",
  "Status": 4
}

application/xml, text/xml

Sample:
<DrivingLicenseTypeRequestModel 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:11:53.4241147+03:00</CreatedOn>
  <Id xmlns="http://schemas.datacontract.org/2004/07/Entities.Models">3</Id>
  <ModifiedOn xmlns="http://schemas.datacontract.org/2004/07/Entities.Models">2025-10-25T21:11:53.4241147+03:00</ModifiedOn>
  <Status xmlns="http://schemas.datacontract.org/2004/07/Entities.Models">4</Status>
  <AdditionalSteeringHour>1</AdditionalSteeringHour>
  <AdditionalSteeringTime>1</AdditionalSteeringTime>
  <CertificateClassId>1</CertificateClassId>
  <CertificateFee>1</CertificateFee>
  <CompanyId>2</CompanyId>
  <DrivingLessonHourFee>1</DrivingLessonHourFee>
  <DrivingLicenseClassId>1</DrivingLicenseClassId>
  <EngineLessonHours>1</EngineLessonHours>
  <FirstAidLessonHour>1</FirstAidLessonHour>
  <FlowingTrafficLessonHour>1</FlowingTrafficLessonHour>
  <MinimumAge>1</MinimumAge>
  <Name>sample string 1</Name>
  <NightLessonHour>1</NightLessonHour>
  <NoDrivingFee>1</NoDrivingFee>
  <RemainingSteeringFee>1</RemainingSteeringFee>
  <RunwayLessonHour>1</RunwayLessonHour>
  <SteeringFee>1</SteeringFee>
  <TheoreticalLessonHourFee>1</TheoreticalLessonHourFee>
  <TrafficLessonHour>1</TrafficLessonHour>
  <TrafficMannersLessonHour>1</TrafficMannersLessonHour>
  <VehicleLessonHour>1</VehicleLessonHour>
  <WillTakeFirstAidExam>true</WillTakeFirstAidExam>
  <WillTakeMotorExam>true</WillTakeMotorExam>
  <WillTakeSteeringExam>true</WillTakeSteeringExam>
  <WillTakeTheoreticalExam>true</WillTakeTheoreticalExam>
  <WillTakeTrafficExam>true</WillTakeTrafficExam>
</DrivingLicenseTypeRequestModel>

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

Response Information

Resource Description

ResultModelOfDrivingLicenseTypeResponseModel
NameDescriptionTypeAdditional information
Response

boolean

None.

Message

string

None.

Exception

string

None.

Data

DrivingLicenseTypeResponseModel

None.

Response Formats

application/json, text/json

Sample:
{
  "Response": true,
  "Message": "sample string 2",
  "Exception": "sample string 3",
  "Data": {
    "Name": "sample string 1",
    "DrivingLicenseClassId": 1,
    "DrivingLicenseClass": {
      "Id": 1,
      "Name": "sample string 2"
    },
    "CertificateClassId": 1,
    "CertificateClass": {
      "Id": 1,
      "Name": "sample string 2"
    },
    "TrafficLessonHour": 1,
    "VehicleLessonHour": 1,
    "FirstAidLessonHour": 1,
    "FlowingTrafficLessonHour": 1,
    "RunwayLessonHour": 1,
    "NightLessonHour": 1,
    "CertificateFee": 1.0,
    "MinimumAge": 1,
    "WillTakeTrafficExam": true,
    "WillTakeMotorExam": true,
    "WillTakeSteeringExam": true,
    "WillTakeFirstAidExam": true,
    "AdditionalSteeringTime": 1,
    "TheoreticalLessonHourFee": 1.0,
    "DrivingLessonHourFee": 1.0,
    "TrafficMannersLessonHour": 1,
    "EngineLessonHours": 1,
    "WillTakeTheoreticalExam": true,
    "AdditionalSteeringHour": 1,
    "SteeringFee": 1.0,
    "RemainingSteeringFee": 1.0,
    "NoDrivingFee": 1.0,
    "Id": 2,
    "CreatedOn": "2025-10-25T21:11:53.4554866+03:00",
    "ModifiedOn": "2025-10-25T21:11:53.4554866+03:00",
    "Status": 3
  }
}

application/xml, text/xml

Sample:
<ResultModelOfDrivingLicenseTypeResponseModelIjrq4xa9 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">
    <CreatedOn>2025-10-25T21:11:53.4554866+03:00</CreatedOn>
    <Id>2</Id>
    <ModifiedOn>2025-10-25T21:11:53.4554866+03:00</ModifiedOn>
    <Status>3</Status>
    <d2p1:AdditionalSteeringHour>1</d2p1:AdditionalSteeringHour>
    <d2p1:AdditionalSteeringTime>1</d2p1:AdditionalSteeringTime>
    <d2p1:CertificateClass>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:Name>sample string 2</d2p1:Name>
    </d2p1:CertificateClass>
    <d2p1:CertificateClassId>1</d2p1:CertificateClassId>
    <d2p1:CertificateFee>1</d2p1:CertificateFee>
    <d2p1:DrivingLessonHourFee>1</d2p1:DrivingLessonHourFee>
    <d2p1:DrivingLicenseClass>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:Name>sample string 2</d2p1:Name>
    </d2p1:DrivingLicenseClass>
    <d2p1:DrivingLicenseClassId>1</d2p1:DrivingLicenseClassId>
    <d2p1:EngineLessonHours>1</d2p1:EngineLessonHours>
    <d2p1:FirstAidLessonHour>1</d2p1:FirstAidLessonHour>
    <d2p1:FlowingTrafficLessonHour>1</d2p1:FlowingTrafficLessonHour>
    <d2p1:MinimumAge>1</d2p1:MinimumAge>
    <d2p1:Name>sample string 1</d2p1:Name>
    <d2p1:NightLessonHour>1</d2p1:NightLessonHour>
    <d2p1:NoDrivingFee>1</d2p1:NoDrivingFee>
    <d2p1:RemainingSteeringFee>1</d2p1:RemainingSteeringFee>
    <d2p1:RunwayLessonHour>1</d2p1:RunwayLessonHour>
    <d2p1:SteeringFee>1</d2p1:SteeringFee>
    <d2p1:TheoreticalLessonHourFee>1</d2p1:TheoreticalLessonHourFee>
    <d2p1:TrafficLessonHour>1</d2p1:TrafficLessonHour>
    <d2p1:TrafficMannersLessonHour>1</d2p1:TrafficMannersLessonHour>
    <d2p1:VehicleLessonHour>1</d2p1:VehicleLessonHour>
    <d2p1:WillTakeFirstAidExam>true</d2p1:WillTakeFirstAidExam>
    <d2p1:WillTakeMotorExam>true</d2p1:WillTakeMotorExam>
    <d2p1:WillTakeSteeringExam>true</d2p1:WillTakeSteeringExam>
    <d2p1:WillTakeTheoreticalExam>true</d2p1:WillTakeTheoreticalExam>
    <d2p1:WillTakeTrafficExam>true</d2p1:WillTakeTrafficExam>
  </Data>
  <Exception>sample string 3</Exception>
  <Message>sample string 2</Message>
  <Response>true</Response>
</ResultModelOfDrivingLicenseTypeResponseModelIjrq4xa9>