POST api/MobileLogin/Register

Request Information

URI Parameters

None.

Body Parameters

RegisterRequestMobile
NameDescriptionTypeAdditional information
email

string

None.

password

string

None.

classID

string

None.

Request Formats

application/json, text/json

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

application/xml, text/xml

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

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 'RegisterRequestMobile'.

Response Information

Resource Description

APIResponse
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:
<MobileLoginController.APIResponse 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>
</MobileLoginController.APIResponse>