POST api/SmartTrade/promoterSales
Request Information
URI Parameters
None.
Body Parameters
AddStockSalesPrm| Name | Description | Type | Additional information | 
|---|---|---|---|
| businessid | integer | None. | |
| loginuserid | integer | None. | |
| customerID | integer | None. | |
| salesData | Collection of stockDataPrm | None. | |
| flag | integer | None. | |
| CustomerCreatedDate | string | None. | 
Request Formats
application/json, text/json
            Sample:
        
{
  "businessid": 1,
  "loginuserid": 2,
  "customerID": 3,
  "salesData": [
    {
      "Brand": "sample string 1",
      "ctn": 2,
      "pc": 3,
      "SKUCode": "sample string 4"
    },
    {
      "Brand": "sample string 1",
      "ctn": 2,
      "pc": 3,
      "SKUCode": "sample string 4"
    }
  ],
  "flag": 4,
  "CustomerCreatedDate": "sample string 5"
}
        application/xml, text/xml
            Sample:
        
<AddStockSalesPrm xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <businessid>1</businessid>
  <loginuserid>2</loginuserid>
  <customerID>3</customerID>
  <salesData>
    <stockDataPrm>
      <Brand>sample string 1</Brand>
      <ctn>2</ctn>
      <pc>3</pc>
      <SKUCode>sample string 4</SKUCode>
    </stockDataPrm>
    <stockDataPrm>
      <Brand>sample string 1</Brand>
      <ctn>2</ctn>
      <pc>3</pc>
      <SKUCode>sample string 4</SKUCode>
    </stockDataPrm>
  </salesData>
  <flag>4</flag>
  <CustomerCreatedDate>sample string 5</CustomerCreatedDate>
</AddStockSalesPrm>
        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:45:34",
  "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>