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:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <UserId>1</UserId> <BusinessId>2</BusinessId> <Text>sample string 3</Text> <TextType>4</TextType> <type>5</type> <Otp>6</Otp> <Flag>7</Flag> <OTPType>8</OTPType> <Err>9</Err> <EncBI>sample string 10</EncBI> <EncEI>sample string 11</EncEI> <EncryptEmailType>sample string 12</EncryptEmailType> <Source>sample string 13</Source> </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/10/31 15:37:12",
  "StatusCode": 1,
  "ErrorMessage": "sample string 2",
  "Result": {}
}
        application/xml, text/xml
            Sample:
<VCAPIResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <StatusCode>1</StatusCode> <ErrorMessage>sample string 2</ErrorMessage> <Result /> </VCAPIResponse>