POST api/WhatsAppEcommerceBot/registerBusiness

Request Information

URI Parameters

None.

Body Parameters

registerBusiness
NameDescriptionTypeAdditional information
IsReseller

integer

None.

BusinessId

integer

None.

UserName

string

None.

CountryCode

string

None.

PhoneNo

string

None.

BusinessName

string

None.

Address

string

None.

EmailId

string

None.

Longitude

string

None.

Latitude

string

None.

VerificationPhoto

string

None.

OutsideFarPhoto

string

None.

OutsideNearPhoto

string

None.

InsideShopPhoto

string

None.

State

string

None.

City

string

None.

Request Formats

application/json, text/json

Sample:
{
  "IsReseller": 1,
  "BusinessId": 2,
  "UserName": "sample string 3",
  "CountryCode": "sample string 4",
  "PhoneNo": "sample string 5",
  "BusinessName": "sample string 6",
  "Address": "sample string 7",
  "EmailId": "sample string 8",
  "Longitude": "sample string 9",
  "Latitude": "sample string 10",
  "VerificationPhoto": "sample string 11",
  "OutsideFarPhoto": "sample string 12",
  "OutsideNearPhoto": "sample string 13",
  "InsideShopPhoto": "sample string 14",
  "State": "sample string 15",
  "City": "sample string 16"
}

application/xml, text/xml

Sample:
<registerBusiness xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOPWAAPI.Model">
  <Address>sample string 7</Address>
  <BusinessId>2</BusinessId>
  <BusinessName>sample string 6</BusinessName>
  <City>sample string 16</City>
  <CountryCode>sample string 4</CountryCode>
  <EmailId>sample string 8</EmailId>
  <InsideShopPhoto>sample string 14</InsideShopPhoto>
  <IsReseller>1</IsReseller>
  <Latitude>sample string 10</Latitude>
  <Longitude>sample string 9</Longitude>
  <OutsideFarPhoto>sample string 12</OutsideFarPhoto>
  <OutsideNearPhoto>sample string 13</OutsideNearPhoto>
  <PhoneNo>sample string 5</PhoneNo>
  <State>sample string 15</State>
  <UserName>sample string 3</UserName>
  <VerificationPhoto>sample string 11</VerificationPhoto>
</registerBusiness>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'registerBusiness'.

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": "2024/09/19 18:19:15",
  "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>