POST api/User/ChangeCode

Request Information

URI Parameters

None.

Body Parameters

ChangeCodeViewModel
NameDescriptionTypeAdditional information
UserId

integer

None.

OldCode

string

None.

NewCode

string

None.

ConfirmCode

string

None.

Request Formats

application/json, text/json

Sample:
{
  "UserId": 1,
  "OldCode": "sample string 2",
  "NewCode": "sample string 3",
  "ConfirmCode": "sample string 4"
}

application/xml, text/xml

Sample:
<ChangeCodeViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOL.ViewModel">
  <ConfirmCode>sample string 4</ConfirmCode>
  <NewCode>sample string 3</NewCode>
  <OldCode>sample string 2</OldCode>
  <UserId>1</UserId>
</ChangeCodeViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.