POST api/Login/ChangePassword
Request Information
URI Parameters
None.
Body Parameters
ChangePassword| Name | Description | Type | Additional information |
|---|---|---|---|
| OldPassword | string |
None. |
|
| NewPassword | Password |
None. |
|
| ContactId | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"OldPassword": "sample string 1",
"NewPassword": {
"adx_identity_newpassword": "sample string 1"
},
"ContactId": "sample string 2"
}
application/xml, text/xml
Sample:
<ChangePassword xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SAL.API.Repository.Models">
<ContactId>sample string 2</ContactId>
<NewPassword>
<IdentityPassword>sample string 1</IdentityPassword>
</NewPassword>
<OldPassword>sample string 1</OldPassword>
</ChangePassword>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
SALError| Name | Description | Type | Additional information |
|---|---|---|---|
| code | integer |
None. |
|
| message | string |
None. |
|
| incidentid | string |
None. |
|
| ldv_awbnumberexists | boolean |
None. |
|
| objectid | string |
None. |
|
| casenumber | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"code": 1,
"message": "sample string 2",
"incidentid": "sample string 3",
"ldv_awbnumberexists": true,
"objectid": "sample string 5",
"casenumber": "sample string 6"
}
application/xml, text/xml
Sample:
<SALError xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SAL.API.Repository.Models"> <CaseNumber>sample string 6</CaseNumber> <Code>1</Code> <IncidentId>sample string 3</IncidentId> <LdvAwbNumberExists>true</LdvAwbNumberExists> <Message>sample string 2</Message> <ObjectId>sample string 5</ObjectId> </SALError>