POST api/BOProfile/addUpdateOTPViaEmailPhone
Request Information
URI Parameters
None.
Body Parameters
AddPhoneandEmailModel| Name | Description | Type | Additional information |
|---|---|---|---|
| BusinessId | integer |
None. |
|
| Text | string |
None. |
|
| TextType | integer |
None. |
|
| type | integer |
None. |
|
| Otp | integer |
None. |
|
| Flag | integer |
None. |
|
| OTPType | integer |
None. |
|
| EncBI | string |
None. |
|
| EncEI | string |
None. |
|
| EncryptEmailType | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"BusinessId": 2,
"Text": "sample string 3",
"TextType": 4,
"type": 5,
"Otp": 6,
"Flag": 7,
"OTPType": 8,
"EncBI": "sample string 10",
"EncEI": "sample string 11",
"EncryptEmailType": "sample string 12"
}
application/xml, text/xml
Sample:
<AddPhoneandEmailModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOPWAAPI.Model"> <BusinessId>2</BusinessId> <EncBI>sample string 10</EncBI> <EncEI>sample string 11</EncEI> <EncryptEmailType>sample string 12</EncryptEmailType> <Err>9</Err> <Flag>7</Flag> <OTPType>8</OTPType> <Otp>6</Otp> <Source>sample string 13</Source> <Text>sample string 3</Text> <TextType>4</TextType> <UserId>1</UserId> <type>5</type> </AddPhoneandEmailModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
VCAPIResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | string |
None. |
|
| dateTime | string |
None. |
|
| StatusCode | integer |
None. |
|
| ErrorMessage | string |
None. |
|
| Result | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"Version": "1.0.0",
"dateTime": "2025/11/03 16:00:01",
"StatusCode": 1,
"ErrorMessage": "sample string 2",
"Result": {}
}
application/xml, text/xml
Sample:
<VCAPIResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOPWAAPI.Model"> <ErrorMessage>sample string 2</ErrorMessage> <Result /> <StatusCode>1</StatusCode> </VCAPIResponse>