ContactOptIn

A single contact opt-in.

Fields

FieldDescription
id
int 
(required)

Unique ID

Example value:123
info
ContactOptInInfo 
(required)

Info on the actual opt in

Example value:{ "ip": "127.0.0.1", "method": "websales" }
optinid
int 
(required)

ID of the optin

Example value:433
status
int 
(required)

Status of the opt-in. Possible values are Unknown (7601), Opted In (7602) and Opted Out (7603)

Example value:7602
createdts
timestamp 
(required)

Created timestamp

Example value:"2014-09-26 15:24:36"
lastupdatets
timestamp 
(required)

Last updated timestamp

Example value:"2014-09-26 15:24:36"

Example

 1{
 2    "id": 123,
 3    "info": {
 4        "ip": "127.0.0.1",
 5        "method": "websales"
 6    },
 7    "optinid": 433,
 8    "status": 7602,
 9    "createdts": "2014-09-26 15:24:36",
10    "lastupdatets": "2014-09-26 15:24:36"
11}