POST api/Map/GetCarAndDriver

Request Information

URI Parameters

None.

Body Parameters

GetCarAndDriverInfoRequestModel
NameDescriptionTypeAdditional information
ProjeId

integer

None.

GuzargahId

integer

None.

YonId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ProjeId": 1,
  "GuzargahId": 2,
  "YonId": 3
}

application/xml, text/xml

Sample:
<GetCarAndDriverInfoRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BMS.MOBILE.API.Models">
  <GuzargahId>2</GuzargahId>
  <ProjeId>1</ProjeId>
  <YonId>3</YonId>
</GetCarAndDriverInfoRequestModel>

multipart/form-data

Sample:
<GetCarAndDriverInfoRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BMS.MOBILE.API.Models"><GuzargahId>2</GuzargahId><ProjeId>1</ProjeId><YonId>3</YonId></GetCarAndDriverInfoRequestModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

BaseModelOfGetCarAndDriverInfoResponseModel
NameDescriptionTypeAdditional information
Data

GetCarAndDriverInfoResponseModel

None.

IsSuccess

boolean

None.

ExceptionMsg

string

None.

lastLoginDate

date

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": {
    "CarInformation": {
      "Plate": "sample string 1",
      "CarId": 2,
      "Capasity": "sample string 3"
    },
    "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.8594487+03:00"
}

application/xml, text/xml

Sample:
<BaseModelOfGetCarAndDriverInfoResponseModel4YG3OKg5 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.8594487+03:00</lastLoginDate>
  <Data>
    <CarInformation xmlns:d3p1="http://schemas.datacontract.org/2004/07/BMS.DATA.Clases.ApiModels">
      <d3p1:Capasity>sample string 3</d3p1:Capasity>
      <d3p1:CarId>2</d3p1:CarId>
      <d3p1:Plate>sample string 1</d3p1:Plate>
    </CarInformation>
    <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>
</BaseModelOfGetCarAndDriverInfoResponseModel4YG3OKg5>

multipart/form-data

Sample:
<BaseModelOfGetCarAndDriverInfoResponseModel4YG3OKg5 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.8594487+03:00</lastLoginDate><Data><CarInformation xmlns:d3p1="http://schemas.datacontract.org/2004/07/BMS.DATA.Clases.ApiModels"><d3p1:Capasity>sample string 3</d3p1:Capasity><d3p1:CarId>2</d3p1:CarId><d3p1:Plate>sample string 1</d3p1:Plate></CarInformation><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></BaseModelOfGetCarAndDriverInfoResponseModel4YG3OKg5>