POST UpdatePassword?oldPassword={oldPassword}

Change password using your current password.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
oldPassword

Existing Password

string

Required

Body Parameters

User Model with new password

User
NameDescriptionTypeAdditional information
UserId

Gets or sets the User Id

string

None.

UserName

Gets or sets the user name

string

Required

Matching regular expression pattern: ^(?=(?:.*[A-z||a-z])).*

String length: inclusive between 6 and 100

Email

Gets or sets the email address

string

Required

Password

Gets or sets the Password

string

Data type: Password

Matching regular expression pattern: ^(?=(?:.*[A-Z]))(?=(?:.*[a-z]))(?=(?:.*[0-9])).*

String length: inclusive between 6 and 100

ConfirmPassword

Gets or sets the Password Match

string

Data type: Password

BrandId

Gets or sets the BrandId

integer

None.

IsInternal

Gets or sets a value indicating whether the user is an employee

boolean

None.

IsRetail

Gets or sets a value indicating whether the user is retail or not

boolean

None.

SalesCode

Gets or sets the SalesCode

string

None.

CustomerNumber

Gets or sets the CustomerNumber

string

None.

Request Formats

application/json, text/json

Sample:
{
  "UserId": "sample string 1",
  "UserName": "sample string 2",
  "Email": "sample string 3",
  "Password": "sample string 4",
  "ConfirmPassword": "sample string 5",
  "BrandId": 6,
  "IsInternal": false,
  "IsRetail": true,
  "SalesCode": "sample string 9",
  "CustomerNumber": "sample string 10"
}

application/xml, text/xml

Sample:
<User xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SignZone.Enterprise.Models.Public">
  <BrandId>6</BrandId>
  <ConfirmPassword>sample string 5</ConfirmPassword>
  <CustomerNumber>sample string 10</CustomerNumber>
  <Email>sample string 3</Email>
  <IsInternal>false</IsInternal>
  <IsRetail>true</IsRetail>
  <Password>sample string 4</Password>
  <SalesCode>sample string 9</SalesCode>
  <UserId>sample string 1</UserId>
  <UserName>sample string 2</UserName>
</User>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.