POST api/WhatsAppEcommerceBot/AddBotOrderMaster

Request Information

URI Parameters

None.

Body Parameters

AddBotOrder
NameDescriptionTypeAdditional information
Flag

integer

None.

BusinessId

integer

None.

OrderId

string

None.

BotSKUID

integer

None.

BotBrandId

integer

None.

Quantity

integer

None.

Price

integer

None.

CustomerID

integer

None.

DeliveryAmount

integer

None.

IsReseller

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Flag": 1,
  "BusinessId": 2,
  "OrderId": "sample string 3",
  "BotSKUID": 4,
  "BotBrandId": 5,
  "Quantity": 6,
  "Price": 7,
  "CustomerID": 8,
  "DeliveryAmount": 9,
  "IsReseller": 10
}

application/xml, text/xml

Sample:
<AddBotOrder xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOPWAAPI.Model">
  <BotBrandId>5</BotBrandId>
  <BotSKUID>4</BotSKUID>
  <BusinessId>2</BusinessId>
  <CustomerID>8</CustomerID>
  <DeliveryAmount>9</DeliveryAmount>
  <Flag>1</Flag>
  <IsReseller>10</IsReseller>
  <OrderId>sample string 3</OrderId>
  <Price>7</Price>
  <Quantity>6</Quantity>
</AddBotOrder>

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/10/22 07:01:06",
  "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>