Change technician password.
None.
Name | Description | Type | Additional information |
---|---|---|---|
TechnicianId |
TechnicianId |
integer |
Required |
OldPassword |
Old Password |
string |
Required |
NewPassword |
New Password |
string |
Required |
ConfirmNewPassword |
Confirm New Password |
string |
Required |
{ "TechnicianId": 1, "OldPassword": "sample string 2", "NewPassword": "sample string 3", "ConfirmNewPassword": "sample string 4" }
<TechnicianChangePasswordRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SaG.OTC.API.Models.Requests"> <ConfirmNewPassword>sample string 4</ConfirmNewPassword> <NewPassword>sample string 3</NewPassword> <OldPassword>sample string 2</OldPassword> <TechnicianId>1</TechnicianId> </TechnicianChangePasswordRequest>
Sample not available.
Name | Description | Type | Additional information |
---|---|---|---|
Header |
Technician change password response message header. |
ResponseHeader |
None. |
Body |
Technician change password response message body. |
TechnicianChangePasswordResponseBody |
None. |
Name | Description | Type | Additional information |
---|---|---|---|
Message |
Message |
string |
None. |
StatusCode |
Status code |
ResponseStatus |
None. |
Status |
Status |
string |
None. |
ErrorId |
Error id |
string |
None. |
Name | Description | Type | Additional information |
---|---|---|---|
IsPasswordChanged |
Is technician password changed? |
boolean |
None. |
{ "Header": { "Message": "sample string 1", "StatusCode": 0, "Status": "sample string 2", "ErrorId": "sample string 3" }, "Body": { "IsPasswordChanged": true } }
<TechnicianChangePasswordResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SaG.OTC.API.Models.Responses"> <Body> <IsPasswordChanged>true</IsPasswordChanged> </Body> <Header> <ErrorId>sample string 3</ErrorId> <Message>sample string 1</Message> <Status>sample string 2</Status> <StatusCode>Ok</StatusCode> </Header> </TechnicianChangePasswordResponse>