POST api/UserManagement/sendUserOTPEmailForB2CFlow

Request Information

URI Parameters

None.

Body Parameters

SendOTPEmailRequest

NameDescriptionTypeAdditional 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": "71f3805b-7dbb-4883-b8d1-2418f69c8016",
  "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>71f3805b-7dbb-4883-b8d1-2418f69c8016</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

UserManagementResponse

NameDescriptionTypeAdditional 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>