POST api/User/ChangePwd
this api changes the Password for a goven user
Request Information
URI Parameters
None.
Body Parameters
RegReq| Name | Description | Type | Additional information |
|---|---|---|---|
| NameOfUser |
This is the name of the user that is shown in the app |
string |
None. |
| mobno |
This is the user id (mobile no) of the user |
string |
None. |
| password | string |
None. |
|
| imei | string |
None. |
|
| string |
None. |
||
| otp | string |
None. |
|
| schoolusername |
schoolusername is the user name of the school in online-sms.in portal |
string |
None. |
| usertype | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"NameOfUser": "sample string 1",
"mobno": "sample string 2",
"password": "sample string 3",
"imei": "sample string 4",
"email": "sample string 5",
"otp": "sample string 6",
"schoolusername": "sample string 7",
"usertype": "sample string 8"
}
text/html
Sample:
{"NameOfUser":"sample string 1","mobno":"sample string 2","password":"sample string 3","imei":"sample string 4","email":"sample string 5","otp":"sample string 6","schoolusername":"sample string 7","usertype":"sample string 8"}
application/xml, text/xml
Sample:
<RegReq xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/smsapi.Models"> <NameOfUser>sample string 1</NameOfUser> <email>sample string 5</email> <imei>sample string 4</imei> <mobno>sample string 2</mobno> <otp>sample string 6</otp> <password>sample string 3</password> <schoolusername>sample string 7</schoolusername> <usertype>sample string 8</usertype> </RegReq>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
stringResponse Formats
application/json, text/json, text/html
Sample:
"sample string 1"
application/xml, text/xml
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>