Updated: 2017-06-26

renderNews

By PRConnect

    Renders an article from the providers native format into HTML 5

    Query Parameters:

    Parameter Meaning Data Type
    T Application Key which authenticates you with cloudquote (required) Base64 string
    id The numeric ID of the article you wish to render (required) Unsigned 64 bit Integer

    JSON Response:

    The response is an array, containing objects with the following keys:

    Parameter Meaning Data Type
    headline The headline for the article (Required) String
    byline The byline of the article, to be placed directly under the headline ISO 8601 date string
    link A link to the original article URI String
    date The publication date of the article (Required) Date & Time - Epoch Milliseconds
    source The source of article (Company/PR Firm that releases it Object
    source.name Source name (required) String
    source.link Link to the website of the source URI String
    author The author of the article (Person, not Company) Object
    author.name The name of the author (required) String
    author.contact Link to contact the author (ex: mailto:xyz@gmail.com, phone:123-45678) URI String
    language Language code for the article Locale String
    location Location related to the article String
    provider.id Unique ID for the provider (Required) Unsigned Integer
    provider.name Name of the provider String
    provider.description Description of the provider String
    provider.link Link to the provider URI String
    provider.logo Link to the logo image for the provider URI String
    categories An array of category objects which the article should be indexed under Array
    categories.name The name of the category (required for each category) String
    securities An array of securities mentioned in the article or received from the source provider Array
    securities.id The symbol identifier for the security - can be passed to other cloudquote APIs to look up the security (required) String
    securities.inferredFrom The original ticker symbol which was used to find the security String
    securities.displayString The "pretty" version of the ticker symbol to display to the user String
    body The body of the article, if it has one Object
    body.type The type of body the article has. Currently always ‘html’ String
    body.html The HTML for the body of the article String
    attachments An array of attachments to the article Array
    attachments.name The name of the attachment String
    attachments.type The type of the attachment (ex: logo, report String
    attachments.mime The mime type of the attachment (ex: image/png, text/csv, application/pdf, video/mp4) Mime Type String
    attachments.uri The uri for the attachment (could be data: url for inline attachments) (required) String

    About the Vendor

    PRConnect provides news & press release syndication services to clients in the PR industry