POST api/Store/AddBusinessCampaign
Request Information
URI Parameters
None.
Body Parameters
AddBusinessCampaignName | Description | Type | Additional information |
---|---|---|---|
businessid | integer |
None. |
|
loginuserid | integer |
None. |
|
BusinessCampaignId | integer |
None. |
|
CampaignName | string |
None. |
|
CampaignType | integer |
None. |
|
CashBackValueType | integer |
None. |
|
ValueOff | integer |
None. |
|
MinimumOrderValue | integer |
None. |
|
MaximumOrderValue | integer |
None. |
|
CampaignStartDate | string |
None. |
|
CampaignEndDate | string |
None. |
|
Flag | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "businessid": 1, "loginuserid": 2, "BusinessCampaignId": 3, "CampaignName": "sample string 4", "CampaignType": 5, "CashBackValueType": 6, "ValueOff": 7, "MinimumOrderValue": 8, "MaximumOrderValue": 9, "CampaignStartDate": "sample string 10", "CampaignEndDate": "sample string 11", "Flag": 12 }
application/xml, text/xml
Sample:
<AddBusinessCampaign xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOPWAAPI.Model"> <BusinessCampaignId>3</BusinessCampaignId> <CampaignEndDate>sample string 11</CampaignEndDate> <CampaignName>sample string 4</CampaignName> <CampaignStartDate>sample string 10</CampaignStartDate> <CampaignType>5</CampaignType> <CashBackValueType>6</CashBackValueType> <Flag>12</Flag> <MaximumOrderValue>9</MaximumOrderValue> <MinimumOrderValue>8</MinimumOrderValue> <ValueOff>7</ValueOff> <businessid>1</businessid> <loginuserid>2</loginuserid> </AddBusinessCampaign>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
VCAPIResponseName | 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/04/04 06:37:10", "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>