POST api/YDChangepassword
Request Information
URI Parameters
None.
Body Parameters
ChangePasswordRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| Username | string |
None. |
|
| Password | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Username": "sample string 1",
"Password": "sample string 2"
}
application/xml, text/xml
Sample:
<ChangePasswordRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/YAPI.Models"> <Password>sample string 2</Password> <Username>sample string 1</Username> </ChangePasswordRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ChangePasswordResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| StatusCode | integer |
None. |
|
| SuccessMessage | string |
None. |
|
| ErrorMessage | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"StatusCode": 1,
"SuccessMessage": "sample string 2",
"ErrorMessage": "sample string 3"
}
application/xml, text/xml
Sample:
<ChangePasswordResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/YAPI.Models"> <ErrorMessage>sample string 3</ErrorMessage> <StatusCode>1</StatusCode> <SuccessMessage>sample string 2</SuccessMessage> </ChangePasswordResponse>