POST api/RegisterUser

Request Information

URI Parameters

None.

Body Parameters

User
NameDescriptionTypeAdditional information
NAME

string

Required

Matching regular expression pattern: ^[a-zA-Z ]+$

String length: inclusive between 3 and 50

MOBILENO

string

Required

Matching regular expression pattern: ^([0-9]{10})$

COUNTRYCODE

string

Required

String length: inclusive between 1 and 6

CARRIER

string

Required

Max length: 20

PASSWORD

string

Required

String length: inclusive between 3 and 20

PROFILEID

string

None.

Request Formats

application/json, text/json

Sample:
{
  "NAME": "sample string 1",
  "MOBILENO": "sample string 2",
  "COUNTRYCODE": "sample string 3",
  "CARRIER": "sample string 4",
  "PASSWORD": "sample string 5",
  "PROFILEID": "sample string 6"
}

application/xml, text/xml

Sample:
<User xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QuikE_WebAPI.Models">
  <CARRIER>sample string 4</CARRIER>
  <COUNTRYCODE>sample string 3</COUNTRYCODE>
  <MOBILENO>sample string 2</MOBILENO>
  <NAME>sample string 1</NAME>
  <PASSWORD>sample string 5</PASSWORD>
  <PROFILEID>sample string 6</PROFILEID>
</User>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.