POST api/Store/AddSampling
Request Information
URI Parameters
None.
Body Parameters
AddSampling| Name | Description | Type | Additional information | 
|---|---|---|---|
| BusinessId | integer | None. | |
| Agentid | integer | None. | |
| Name | string | None. | |
| Phone | string | None. | |
| IsPhoneVerified | integer | None. | |
| Location | string | None. | |
| Latitude | string | None. | |
| Longitude | string | None. | |
| IsUsedBefore | integer | None. | |
| ProductName | string | None. | |
| StreetName | string | None. | |
| City | string | None. | |
| State | string | None. | 
Request Formats
application/json, text/json
            Sample:
        
{
  "BusinessId": 1,
  "Agentid": 2,
  "Name": "sample string 3",
  "Phone": "sample string 4",
  "IsPhoneVerified": 5,
  "Location": "sample string 6",
  "Latitude": "sample string 7",
  "Longitude": "sample string 8",
  "IsUsedBefore": 9,
  "ProductName": "sample string 10",
  "StreetName": "sample string 11",
  "City": "sample string 12",
  "State": "sample string 13"
}
        application/xml, text/xml
            Sample:
        <AddSampling xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <BusinessId>1</BusinessId> <Agentid>2</Agentid> <Name>sample string 3</Name> <Phone>sample string 4</Phone> <IsPhoneVerified>5</IsPhoneVerified> <Location>sample string 6</Location> <Latitude>sample string 7</Latitude> <Longitude>sample string 8</Longitude> <IsUsedBefore>9</IsUsedBefore> <ProductName>sample string 10</ProductName> <StreetName>sample string 11</StreetName> <City>sample string 12</City> <State>sample string 13</State> </AddSampling>
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:46",
  "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>