POST api/ChangePasswords
Request Information
URI Parameters
None.
Body Parameters
ChangePasswordBindingModel| Name | Description | Type | Additional information |
|---|---|---|---|
| currentPassword | string |
Required Data type: Password |
|
| newPassword | string |
Required Data type: Password String length: inclusive between 6 and 100 |
|
| confirmNewPassword | string |
Data type: Password |
|
| userId | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"currentPassword": "sample string 1",
"newPassword": "sample string 2",
"confirmNewPassword": "sample string 3",
"userId": "sample string 4"
}
application/xml, text/xml
Sample:
<ChangePasswordBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OHS.TLMClassroomResponder.WebAPI.Models"> <confirmNewPassword>sample string 3</confirmNewPassword> <currentPassword>sample string 1</currentPassword> <newPassword>sample string 2</newPassword> <userId>sample string 4</userId> </ChangePasswordBindingModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.