Table of Contents
AddResource
Adds a resource to the webcast system.
Example
Call=AddResource
Parameters={“AccessID”:”1234abc”,”AccessKey”:”abcde”,”WebcastID”:”4660″,”Name”:”ThePresentation”}
https://www.domain.com/templates2.0/API/0.2/?Parameters={“AccessID”:”1234abc”,”AccessKey”:”abcde”,”WebcastID”:”4660″,”Name”:”ThePresentation”}&Call=AddResource
If a file is posted with API call it must be form-data encoded with the name “ResourceFile”.
To add a link to the player resource list a “Name” and “Link” must be supplied with no “ResourceFile”. If the “Name” and “Link” are omitted and a file is supplied the file is only uploaded to webcast “resource” directory.
If a player resource download is desired the “Name” and a “ResourceFile” must be provided. The file will added to the webcast “resource” directory and a download link added to the player resource list.
The values pairs can be submitted using GET or POST.
Example Return
{
“datetime”: “17/Nov/2020 09:33:37 AM”,
“UploadResponse”: {
“StoreId”: “ResourcesStore”,
“Field”: “link”,
“ItemID”: “14170”,
“WebcastID”: 4660,
“NewRow”: true,
“file”: “Brant Local DR Pilot Webinar v15.pdf”,
“success”: true
},
“ID”: “14170”,
“Name”: “ThePresentation”,
“Link”: null,
“WebcastID”: 4660
}