POST api/SmartTrade/AddSmartTrade
Request Information
URI Parameters
None.
Body Parameters
AddSmartTrade| Name | Description | Type | Additional information | 
|---|---|---|---|
| Businessid | integer | None. | |
| Customerid | integer | None. | |
| LogingUserid | integer | None. | |
| Agentid | integer | None. | |
| Ismerchantonduty | integer | None. | |
| Isdanopromoter | integer | None. | |
| Isrelishpromoter | integer | None. | |
| Iscolgatepromoter | integer | None. | |
| Location | string | None. | |
| Latitude | string | None. | |
| Longitude | string | None. | |
| Brandid | integer | None. | |
| Skuavailability | Collection of Skuavailability | None. | 
Request Formats
application/json, text/json
            Sample:
        
{
  "Businessid": 1,
  "Customerid": 2,
  "LogingUserid": 3,
  "Agentid": 4,
  "Ismerchantonduty": 5,
  "Isdanopromoter": 6,
  "Isrelishpromoter": 7,
  "Iscolgatepromoter": 8,
  "Location": "sample string 9",
  "Latitude": "sample string 10",
  "Longitude": "sample string 11",
  "Brandid": 12,
  "Skuavailability": [
    {
      "SKUID": 1,
      "Status": 2,
      "BrandID": 3
    },
    {
      "SKUID": 1,
      "Status": 2,
      "BrandID": 3
    }
  ]
}
        application/xml, text/xml
            Sample:
        
<AddSmartTrade xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <Businessid>1</Businessid>
  <Customerid>2</Customerid>
  <LogingUserid>3</LogingUserid>
  <Agentid>4</Agentid>
  <Ismerchantonduty>5</Ismerchantonduty>
  <Isdanopromoter>6</Isdanopromoter>
  <Isrelishpromoter>7</Isrelishpromoter>
  <Iscolgatepromoter>8</Iscolgatepromoter>
  <Location>sample string 9</Location>
  <Latitude>sample string 10</Latitude>
  <Longitude>sample string 11</Longitude>
  <Brandid>12</Brandid>
  <Skuavailability>
    <Skuavailability>
      <SKUID>1</SKUID>
      <Status>2</Status>
      <BrandID>3</BrandID>
    </Skuavailability>
    <Skuavailability>
      <SKUID>1</SKUID>
      <Status>2</Status>
      <BrandID>3</BrandID>
    </Skuavailability>
  </Skuavailability>
</AddSmartTrade>
        application/x-www-form-urlencoded
            Sample:
    
Sample not available.
Response Information
Resource Description
VCAPIResponse| Name | 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/10/31 15:47:37",
  "StatusCode": 1,
  "ErrorMessage": "sample string 2",
  "Result": {}
}
        application/xml, text/xml
            Sample:
<VCAPIResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <StatusCode>1</StatusCode> <ErrorMessage>sample string 2</ErrorMessage> <Result /> </VCAPIResponse>