POST api/TotalAyushCare/ChangePassword

Documentation for 'ChangePassword'.

Request Information

Parameters

NameDescriptionAdditional information
request
Documentation for 'request'.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "Credentials": {
    "Username": "sample string 1",
    "Password": "sample string 2",
    "ClientName": "sample string 3"
  },
  "changepass": {
    "Email": "sample string 1",
    "Key": "sample string 2",
    "Newpassword": "sample string 3",
    "Type": "sample string 4",
    "User": "sample string 5",
    "Action": "sample string 6",
    "Source": "sample string 7"
  }
}

application/xml, text/xml

Sample:
<ChangePasswordRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TotalAyushCare.Codes">
  <Credentials>
    <ClientName>sample string 3</ClientName>
    <Password>sample string 2</Password>
    <Username>sample string 1</Username>
  </Credentials>
  <changepass>
    <Action>sample string 6</Action>
    <Email>sample string 1</Email>
    <Key>sample string 2</Key>
    <Newpassword>sample string 3</Newpassword>
    <Source>sample string 7</Source>
    <Type>sample string 4</Type>
    <User>sample string 5</User>
  </changepass>
</ChangePasswordRequest>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'FormUrlEncodedMediaTypeFormatterTracer' to write type 'ChangePasswordRequest'.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "message": "sample string 1",
  "errors": [
    {
      "code": "sample string 1",
      "description": "sample string 2"
    },
    {
      "code": "sample string 1",
      "description": "sample string 2"
    },
    {
      "code": "sample string 1",
      "description": "sample string 2"
    }
  ],
  "result": "sample string 2"
}

application/xml, text/xml

Sample:
<ChangePasswordResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TotalAyushCare.Codes">
  <errors>
    <errors>
      <code>sample string 1</code>
      <description>sample string 2</description>
    </errors>
    <errors>
      <code>sample string 1</code>
      <description>sample string 2</description>
    </errors>
    <errors>
      <code>sample string 1</code>
      <description>sample string 2</description>
    </errors>
  </errors>
  <message>sample string 1</message>
  <result>sample string 2</result>
</ChangePasswordResponse>