POST api/ResetPassword
reset password
Request Information
URI Parameters
None.
Body Parameters
{"phon":"","password":""}
user_data| Name | Description | Type | Additional information |
|---|---|---|---|
| firstname | string |
None. |
|
| lastname | string |
None. |
|
| phon | string |
None. |
|
| string |
None. |
||
| country | integer |
None. |
|
| city | integer |
None. |
|
| town | integer |
None. |
|
| active | integer |
None. |
|
| password | string |
None. |
|
| countrycode | integer |
None. |
|
| userlevel | integer |
None. |
|
| address | string |
None. |
|
| birthday | date |
None. |
|
| iduser | integer |
None. |
|
| site_id | integer |
None. |
|
| IsPhonChecked | integer |
None. |
|
| username | string |
None. |
|
| fcm_token | string |
None. |
|
| topic | string |
None. |
|
| token | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"firstname": "sample string 1",
"lastname": "sample string 2",
"phon": "sample string 3",
"email": "sample string 4",
"country": 5,
"city": 6,
"town": 7,
"active": 8,
"password": "sample string 9",
"countrycode": 10,
"userlevel": 11,
"address": "sample string 12",
"birthday": "2025-12-06T07:23:30.2924209+03:00",
"iduser": 14,
"site_id": 15,
"IsPhonChecked": 16,
"username": "sample string 17",
"fcm_token": "sample string 18",
"topic": "sample string 19",
"token": "sample string 20"
}
text/xml
Sample:
<user_data xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cards_api"> <IsPhonChecked>16</IsPhonChecked> <active>8</active> <address>sample string 12</address> <birthday>2025-12-06T07:23:30.2924209+03:00</birthday> <city>6</city> <country>5</country> <countrycode>10</countrycode> <email>sample string 4</email> <fcm_token>sample string 18</fcm_token> <firstname>sample string 1</firstname> <iduser>14</iduser> <lastname>sample string 2</lastname> <password>sample string 9</password> <phon>sample string 3</phon> <site_id>15</site_id> <token>sample string 20</token> <topic>sample string 19</topic> <town>7</town> <userlevel>11</userlevel> <username>sample string 17</username> </user_data>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
{"data" [{"username": "","user_id": "","token": ""}],"rowcount": 1,"status": true,"msg_error": ""}
outdata| Name | Description | Type | Additional information |
|---|---|---|---|
| data | DataTable |
None. |
|
| rowcount |
if get data then return count row else return the id row affected |
integer |
None. |
| status | boolean |
None. |
|
| msg_error | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"data": null,
"rowcount": 1,
"status": true,
"msg_error": "sample string 3"
}
text/xml
Sample:
<outdata xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cards_api"> <data i:nil="true" /> <msg_error>sample string 3</msg_error> <rowcount>1</rowcount> <status>true</status> </outdata>