Skip to content

Users Access

Available since: v1.0.0

🚧 In a busy system with millions of current or historic end user subscriptions the snapshot file will grow into multiple GB.

FileSnapshotDeltaFrequency
users_access/users_access_yyyy_MM_dd.csv:white_check_mark::white_check_mark:Daily

[block:parameters] { “data”: { “h-0”: “Attribute”, “h-1”: “Required?”, “h-2”: “Value”, “h-3”: “Description”, “0-0”: “ID”, “0-1”: “Yes”, “0-2”: “NUMBER”, “0-3”: “Unique identifier of entity”, “1-0”: “USER_ID”, “1-1”: “Yes”, “1-2”: “NUMBER”, “1-3”: “Foreign key for Users”, “2-0”: “STATUS_ID”, “2-1”: "", “2-2”: “NUMBER”, “2-3”: “0=Active (Access is valid for viewing content) \n1= Inactive \n2=Initialized (User has started, but not completed the purchase flow) \n3=Capture \n4=Free Access \n5=Stopped \n6=Upgraded (Access has been upgraded and is no longer used for access control) \n7=Auth_only (Only used for card authorization, does not grant access to view content) \n8=CAPTURE_QUEUED (The MemberAccess gets this state when it has been added to the queue for async processing) \n9=CAPTURE_IN_PROGRESS (This state is set when the MemberAccess has been fetched from the queue, and processing has started) \n10=CAPTURE_FAILED \n11=CAPTURE_REJECTED_DUPLICATE_PURCHASE (The processing of the MemberAccess was rejected since the user has an existing valid access)”, “3-0”: “STATUS_TEXT”, “3-1”: "", “3-2”: “VARCHAR2(300 BYTE)”, “3-3”: “Describes last system update in text”, “4-0”: “STARTDATE”, “4-1”: "", “4-2”: “DATE”, “4-3”: “Access is valid from this date”, “5-0”: “ENDDATE”, “5-1”: "", “5-2”: “DATE”, “5-3”: “Access is attempted renewed on this date”, “6-0”: “ACCESS_ENDDATE”, “6-1”: "", “6-2”: “DATE”, “6-3”: “Access is valid until this date (usually a few hours later than enddate, to allow job to run and account for temporary gateway hick-ups)”, “7-0”: “USER_STOP_DATE”, “7-1”: "", “7-2”: “DATE”, “7-3”: “User cancelled subscription access on this date.”, “8-0”: “PRICE”, “8-1”: "", “8-2”: “NUMBER”, “8-3”: “The user will be charged this amount on next enddate”, “9-0”: “PERIOD”, “9-1”: "", “9-2”: “NUMBER”, “9-3”: “Access period in seconds. On “enddate” of the access, “period” number of seconds will be added to “enddate” if renewal is successful.”, “10-0”: “AUTORENEW_STATUS”, “10-1”: "", “10-2”: “NUMBER”, “10-3”: “0 \t= Active (This is a running subscription that will be attempted renewed on enddate) \n1\t= Stopping (Legacy status, no longer in active use) \n2 \t= Stopped (This has been a running subscription, but has been stopped either by the enduser or by the system. It will not be attempted renewed on enddate) \n3\t= Stopped after errors (Legacy status, no longer in active use) \n4 \t= Not started (Will only happen if status_id=2) \n5 \t= Not eligible (This is not a running subscription - could be PPV, access granted through Admin or other non-renewable access types) \n6 = Pending (Legacy status, no longer in active use) \n7 = Converted (This subscription has been upgraded or downgraded, resulting in a new subscription with a different ID. It will not be attempted renewed on enddate) \n8\t= Stopped and expired (This has been a running subscription, but has been stopped either by the enduser or by the system. The access end date has passed, so it has expired) \n9\t= Converted and expired (This subscription has been upgraded or downgraded, resulting in a new subscription with a different ID. The access end date has passed, so it has expired) \n10\t= Frozen (This subscription has been frozen until a later time and will not be attempted renewed again until said time has passed) \n11\t= Single access expired (This is not a running subscription - could be PPV, access granted through Admin or other non-renewable access types. The access end date has passed, so it has expired) \n12\t= Frozen and expired (This subscription has been frozen until a later time and will not be attempted renewed again until said time has passed. The order was not unfrozen before the access end date passed, so it has expired) \n13\t= Expired (When the access end date has passed and the auto renew status is not Active, Stopped, Converted, Frozen or Not eligible, this is the fallback auto renew status)”, “11-0”: “AUTORENEW_ERRORS”, “11-1”: "", “11-2”: “NUMBER”, “11-3”: “Number of times the access has failed autorenewal”, “12-0”: “IP”, “12-1”: "", “12-2”: “VARCHAR2”, “12-3”: “End user’s IP-address in moment of purchase”, “13-0”: “PRODUCT_NAME”, “13-1”: "", “13-2”: “VARCHAR2”, “13-3”: “Name of the product that defines the access”, “14-0”: “ISP_ID”, “14-1”: "", “14-2”: “VARCHAR2”, “14-3”: “End user’s ISP in moment of purchase”, “15-0”: “REFERRER”, “15-1”: "", “15-2”: “VARCHAR2”, “15-3”: “f third-party sites link into the service, they can pass along referrer, which is a free-text field. Front-ends must pass this through to the API if it is going to be logged. This field can then be used to calculate cuts”, “16-0”: “PRODUCT_PROVIDER_ID”, “16-1”: "", “16-2”: “NUMBER”, “16-3”: “Foreign key for Product Providers”, “17-0”: “LAST_PAYMENT_TRANSACTION_ID”, “17-1”: "", “17-2”: “NUMBER”, “17-3”: “Convenience reference to the last Payment Transactions on this subscription”, “18-0”: “ASSET_ID”, “18-1”: "", “18-2”: “NUMBER”, “18-3”: “Foreign key for Assets \n \nFront-ends can pass this along if a specific video triggered a purchase”, “19-0”: “CATEGORY_ID”, “19-1”: "", “19-2”: “NUMBER”, “19-3”: “Foreign key for Categories \n \nFront-ends can pass this along to log the category from which the purchase was made (might be relevant for bundles, to see which content triggers most purchases)”, “20-0”: “PLATFORM_ID”, “20-1”: "", “20-2”: “NUMBER”, “20-3”: “Foreign key for Platforms \n \nThe platform (web, tablet etc) from which the purchase was made”, “21-0”: “ORDER_REF”, “21-1”: "", “21-2”: “VARCHAR2(250 BYTE)”, “21-3”: “External reference of the subscription, typically from payment provider”, “22-0”: “EXT_USER_ID”, “22-1”: "", “22-2”: “VARCHAR2(100 BYTE)”, “22-3”: “Logged for payment providers that require a username”, “23-0”: “EXT_AGREEMENT_REF”, “23-1”: "", “23-2”: “VARCHAR2(250 BYTE)”, “23-3”: “External reference to subscription from payment providers (e.g. PayPal reference) used for autorenewals”, “24-0”: “REGISTERED”, “24-1”: "", “24-2”: “DATE”, “24-3”: “Date the access was registered (might be earlier than startdate for sales made ahead of an event)”, “25-0”: “LAST_ACTIVITY_DATE”, “25-1”: "", “25-2”: “DATE”, “25-3”: “The latest date the system did anything to the subscription (typically last auto renewal date). When registering a new order, this field is set to the same as “REGISTERED"", “26-0”: “PRODUCT_GROUP_ID”, “26-1”: "", “26-2”: “NUMBER”, “26-3”: “Convenience reference to the Product Groups (can also be deducted from product_provider_id)”, “27-0”: “PRODUCT_ID”, “27-1”: "", “27-2”: “NUMBER”, “27-3”: “Convenience reference to the Products (can also be deducted from product_provider_id)”, “28-0”: “VOUCHER_CODE”, “28-1”: "", “28-2”: “VARCHAR2(50 BYTE)”, “28-3”: “If the access was created with a voucher, the voucher code is logged here”, “29-0”: “EARLIEST_ENDDATE”, “29-1”: "", “29-2”: “DATE”, “29-3”: “Used for subscriptions with a binding period. Even if the user stops the subscription, it will continue to be renewed until this date.”, “30-0”: “ACTIVE_PERIODS”, “30-1”: "", “30-2”: “NUMBER”, “30-3”: “Number of periods the subscription has been running”, “31-0”: “UPGRADED_FROM”, “31-1”: "", “31-2”: “NUMBER”, “31-3”: “When a subscription is upgraded, this field holds a reference to the original subscription”, “32-0”: “CURRENCY”, “32-1”: "", “32-2”: “VARCHAR2(25 BYTE)”, “32-3”: “The currency of the subscription price”, “33-0”: “PAYMENT_INFO”, “33-1”: "", “33-2”: “VARCHAR2(64 BYTE)”, “33-3”: “Can hold specific payment details such as masked credit card number”, “34-0”: “PAYMENT_INFO_EXP_DATE”, “34-1”: "", “34-2”: “DATE”, “34-3”: “Typically holds credit card expiry date”, “35-0”: “INIT_PRICE”, “35-1”: "", “35-2”: “NUMBER”, “35-3”: “Convenience reference to the first transaction price (if the subscription was purchased with a campaign)”, “36-0”: “AUTO_RENEW_STOP_DATE”, “36-1”: "", “36-2”: “DATE”, “36-3”: “Final stop date for system renewal of a subscription. Will not be set unless the product has this specified”, “37-0”: “APP_NAME”, “37-1”: "", “37-2”: “VARCHAR2(64 BYTE)”, “37-3”: "", “38-0”: “USER_PAYMENT_METHOD_ID”, “38-1”: "", “38-2”: “UUID”, “38-3”: “Foreign key for Users Payment Methods”, “39-0”: “PERIOD_ISO”, “39-1”: "", “39-2”: “VARCHAR2”, “39-3”: ”(:new: v2.6.0+) \nAccess period in ISO period format.”, “40-0”: “EXTENDED_TIME”, “40-1”: "", “40-2”: “NUMBER”, “40-3”: ”(:new: v2.11.0+) \nThe amount of time in seconds the subscription has been extended with due to failed payments and a renew failure strategy that define a grace period.”, “41-0”: “AUTORENEW_PROCESSING_STATUS”, “41-1”: "", “41-2”: “VARCHAR2(64 BYTE)”, “41-3”: ”(:new: v2.11.0+) \nThe status of the subscription’s renewal processing. \nIDLE: The subscription is not picked up for renewal. \nQUEUED: The subscription is queued for renewal. \nPROCESSING: The subscription is in the process of being charged for the next period.”, “42-0”: “DEPLOYMENT_ENVIRONMENT_ID”, “42-1”: "", “42-2”: “VARCHAR2(64 BYTE)”, “42-3”: ”(:new: v2.11.0+) \nString defining the originating environment of the subscription. Ensures that if one copies data from production to a stage environment, no subscription is to be charged twice.”, “43-0”: “PAYMENT_METHOD”, “43-1”: "", “43-2”: “VARCHAR2(64 BYTE)”, “43-3”: ”(:new: v2.11.0+) \nDefining the type of the payment object that goes along with the order when initialising the subscription. This will in most cases be closely related to the PaymentProvider in use. Can be one of the following: \nCREDITCARD, EXTERNAL_CREDITCARD, SMS, CREDENTIALS, REDIRECT, VOUCHER, ONE_CLICK_BUY, ONE_CLICK_BUY_PIN, CONVERT_ORDER_FOR_NEXT_RENEWAL, CONVERT_ORDER_INSTANTLY, EXTERNAL, GOOGLE_PLAY, INVOICE, DIRECT_BANK, IFLIX, EXTERNAL_CARRIER_BILLING, BRAINTREE, KLARNA, ALLOW_WITH_PASSWORD”, “44-0”: “INITPRICE_AND_PERIOD_BYPASSED”, “44-1”: "", “44-2”: “CHAR(1)”, “44-3”: ”(:new: v2.11.0+) \n”1” if bypassed.”, “45-0”: “UPGRADE_OPTION”, “45-1”: "", “45-2”: “VARCHAR2(64 BYTE)”, “45-3”: ”(:new: v2.11.0+) \nIf subscription is upgraded, one of the following options will be used: \nEXTENDED_TIME, DISCOUNT, CHANGE_PAYMENT_INFO, CONVERT_WITHIN_SAME_PERIOD.”, “46-0”: “UPGRADE_DISCOUNT”, “46-1”: "", “46-2”: “NUMBER”, “46-3”: ”(:new: v2.11.0+) \nDiscount given upon upgrade.”, “47-0”: “UPGRADE_EXTENDED_TIME”, “47-1”: "", “47-2”: “NUMBER”, “47-3”: ”(:new: v2.11.0+) \nExtended time given upon upgrade in seconds.”, “48-0”: “TRIAL_OVERRIDE”, “48-1”: "", “48-2”: “VARCHAR2(64 BYTE)”, “48-3”: ”(:new: v2.11.0+) \nIf trial override have been used on initialisation of order, one of the following: \nTRIAL_FORCED, TRIAL_BYPASS_FORCED, FREE_TRIAL_BYPASSED otherwise DEFAULT.”, “49-0”: “BASIS_FOR_RENEWAL_DATE_CALC”, “49-1”: "", “49-2”: “DATE”, “49-3”: ”(:new: v2.11.0+) \nif Renewal End Date Calculation Strategy is set to SYNC_WITH_START_DATE, this date is used for calculating next renewal on subscriptions.” }, “cols”: 4, “rows”: 50, “align”: [ “left”, “left”, “left”, “left” ] } [/block]