POST api/Customer/SaveLazyUser

Request Information

URI Parameters

None.

Body Parameters

SaveLazyUserRequest
NameDescriptionTypeAdditional information
LogonName

string

None.

ShareDataPermission

boolean

None.

ReturnUrl

string

None.

ClientIp

string

None.

IsIdentityServer

boolean

None.

AnonymousId

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "AnonymousId": "ac1c372b-fbc0-4c2d-a833-8fa9dd0297f0",
  "LogonName": "sample string 1",
  "ShareDataPermission": true,
  "ReturnUrl": "sample string 2",
  "ClientIp": "sample string 3",
  "IsIdentityServer": true
}

application/xml, text/xml

Sample:
<SaveLazyUserRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Dto.Request">
  <AnonymousId>ac1c372b-fbc0-4c2d-a833-8fa9dd0297f0</AnonymousId>
  <ClientIp>sample string 3</ClientIp>
  <IsIdentityServer>true</IsIdentityServer>
  <LogonName>sample string 1</LogonName>
  <ReturnUrl>sample string 2</ReturnUrl>
  <ShareDataPermission>true</ShareDataPermission>
</SaveLazyUserRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

SaveLazyUserResponse
NameDescriptionTypeAdditional information
Success

boolean

None.

IsValidLogonName

boolean

None.

UserId

globally unique identifier

None.

IsLazyRegistration

integer

None.

Password

string

None.

Name

string

None.

Surname

string

None.

Code

SaveLazyIdentityUserResponseCode

None.

PasswordlessEmailLogin

CreatePasswordlessEmailLoginResponse

None.

IsValid

boolean

None.

RedirectionKey

string

None.

ReturnUrl

string

None.

ExceptionMessageList

Collection of string

None.

InformationMessageList

Collection of string

None.

WarningMessageList

Collection of string

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "IsValidLogonName": true,
  "UserId": "5637fd52-edf0-46bb-b927-fb88e65fa7f9",
  "IsLazyRegistration": 4,
  "Password": "sample string 5",
  "Name": "sample string 6",
  "Surname": "sample string 7",
  "Code": 13000,
  "PasswordlessEmailLogin": {
    "Available": true,
    "ExpireInMinutes": 2,
    "SendMailLimitExcess": true,
    "Message": "sample string 4",
    "RequestId": "sample string 5",
    "Code": 14001,
    "Success": true,
    "UserType": 1,
    "Link": "sample string 7"
  },
  "IsValid": true,
  "RedirectionKey": "sample string 9",
  "ReturnUrl": "sample string 10",
  "ExceptionMessageList": [
    "sample string 1",
    "sample string 2"
  ],
  "InformationMessageList": [
    "sample string 1",
    "sample string 2"
  ],
  "WarningMessageList": [
    "sample string 1",
    "sample string 2"
  ]
}

application/xml, text/xml

Sample:
<SaveLazyUserResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Dto.Response">
  <ExceptionMessageList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Dto.Common">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </ExceptionMessageList>
  <InformationMessageList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Dto.Common">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </InformationMessageList>
  <IsValid xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Dto.Common">true</IsValid>
  <RedirectionKey xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Dto.Common">sample string 9</RedirectionKey>
  <ReturnUrl xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Dto.Common">sample string 10</ReturnUrl>
  <Success xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Dto.Common">true</Success>
  <WarningMessageList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Dto.Common">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </WarningMessageList>
  <Code>AccountExist</Code>
  <IsLazyRegistration>4</IsLazyRegistration>
  <IsValidLogonName>true</IsValidLogonName>
  <Name>sample string 6</Name>
  <Password>sample string 5</Password>
  <PasswordlessEmailLogin>
    <Available>true</Available>
    <Code>PasswordlessEmailLoginReSendMailLimitExcess</Code>
    <ExpireInMinutes>2</ExpireInMinutes>
    <Link>sample string 7</Link>
    <Message>sample string 4</Message>
    <RequestId>sample string 5</RequestId>
    <SendMailLimitExcess>true</SendMailLimitExcess>
    <Success>true</Success>
    <UserType>1</UserType>
  </PasswordlessEmailLogin>
  <Success>true</Success>
  <Surname>sample string 7</Surname>
  <UserId>5637fd52-edf0-46bb-b927-fb88e65fa7f9</UserId>
</SaveLazyUserResponse>