PUT api/SystemEvent?sessionId={sessionId}

Updates an existing system event

Request Information

URI Parameters

NameDescriptionTypeAdditional information
sessionId

string

Required

Body Parameters

APISystemEvent
NameDescriptionTypeAdditional information
Id

Unique identifier

integer

None.

State

Status: Active, Closed or Suspended

string

None.

Name

Name

string

None.

DefaultConversionValue

Default conversion value assigned

decimal number

None.

DefaultEventPrice

Default event price assigned

decimal number

None.

VastEvent

Denotes event used within vast adverts

boolean

None.

UnmatchedTreatment

Denotes how event should be treated if it does not match a previous click: TreatAsUnmatched, TreatAsCountOnly, TreatAsCountAndConversionOnly or TreatAsMatched

string

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "state": "sample string 2",
  "name": "sample string 3",
  "defaultConversionValue": 1.1,
  "defaultEventPrice": 1.1,
  "vastEvent": true,
  "unmatchedTreatment": "sample string 4"
}

application/xml, text/xml

Sample:
<APISystemEvent xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Rochester.Models">
  <DefaultConversionValue>1.1</DefaultConversionValue>
  <DefaultEventPrice>1.1</DefaultEventPrice>
  <Id>1</Id>
  <Name>sample string 3</Name>
  <State>sample string 2</State>
  <UnmatchedTreatment>sample string 4</UnmatchedTreatment>
  <VastEvent>true</VastEvent>
</APISystemEvent>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.