GET api/Decisions/{visitorID}?contentIDs={contentIDs}&divNames={divNames}&defaultKeys={defaultKeys}&IsMasterMessages={IsMasterMessages}&deviceID={deviceID}&publishID={publishID}&minuteOffSetUTC={minuteOffSetUTC}&apiContext={apiContext}&clientID={clientID}

Requests a realtime decision for a specific visitor and content

Request Information

URI Parameters

NameDescriptionTypeAdditional information
visitorID

Visitor ID

string

Required

contentIDs

Pipe delimited content IDs

string

Required

divNames

Pipe delimited divNames

string

Default value is

defaultKeys

Pipe delimited default keys

string

Default value is

IsMasterMessages

Pipe delmited indicators of which content is the master message

string

Default value is

deviceID

Device ID

string

Default value is

publishID

Publish ID

string

Default value is 0

minuteOffSetUTC

Client offset from UTC

integer

Default value is 0

apiContext

Context API is called from, used for non web page calls to persist decision metadata

string

Default value is

clientID

Required for any database lookups if not already stored with the visitor profile

globally unique identifier

None.

Body Parameters

None.

Response Information

Resource Description

Collection of DecisionResult
NameDescriptionTypeAdditional information
ContentName

string

None.

ResultID

globally unique identifier

None.

ContentID

string

None.

Result

string

None.

ResultContent

Object

None.

ResultContentXML

XElement

None.

ContentFormat

DecisionContentFormat

None.

IsCachedContent

boolean

None.

DefaultKey

string

None.

DivName

string

None.

ContentPath

string

None.

IsEmptyResult

boolean

None.

PluginTag

string

None.

PluginTagDefault

string

None.

ContextName

string

None.

SlotName

string

None.

VisitorID

string

None.

DecisionType

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "ContentName": "sample string 1",
    "ResultID": "7e01c1b5-4918-4397-bd75-4ed07d3f8303",
    "ContentID": "sample string 3",
    "Result": "sample string 4",
    "ResultContent": {},
    "ResultContentXML": null,
    "ContentFormat": "TEXT",
    "IsCachedContent": true,
    "DefaultKey": "sample string 7",
    "DivName": "sample string 8",
    "ContentPath": "sample string 9",
    "IsEmptyResult": true,
    "PluginTag": "sample string 11",
    "PluginTagDefault": "sample string 12",
    "ContextName": "sample string 13",
    "SlotName": "sample string 14",
    "VisitorID": "sample string 15",
    "DecisionType": "sample string 16"
  },
  {
    "ContentName": "sample string 1",
    "ResultID": "7e01c1b5-4918-4397-bd75-4ed07d3f8303",
    "ContentID": "sample string 3",
    "Result": "sample string 4",
    "ResultContent": {},
    "ResultContentXML": null,
    "ContentFormat": "TEXT",
    "IsCachedContent": true,
    "DefaultKey": "sample string 7",
    "DivName": "sample string 8",
    "ContentPath": "sample string 9",
    "IsEmptyResult": true,
    "PluginTag": "sample string 11",
    "PluginTagDefault": "sample string 12",
    "ContextName": "sample string 13",
    "SlotName": "sample string 14",
    "VisitorID": "sample string 15",
    "DecisionType": "sample string 16"
  }
]

application/xml, text/xml

Sample:
<ArrayOfDecisionResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RedPoint.Resonance.Web.Shared">
  <DecisionResult>
    <ContentFormat>TEXT</ContentFormat>
    <ContentID>sample string 3</ContentID>
    <ContentName>sample string 1</ContentName>
    <ContentPath>sample string 9</ContentPath>
    <ContextName>sample string 13</ContextName>
    <DecisionType>sample string 16</DecisionType>
    <DefaultKey>sample string 7</DefaultKey>
    <DivName>sample string 8</DivName>
    <IsCachedContent>true</IsCachedContent>
    <IsEmptyResult>true</IsEmptyResult>
    <PluginTag>sample string 11</PluginTag>
    <PluginTagDefault>sample string 12</PluginTagDefault>
    <Result>sample string 4</Result>
    <ResultContent />
    <ResultContentXML i:nil="true" />
    <ResultID>7e01c1b5-4918-4397-bd75-4ed07d3f8303</ResultID>
    <SlotName>sample string 14</SlotName>
    <VisitorID>sample string 15</VisitorID>
  </DecisionResult>
  <DecisionResult>
    <ContentFormat>TEXT</ContentFormat>
    <ContentID>sample string 3</ContentID>
    <ContentName>sample string 1</ContentName>
    <ContentPath>sample string 9</ContentPath>
    <ContextName>sample string 13</ContextName>
    <DecisionType>sample string 16</DecisionType>
    <DefaultKey>sample string 7</DefaultKey>
    <DivName>sample string 8</DivName>
    <IsCachedContent>true</IsCachedContent>
    <IsEmptyResult>true</IsEmptyResult>
    <PluginTag>sample string 11</PluginTag>
    <PluginTagDefault>sample string 12</PluginTagDefault>
    <Result>sample string 4</Result>
    <ResultContent />
    <ResultContentXML i:nil="true" />
    <ResultID>7e01c1b5-4918-4397-bd75-4ed07d3f8303</ResultID>
    <SlotName>sample string 14</SlotName>
    <VisitorID>sample string 15</VisitorID>
  </DecisionResult>
</ArrayOfDecisionResult>