POST api/MRide/UpdateDriverDetails

Request Information

URI Parameters

None.

Body Parameters

DriverProfileDeatils
NameDescriptionTypeAdditional information
DriverID

integer

None.

Name

string

None.

Email

string

None.

Address

string

None.

Pronouns

integer

None.

AboutMe

string

None.

Password

string

None.

Request Formats

application/json, text/json

Sample:
{
  "DriverID": 1,
  "Name": "sample string 2",
  "Email": "sample string 3",
  "Address": "sample string 4",
  "Pronouns": 5,
  "AboutMe": "sample string 6",
  "Password": "sample string 7"
}

application/xml, text/xml

Sample:
<DriverProfileDeatils xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MRide_API">
  <AboutMe>sample string 6</AboutMe>
  <Address>sample string 4</Address>
  <DriverID>1</DriverID>
  <Email>sample string 3</Email>
  <Name>sample string 2</Name>
  <Password>sample string 7</Password>
  <Pronouns>5</Pronouns>
</DriverProfileDeatils>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IAsyncResult
NameDescriptionTypeAdditional information
IsCompleted

boolean

None.

AsyncWaitHandle

WaitHandle

None.

AsyncState

Object

None.

CompletedSynchronously

boolean

None.

Response Formats

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

Sample:

Sample not available.