POST api/OnBoarding/SelectBusiness

Request Information

URI Parameters

None.

Body Parameters

SelectBusiness
NameDescriptionTypeAdditional information
isNew

integer

None.

nbusinessid

integer

None.

Businessid

integer

None.

leadid

integer

None.

TrustCampBusinessid

integer

None.

IstrustCampaign

integer

None.

TrustCampEmail

string

None.

TrustCampPhone

string

None.

Countrycode

integer

None.

AgentId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "isNew": 1,
  "nbusinessid": 2,
  "Businessid": 3,
  "leadid": 4,
  "TrustCampBusinessid": 5,
  "IstrustCampaign": 6,
  "TrustCampEmail": "sample string 7",
  "TrustCampPhone": "sample string 8",
  "Countrycode": 9,
  "AgentId": 10
}

application/xml, text/xml

Sample:
<SelectBusiness xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOPWAAPI.Model">
  <AgentId>10</AgentId>
  <Businessid>3</Businessid>
  <Countrycode>9</Countrycode>
  <IstrustCampaign>6</IstrustCampaign>
  <TrustCampBusinessid>5</TrustCampBusinessid>
  <TrustCampEmail>sample string 7</TrustCampEmail>
  <TrustCampPhone>sample string 8</TrustCampPhone>
  <isNew>1</isNew>
  <leadid>4</leadid>
  <nbusinessid>2</nbusinessid>
</SelectBusiness>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

VCAPIResponse
NameDescriptionTypeAdditional 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": "2020/08/20 10:38:46",
  "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>