POST api/WhatsAppEcommerceBot/AddUserDetail

Request Information

URI Parameters

None.

Body Parameters

AddUserDetail
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.

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"
}

application/xml, text/xml

Sample:
<AddUserDetail 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>
  <CountryCode>sample string 4</CountryCode>
  <EmailId>sample string 8</EmailId>
  <IsReseller>1</IsReseller>
  <Latitude>sample string 10</Latitude>
  <Longitude>sample string 9</Longitude>
  <PhoneNo>sample string 5</PhoneNo>
  <UserName>sample string 3</UserName>
</AddUserDetail>

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/01 13:32:25",
  "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>