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:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOPWAAPI.Model"> <Agentid>2</Agentid> <BusinessId>1</BusinessId> <City>sample string 12</City> <IsPhoneVerified>5</IsPhoneVerified> <IsUsedBefore>9</IsUsedBefore> <Latitude>sample string 7</Latitude> <Location>sample string 6</Location> <Longitude>sample string 8</Longitude> <Name>sample string 3</Name> <Phone>sample string 4</Phone> <ProductName>sample string 10</ProductName> <State>sample string 13</State> <StreetName>sample string 11</StreetName> </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/11/03 15:58:38",
"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>