POST api/OnBoarding/AddBusiness
Request Information
URI Parameters
None.
Body Parameters
AddBusinessModelName | Description | Type | Additional information |
---|---|---|---|
BusinessName | string |
None. |
|
contactName | string |
None. |
|
serviceId | integer |
None. |
|
ServiceName | string |
None. |
|
StateId | integer |
None. |
|
StateName | string |
None. |
|
LgaId | integer |
None. |
|
LgaName | string |
None. |
|
AreaId | integer |
None. |
|
AreaName | string |
None. |
|
AgentId | integer |
None. |
|
InterestedInID | integer |
None. |
|
IndustryID | integer |
None. |
|
Phone | string |
None. |
|
string |
None. |
||
SourceUrl | string |
None. |
|
SessionId | integer |
None. |
|
CreatedBy | integer |
None. |
|
LeadId | integer |
None. |
|
Countrycode | integer |
None. |
|
Source | string |
None. |
|
JobTitle | string |
None. |
|
TeamSize | string |
None. |
|
IndustryName | string |
None. |
|
InterestedInName | string |
None. |
|
CountryName | string |
None. |
|
userPassword | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "BusinessName": "sample string 1", "contactName": "sample string 2", "serviceId": 3, "ServiceName": "sample string 4", "StateId": 5, "StateName": "sample string 6", "LgaId": 7, "LgaName": "sample string 8", "AreaId": 9, "AreaName": "sample string 10", "AgentId": 11, "InterestedInID": 12, "IndustryID": 13, "Phone": "sample string 14", "Email": "sample string 15", "SourceUrl": "sample string 16", "SessionId": 17, "CreatedBy": 18, "LeadId": 19, "Countrycode": 20, "Source": "sample string 21", "JobTitle": "sample string 22", "TeamSize": "sample string 23", "IndustryName": "sample string 24", "InterestedInName": "sample string 25", "CountryName": "sample string 26", "userPassword": "sample string 27" }
application/xml, text/xml
Sample:
<AddBusinessModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOPWAAPI.Model"> <AgentId>11</AgentId> <AreaId>9</AreaId> <AreaName>sample string 10</AreaName> <BusinessName>sample string 1</BusinessName> <CountryName>sample string 26</CountryName> <Countrycode>20</Countrycode> <CreatedBy>18</CreatedBy> <Email>sample string 15</Email> <IndustryID>13</IndustryID> <IndustryName>sample string 24</IndustryName> <InterestedInID>12</InterestedInID> <InterestedInName>sample string 25</InterestedInName> <JobTitle>sample string 22</JobTitle> <LeadId>19</LeadId> <LgaId>7</LgaId> <LgaName>sample string 8</LgaName> <Phone>sample string 14</Phone> <ServiceName>sample string 4</ServiceName> <SessionId>17</SessionId> <Source>sample string 21</Source> <SourceUrl>sample string 16</SourceUrl> <StateId>5</StateId> <StateName>sample string 6</StateName> <TeamSize>sample string 23</TeamSize> <contactName>sample string 2</contactName> <serviceId>3</serviceId> <userPassword>sample string 27</userPassword> </AddBusinessModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
VCAPIResponseName | 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/04/04 06:39:20", "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>