POST api/Customer/SaveLazyUser
Request Information
URI Parameters
None.
Body Parameters
SaveLazyUserRequest| Name | Description | Type | Additional 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": "d2789f6c-fa20-4f5d-a02a-8d0b3668f803",
"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>d2789f6c-fa20-4f5d-a02a-8d0b3668f803</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| Name | Description | Type | Additional 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": "cfff65ca-863e-4fab-9213-4af017c3f354",
"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>cfff65ca-863e-4fab-9213-4af017c3f354</UserId>
</SaveLazyUserResponse>