POST api/Driver/ChangeTruckDriverWithNewOne

Request Information

URI Parameters

None.

Body Parameters

TruckModel
NameDescriptionTypeAdditional information
TruckID

integer

None.

DriverID

integer

None.

CurrentUserID

integer

None.

Lang

integer

None.

IsNewDriver

boolean

None.

UserName

string

None.

Mobile

string

None.

MobilePrefix

string

None.

Email

string

None.

Password

string

None.

Address

string

None.

VerificationCode

string

None.

NationalID

string

None.

DriverLicenseFile

string

None.

DriverLicenseFileExtension

string

None.

ProfileImage

string

None.

ProfileImageExtension

string

None.

DriverStatus

integer

None.

Model

string

None.

TruckNumber

string

None.

LicenseFile

string

None.

LicenseFileExtension

string

None.

Status

integer

None.

TotalCountOfRows

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "TruckID": 1,
  "DriverID": 2,
  "CurrentUserID": 3,
  "Lang": 1,
  "IsNewDriver": true,
  "UserName": "sample string 4",
  "Mobile": "sample string 5",
  "MobilePrefix": "sample string 6",
  "Email": "sample string 7",
  "Password": "sample string 8",
  "Address": "sample string 9",
  "VerificationCode": "sample string 10",
  "NationalID": "sample string 11",
  "DriverLicenseFile": "sample string 12",
  "DriverLicenseFileExtension": "sample string 13",
  "ProfileImage": "sample string 14",
  "ProfileImageExtension": "sample string 15",
  "DriverStatus": 1,
  "Model": "sample string 16",
  "TruckNumber": "sample string 17",
  "LicenseFile": "sample string 18",
  "LicenseFileExtension": "sample string 19",
  "Status": 1,
  "TotalCountOfRows": 20
}

application/xml, text/xml

Sample:
<TruckModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models">
  <Address>sample string 9</Address>
  <CurrentUserID>3</CurrentUserID>
  <DriverID>2</DriverID>
  <DriverLicenseFile>sample string 12</DriverLicenseFile>
  <DriverLicenseFileExtension>sample string 13</DriverLicenseFileExtension>
  <DriverStatus>1</DriverStatus>
  <Email>sample string 7</Email>
  <IsNewDriver>true</IsNewDriver>
  <Lang>1</Lang>
  <LicenseFile>sample string 18</LicenseFile>
  <LicenseFileExtension>sample string 19</LicenseFileExtension>
  <Mobile>sample string 5</Mobile>
  <MobilePrefix>sample string 6</MobilePrefix>
  <Model>sample string 16</Model>
  <NationalID>sample string 11</NationalID>
  <Password>sample string 8</Password>
  <ProfileImage>sample string 14</ProfileImage>
  <ProfileImageExtension>sample string 15</ProfileImageExtension>
  <Status>1</Status>
  <TotalCountOfRows>20</TotalCountOfRows>
  <TruckID>1</TruckID>
  <TruckNumber>sample string 17</TruckNumber>
  <UserName>sample string 4</UserName>
  <VerificationCode>sample string 10</VerificationCode>
</TruckModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.