POST api/Cache/{clientID}/{visitorID}/Parameters

Adds parameters to a visitor profile

Request Information

URI Parameters

NameDescriptionTypeAdditional information
clientID

Client ID

globally unique identifier

Required

visitorID

VisitorID

string

Required

Body Parameters

Collection of parameters

Collection of VisitorAttribute
NameDescriptionTypeAdditional information
Name

Name

string

None.

Value

Value

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "Name": "sample string 1",
    "Value": "sample string 2"
  },
  {
    "Name": "sample string 1",
    "Value": "sample string 2"
  }
]

application/xml, text/xml

Sample:
<ArrayOfVisitorAttribute xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RedPoint.InteractionRealtime.Models">
  <VisitorAttribute>
    <Name>sample string 1</Name>
    <Value>sample string 2</Value>
  </VisitorAttribute>
  <VisitorAttribute>
    <Name>sample string 1</Name>
    <Value>sample string 2</Value>
  </VisitorAttribute>
</ArrayOfVisitorAttribute>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Visitor
NameDescriptionTypeAdditional information
VisitorID

string

None.

DeviceID

string

None.

Response Formats

application/json, text/json

Sample:
{
  "VisitorID": "sample string 1",
  "DeviceID": "sample string 2"
}

application/xml, text/xml

Sample:
<Visitor xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RedPoint.InteractionRealtime.Models">
  <DeviceID>sample string 2</DeviceID>
  <VisitorID>sample string 1</VisitorID>
</Visitor>