POST api/Driver/GetDriverInformation

Request Information

URI Parameters

None.

Body Parameters

GetDriverInformationRequestModel
NameDescriptionTypeAdditional information
PersonId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "PersonId": 1
}

application/xml, text/xml

Sample:
<GetDriverInformationRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BMS.MOBILE.API.Models">
  <PersonId>1</PersonId>
</GetDriverInformationRequestModel>

multipart/form-data

Sample:
<GetDriverInformationRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BMS.MOBILE.API.Models"><PersonId>1</PersonId></GetDriverInformationRequestModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

BaseModelOfGetDriverInformationResponseModel
NameDescriptionTypeAdditional information
Data

GetDriverInformationResponseModel

None.

IsSuccess

boolean

None.

ExceptionMsg

string

None.

lastLoginDate

date

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": {
    "DriverInformation": {
      "DriverOwner": "sample string 1",
      "DriverType": "sample string 2",
      "Name": "sample string 3",
      "Surname": "sample string 4",
      "DriverName": "sample string 5",
      "MailAddress": "sample string 6",
      "PhoneNumber1": "sample string 7",
      "PhoneNumber2": "sample string 8",
      "Salary": 1.0,
      "Avatar": "sample string 9"
    }
  },
  "IsSuccess": true,
  "ExceptionMsg": "sample string 2",
  "lastLoginDate": "2026-11-12T23:17:32.3125702+03:00"
}

application/xml, text/xml

Sample:
<BaseModelOfGetDriverInformationResponseModel4YG3OKg5 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BMS.MOBILE.API.Models">
  <ExceptionMsg>sample string 2</ExceptionMsg>
  <IsSuccess>true</IsSuccess>
  <lastLoginDate>2026-11-12T23:17:32.3125702+03:00</lastLoginDate>
  <Data>
    <DriverInformation>
      <Avatar>sample string 9</Avatar>
      <DriverName>sample string 5</DriverName>
      <DriverOwner>sample string 1</DriverOwner>
      <DriverType>sample string 2</DriverType>
      <MailAddress>sample string 6</MailAddress>
      <Name>sample string 3</Name>
      <PhoneNumber1>sample string 7</PhoneNumber1>
      <PhoneNumber2>sample string 8</PhoneNumber2>
      <Salary>1</Salary>
      <Surname>sample string 4</Surname>
    </DriverInformation>
  </Data>
</BaseModelOfGetDriverInformationResponseModel4YG3OKg5>

multipart/form-data

Sample:
<BaseModelOfGetDriverInformationResponseModel4YG3OKg5 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BMS.MOBILE.API.Models"><ExceptionMsg>sample string 2</ExceptionMsg><IsSuccess>true</IsSuccess><lastLoginDate>2026-11-12T23:17:32.3125702+03:00</lastLoginDate><Data><DriverInformation><Avatar>sample string 9</Avatar><DriverName>sample string 5</DriverName><DriverOwner>sample string 1</DriverOwner><DriverType>sample string 2</DriverType><MailAddress>sample string 6</MailAddress><Name>sample string 3</Name><PhoneNumber1>sample string 7</PhoneNumber1><PhoneNumber2>sample string 8</PhoneNumber2><Salary>1</Salary><Surname>sample string 4</Surname></DriverInformation></Data></BaseModelOfGetDriverInformationResponseModel4YG3OKg5>