Version 7.7.3

Back | 

WsPresentationSlide

URL

medialize.stream.co.jp/services/index.php?&mode=json
Use "request" param as post variable for submitting json/xml request payload for all POST requests.

Parameters

  • presentationId => Presentation id of the Presentation to be updated
    assetId => Asset id related to the slide (has to be an image asset)
    title => Slide's title
    time => Slide's time in seconds (default value is 0)
    sortNum => Sort postion of the new slide. Start position is 0 and default value is last position
    url => Slide's url

Request

Add a new slide to a presentation

Request format

{
  "request": {
    "authentication": {
      "app_token": "76f3139c-9c22-11e4-9c3f-2145185cv141",
      "client_token": "d4c1b92c0acb102ba3e1001613c061e2",
      "user_token": "7ccba1e8-1592-102b-8824-000c202ace54"
    },
    "header": {
      "header_version": 1,
      "api_version": "5",
      "no_cache": true
    },
    "ws_presentation_slide": {
      "presentationId": 1,
      "assetId": 2,
      "sortNum": 0,
      "time": 10,
      "url": "http:\/\/www.someurl.com"
    }
  }
}

Test Example

{ "request": { "authentication": { "app_token": "#app_token#", "client_token": "#client_token#", "user_token": "#user_token#" }, "header": { "header_version": 1, "api_version": "5", "no_cache": true }, "ws_presentation_slide": { "presentationId": 100, "assetId": 101, "sortNum": 0, "time": 10, "url": "http:\/\/www.someurl.com" } } }

Response

Response format

{
  "response": {
    "success": {
      "code": 1268,
      "message": "Slide added\/updated",
      "details": ""
    },
    "WsPresentationSlideResponse": {
      
    }
  }
}