POST api/OnBoarding/leadoptinbusiness
Request Information
URI Parameters
None.
Body Parameters
leadOptBizPrm| Name | Description | Type | Additional information |
|---|---|---|---|
| string |
None. |
||
| phone | string |
None. |
|
| contentid | integer |
None. |
|
| step | integer |
None. |
|
| userid | integer |
None. |
|
| source | string |
None. |
|
| Businessid | integer |
None. |
|
| BusinessCategory | string |
None. |
|
| BusinessAreas | string |
None. |
|
| otherServicesText | string |
None. |
|
| categoryId | integer |
None. |
|
| serviceId | integer |
None. |
|
| SourceDomain | string |
None. |
|
| Packageid | integer |
None. |
|
| Packagename | string |
None. |
|
| PlanId | integer |
None. |
|
| PlanName | string |
None. |
|
| SessionId | integer |
None. |
|
| EnquiryPartenrId | string |
None. |
|
| Countrycode | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"email": "sample string 1",
"phone": "sample string 2",
"contentid": 3,
"step": 4,
"userid": 5,
"source": "sample string 6",
"Businessid": 7,
"BusinessCategory": "sample string 8",
"BusinessAreas": "sample string 9",
"otherServicesText": "sample string 10",
"categoryId": 11,
"serviceId": 12,
"SourceDomain": "sample string 13",
"Packageid": 14,
"Packagename": "sample string 15",
"PlanId": 16,
"PlanName": "sample string 17",
"SessionId": 18,
"EnquiryPartenrId": "sample string 19",
"Countrycode": 20
}
application/xml, text/xml
Sample:
<leadOptBizPrm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOPWAAPI.Model"> <BusinessAreas>sample string 9</BusinessAreas> <BusinessCategory>sample string 8</BusinessCategory> <Businessid>7</Businessid> <Countrycode>20</Countrycode> <EnquiryPartenrId>sample string 19</EnquiryPartenrId> <Packageid>14</Packageid> <Packagename>sample string 15</Packagename> <PlanId>16</PlanId> <PlanName>sample string 17</PlanName> <SessionId>18</SessionId> <SourceDomain>sample string 13</SourceDomain> <categoryId>11</categoryId> <contentid>3</contentid> <email>sample string 1</email> <otherServicesText>sample string 10</otherServicesText> <phone>sample string 2</phone> <serviceId>12</serviceId> <source>sample string 6</source> <step>4</step> <userid>5</userid> </leadOptBizPrm>
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:03:31",
"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>