B2see Public API
  • Overview
  • Advertising API
    • /GetMedia
      • Test UI
      • Webhook
    • /GetMediaByDealer
    • /GetMediaByGroup
  • Batch Data API
  • Change Log
  • Glossary
Powered by GitBook
On this page
  • Purpose
  • MyVideos

Was this helpful?

Batch Data API

This page details the MyVideos endpoint.

Purpose

For any organisation that wants to query all meta data linked to a batch to enhance their CRM or reporting functions.

MyVideos

GET https://app.b2see.co.uk/PublicAPI/MyVideos/v1/cakes/:id

This endpoint allows you to get all meta data linked to a Batch

Query Parameters

Name
Type
Description

customerId

string

This is the unique identifier for the account (B2see ID)

apiKey

string

API key to authenticate the 3rd party

daysOfHistory

integer

How far back in days the data set will be queri

[ 
 { 
  "BatchId": 1032005, 
  "MarketingContactId": 0, 
  "DateCreated": "2021-05-13T10:53:44Z", 
  "SendingUserName": "Rory Walsh",
  "Title": "TEST SERVICE ", 
  "ProductType": "aftersales_via_portal", 
  "RecipientEmail": "", 
  "RecipientMobile": "", 
  "Data": null, 
  "DateSent": null, 
  "LandingPageFirstWatched": null, 
  "LandingPageLastWatched": null, 
  "LandingPageWatchCount": 0, 
  "CustomerActionState": null, 
  "CustomerActionDate": null, 
  "CustomerActionDescription": null, 
  "CustomerActionPrice": 0, 
  "CustomerActionPriceSuffix": null, 
  "CustomerActionPaymentOutcome": null, 
  "CustomerRating": null, 
  "CustomerRatingAdditional": null, 
  "VideoPlayCount": 1, 
  "ImageLinkClicks": 0, 
  "FacebookClicks": 0, 
  "GoogleClicks": 0 
 } 
]
{
  "Success": false,
  "Message": "CustomerID does not exist"
}

or

{
  "Success": false,
  "Message": "API key not in correct format (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx)"
}

Previous/GetMediaByGroupNextChange Log

Last updated 3 years ago

Was this helpful?