POST api/Driver/DeleteSubDriver

Request Information

URI Parameters

None.

Body Parameters

UserModel
NameDescriptionTypeAdditional information
Lang

integer

None.

RoleID

integer

None.

UserID

integer

None.

UserName

string

None.

Mobile

string

None.

MobilePrefix

string

None.

Email

string

None.

Password

string

None.

Address

string

None.

VerificationCode

string

None.

Token

string

None.

CompanyType

integer

None.

CompanyID

string

None.

CompanyPassword

string

None.

RequesterID

integer

None.

UserStatus

integer

None.

NationalID

string

None.

CommericalRegisteryNoFile

string

None.

CommericalRegisteryNoFileExtension

string

None.

TaxLicenseNoFile

string

None.

TaxLicenseNoFileExtension

string

None.

VatFile

string

None.

VatFileExtension

string

None.

DriverLicenseFile

string

None.

DriverLicenseFileExtension

string

None.

ProfileImage

string

None.

ProfileImageExtension

string

None.

CommericalRegisteryNumber

string

None.

TaxLicenseNumber

string

None.

VatNumber

string

None.

UserType

integer

None.

CurrentUserID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Lang": 1,
  "RoleID": 1,
  "UserID": 2,
  "UserName": "sample string 3",
  "Mobile": "sample string 4",
  "MobilePrefix": "sample string 5",
  "Email": "sample string 6",
  "Password": "sample string 7",
  "Address": "sample string 8",
  "VerificationCode": "sample string 9",
  "Token": "sample string 10",
  "CompanyType": 11,
  "CompanyID": "sample string 12",
  "CompanyPassword": "sample string 13",
  "RequesterID": 1,
  "UserStatus": 1,
  "NationalID": "sample string 14",
  "CommericalRegisteryNoFile": "sample string 15",
  "CommericalRegisteryNoFileExtension": "sample string 16",
  "TaxLicenseNoFile": "sample string 17",
  "TaxLicenseNoFileExtension": "sample string 18",
  "VatFile": "sample string 19",
  "VatFileExtension": "sample string 20",
  "DriverLicenseFile": "sample string 21",
  "DriverLicenseFileExtension": "sample string 22",
  "ProfileImage": "sample string 23",
  "ProfileImageExtension": "sample string 24",
  "CommericalRegisteryNumber": "sample string 25",
  "TaxLicenseNumber": "sample string 26",
  "VatNumber": "sample string 27",
  "UserType": 1,
  "CurrentUserID": 1
}

application/xml, text/xml

Sample:
<UserModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models">
  <Address>sample string 8</Address>
  <CommericalRegisteryNoFile>sample string 15</CommericalRegisteryNoFile>
  <CommericalRegisteryNoFileExtension>sample string 16</CommericalRegisteryNoFileExtension>
  <CommericalRegisteryNumber>sample string 25</CommericalRegisteryNumber>
  <CompanyID>sample string 12</CompanyID>
  <CompanyPassword>sample string 13</CompanyPassword>
  <CompanyType>11</CompanyType>
  <CurrentUserID>1</CurrentUserID>
  <DriverLicenseFile>sample string 21</DriverLicenseFile>
  <DriverLicenseFileExtension>sample string 22</DriverLicenseFileExtension>
  <Email>sample string 6</Email>
  <Lang>1</Lang>
  <Mobile>sample string 4</Mobile>
  <MobilePrefix>sample string 5</MobilePrefix>
  <NationalID>sample string 14</NationalID>
  <Password>sample string 7</Password>
  <ProfileImage>sample string 23</ProfileImage>
  <ProfileImageExtension>sample string 24</ProfileImageExtension>
  <RequesterID>1</RequesterID>
  <RoleID>1</RoleID>
  <TaxLicenseNoFile>sample string 17</TaxLicenseNoFile>
  <TaxLicenseNoFileExtension>sample string 18</TaxLicenseNoFileExtension>
  <TaxLicenseNumber>sample string 26</TaxLicenseNumber>
  <Token>sample string 10</Token>
  <UserID>2</UserID>
  <UserName>sample string 3</UserName>
  <UserStatus>1</UserStatus>
  <UserType>1</UserType>
  <VatFile>sample string 19</VatFile>
  <VatFileExtension>sample string 20</VatFileExtension>
  <VatNumber>sample string 27</VatNumber>
  <VerificationCode>sample string 9</VerificationCode>
</UserModel>

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.