POST api/UserManagement/sendUserOTPEmailForB2CFlow
Request Information
URI Parameters
None.
Body Parameters
| Name | Description | Type | Additional Information |
|---|---|---|---|
| EmailAddress | string |
None. |
|
| DeckOTP | string |
None. |
|
| AzureB2CId | globally unique identifier |
None. |
|
| IsNewAccount | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"EmailAddress": "sample string 1",
"DeckOTP": "sample string 2",
"AzureB2CId": "f2e47f82-5763-409d-9297-111f086b2616",
"IsNewAccount": true
}
application/xml, text/xml
Sample:
<SendOTPEmailRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DECK.WebApi.Controllers"> <AzureB2CId>f2e47f82-5763-409d-9297-111f086b2616</AzureB2CId> <DeckOTP>sample string 2</DeckOTP> <EmailAddress>sample string 1</EmailAddress> <IsNewAccount>true</IsNewAccount> </SendOTPEmailRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
| Name | Description | Type | Additional Information |
|---|---|---|---|
| ResponseCode | APIResponseCodes |
None. |
|
| Message | string |
None. |
|
| CorrelationId | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"ResponseCode": 0,
"Message": "sample string 1",
"CorrelationId": "sample string 2"
}
application/xml, text/xml
Sample:
<UserManagementResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DECK.OMS.Domain.Models"> <CorrelationId xmlns="http://schemas.datacontract.org/2004/07/DECK.Core.Common.Contracts.API">sample string 2</CorrelationId> <Message xmlns="http://schemas.datacontract.org/2004/07/DECK.Core.Common.Contracts.API">sample string 1</Message> <ResponseCode xmlns="http://schemas.datacontract.org/2004/07/DECK.Core.Common.Contracts.API">Success</ResponseCode> </UserManagementResponse>