POST api/Voucher/StopCampaign

Request Information

URI Parameters

None.

Body Parameters

ModifyCampaignModel
NameDescriptionTypeAdditional information
value

integer

None.

cap

integer

None.

share

integer

None.

name

string

None.

campaignName

string

None.

campaignId

integer

None.

userKey

string

None.

TypeId

integer

None.

Count

integer

None.

repetitionType

integer

None.

usageLimit

integer

None.

usageLimitPerUser

integer

None.

specialityKey

string

None.

areaKey

string

None.

countryKey

string

None.

cityKey

string

None.

componentKey

string

None.

productKey

string

None.

ReciepientKey

string

None.

ProviderKey

string

None.

StartDateTime

date

None.

EndDateTime

date

None.

Request Formats

application/json, text/json

Sample:
{
  "value": 1,
  "cap": 2,
  "share": 3,
  "name": "sample string 4",
  "campaignName": "sample string 5",
  "campaignId": 6,
  "userKey": "sample string 7",
  "TypeId": 8,
  "Count": 9,
  "repetitionType": 10,
  "usageLimit": 1,
  "usageLimitPerUser": 1,
  "specialityKey": "sample string 11",
  "areaKey": "sample string 12",
  "countryKey": "sample string 13",
  "cityKey": "sample string 14",
  "componentKey": "sample string 15",
  "productKey": "sample string 16",
  "ReciepientKey": "sample string 17",
  "ProviderKey": "sample string 18",
  "StartDateTime": "2025-05-06T11:04:35.2791303+02:00",
  "EndDateTime": "2025-05-06T11:04:35.2791303+02:00"
}

application/xml, text/xml

Sample:
<ModifyCampaignModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Vezeeta.Vouchers.Models"><Count>9</Count><EndDateTime>2025-05-06T11:04:35.2791303+02:00</EndDateTime><ProviderKey>sample string 18</ProviderKey><ReciepientKey>sample string 17</ReciepientKey><StartDateTime>2025-05-06T11:04:35.2791303+02:00</StartDateTime><TypeId>8</TypeId><areaKey>sample string 12</areaKey><campaignId>6</campaignId><campaignName>sample string 5</campaignName><cap>2</cap><cityKey>sample string 14</cityKey><componentKey>sample string 15</componentKey><countryKey>sample string 13</countryKey><name>sample string 4</name><productKey>sample string 16</productKey><repetitionType>10</repetitionType><share>3</share><specialityKey>sample string 11</specialityKey><usageLimit>1</usageLimit><usageLimitPerUser>1</usageLimitPerUser><userKey>sample string 7</userKey><value>1</value></ModifyCampaignModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.