POST api/MobileTaxiLogin/Register

Request Information

URI Parameters

None.

Body Parameters

RegisterRequestMobileTaxi
NameDescriptionTypeAdditional information
email

string

None.

password

string

None.

classID

string

None.

companyID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "email": "sample string 1",
  "password": "sample string 2",
  "classID": "sample string 3",
  "companyID": 4
}

application/xml, text/xml

Sample:
<MobileTaxiLoginController.RegisterRequestMobileTaxi xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AuthenticationAPI.Controllers">
  <classID>sample string 3</classID>
  <companyID>4</companyID>
  <email>sample string 1</email>
  <password>sample string 2</password>
</MobileTaxiLoginController.RegisterRequestMobileTaxi>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'RegisterRequestMobileTaxi'.

Response Information

Resource Description

APIResponseTaxi
NameDescriptionTypeAdditional information
success

boolean

None.

Error

string

None.

ID

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "success": true,
  "Error": "sample string 2",
  "ID": 3
}

application/xml, text/xml

Sample:
<MobileTaxiLoginController.APIResponseTaxi xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AuthenticationAPI.Controllers">
  <Error>sample string 2</Error>
  <ID>3</ID>
  <success>true</success>
</MobileTaxiLoginController.APIResponseTaxi>