POST api/Auth/AccountSetup

Request Information

URI Parameters

None.

Body Parameters

AuthAccountSetupModel
NameDescriptionTypeAdditional information
sysUserId

globally unique identifier

Required

password

string

Required

Max length: 100

codeProvider

CodeProvider

Required

phone

string

Max length: 20

secretCode

string

Required

Max length: 100

secretQuestion

string

Required

Max length: 100

emailLanguage

string

Required

Max length: 2

defaultCountryCode

string

Required

Max length: 2

Request Formats

application/json, text/json

Sample:
{
  "sysUserId": "0640d9bd-ac37-4dd4-902e-16dde91cee4b",
  "password": "sample string 2",
  "codeProvider": 0,
  "phone": "sample string 3",
  "secretCode": "sample string 4",
  "secretQuestion": "sample string 5",
  "emailLanguage": "sample string 6",
  "defaultCountryCode": "sample string 7"
}

application/xml, text/xml

Sample:
<AuthAccountSetupModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Portal.Api.Models">
  <codeProvider>GoogleAuth</codeProvider>
  <defaultCountryCode>sample string 7</defaultCountryCode>
  <emailLanguage>sample string 6</emailLanguage>
  <password>sample string 2</password>
  <phone>sample string 3</phone>
  <secretCode>sample string 4</secretCode>
  <secretQuestion>sample string 5</secretQuestion>
  <sysUserId>0640d9bd-ac37-4dd4-902e-16dde91cee4b</sysUserId>
</AuthAccountSetupModel>

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 'AuthAccountSetupModel'.

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.