Opening edition Notification

Purpose:

This service can be implemented by an external platform so to be real-time notified about users opening editions

How the webservice will work

Every time an edition is opened by user, VNP will trigger a post request to the external platform provided details about user and opened edition described below

THE FLOW

User tries to open edition VNP performs HTTP POST request to: [yoururl]/register_access

The request

parameters:

NAME

Description

Example

user In case of logged user will be the external platform user Id (This will be the Gigya UID if it exists). In case of anonymous user will be the device UDID. 1515
publication_date The date of the published issue the user is trying to open 20170427
publication_title the edition is being opened by the user. dailynews
publication_main_title the parent edition of the edition is being opened by the user. This can be the same as publication_title in case the user is opening the main title worldnews
device the device is being used to open an edition can be even smartphone/tablet/web smartphone
udid unique identifier of the app. It's reliable on the apps but stored in cookies for the web d0GGd344

The response

The response can even be positive or negative. In anycase the response JSON must contain

NAME

Description

Example

success true/false true