Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 10 Next »

 

The Subscription entity is the information and meta data for a Person's subscription to a Subscription List.


Contents 

Subscription Entity

This is the JSON representation of a Subscription entity within the APIs.

{
   "person":{
      "id":"ABC123",
      "url":"/companies/:id/mobiledb/persons/:person_id"
   },
   "subscription_list":{
      "id":"1234",
      "url":"/companies/:id/mobiledb/subscription_lists/:id"
   },
   "opt_in_date":"2013-01-09T15:34:52Z",
   "acquisition":{
      "id":"2342312",
      "url":"/companies/:id/campaigns/acquisition/:campaign_id"
   },
   "url":"/companies/:id/mobiledb/persons/:person_id/subscriptions/:subscription_list_id"
}

Elements

Data Element

Type

Description

person

Object

Person reference information for the subscription.

subscription_list

Object

Subscription List object reference information for the subscription.

opt_in_date

Date

Time reference of when the subscription was entered.

acquisition

Object

The Acquisition Campaign reference to indicate how the subscription was created.

url

String

A reference url to the existing object, as a relative URL to the existing domain.

  • No labels