POST api/UserValidation
Request Information
URI Parameters
None.
Body Parameters
UserValidationInfoName | Description | Type | Additional information |
---|---|---|---|
UserName | string |
Matching regular expression pattern: ^[a-zA-Z0-9_.]+$ |
|
Mobile_Number | integer |
Matching regular expression pattern: ([0-9]{10})$ |
|
EmailId | string |
Matching regular expression pattern: ([a-zA-Z0-9_\-\.]+)@([a-zA-Z0-9_\-\.]+)\.([a-zA-Z]{2,5})$ |
Request Formats
application/json, text/json
Sample:
{ "UserName": "sample string 1", "Mobile_Number": 1, "EmailId": "sample string 2" }
application/xml, text/xml
Sample:
<UserValidationInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WDD_Models"> <EmailId>sample string 2</EmailId> <Mobile_Number>1</Mobile_Number> <UserName>sample string 1</UserName> </UserValidationInfo>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.