POST api/Account/VerifyCode

Request Information

URI Parameters

None.

Body Parameters

VerifyCodeViewBindingModel
NameDescriptionTypeAdditional information
UserId

string

Required

Code

string

Required

Request Formats

application/json, text/json

Sample:
{
  "UserId": "sample string 1",
  "Code": "sample string 2"
}

application/xml, text/xml

Sample:
<VerifyCodeViewBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OmeletteSoftPortal.Models">
  <Code>sample string 2</Code>
  <UserId>sample string 1</UserId>
</VerifyCodeViewBindingModel>

application/x-www-form-urlencoded

Sample:

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

Response Information

Resource Description

Error
NameDescriptionTypeAdditional information
Code

integer

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Code": 1,
  "Message": "sample string 2"
}

application/xml, text/xml

Sample:
<Error xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OmeletteSoftPortal.Models">
  <Code>1</Code>
  <Message>sample string 2</Message>
</Error>