View Full Version : Create Events via http post

09-21-2016, 03:29 AM

I created a feature request via e-Mail at Area51 Tech Support.

I requested a possibility to create named events vie URL. I figured out that it is possible to create an Event by executing an URL like this: http://3play-XXXXXXXX/v1/shortcut?name=mark-out
This is a very helpful solution!

My Request is to add the posibility to create named events via URL like this http://3play-XXXXXXXX/v1/shortcut?name=mark-out&value=<NAME_OF_EVENT>
This would give us a powerful solution to create automatic events for Basketball games triggerd by an action scout.

I just wanted to add this request here in the Forum as well.

Thanks and best regards from Germany!

09-21-2016, 07:47 AM
You can't name them in a single command, but there are other commands to add name to the clips. I'm not in front of a 3PLAY right night to find out what they are, but if I recall you can make a macro of manually entering a name on a clip to get the commands that would be needed to do this via web control.

09-21-2016, 08:26 AM
You can do this now, I think, by resorting to a different shortcut. The attached image shows a macro I recorded. When executed, it sets the memo field for the second clip in the currently selected Clip List to the value "MyTag". (By the way, the full syntax for this and other 3Play shortcuts can be found in the Automation and Integration Guide.)


09-21-2016, 09:19 AM
mhhh... Maybe my description was not not detiled enough.
I plan to create events from a external interface by executing the url with parameters.

No human is sitting in front of the 3play at this moment. There is a live scouting during the game and on every game event like "assist", "3point", "rebound" ... there is a trigger on a flat file wich triggers the interface.

So my target ist to have events at real time the command is triggerd like:
... and so on...

My interface could also execute more then one URL in a row, thats not the problem. But the online support told me its not possible to create "named events" through http-post.
I would be very happy if somebody has an idea how it could work.


09-21-2016, 09:41 AM
I may be missing your point, but you can execute most any supported shortcut (including the one I illustrated) using http. (This is basically how the 440 'surface' works).

09-21-2016, 05:35 PM
You would use your first HTTP GET command to mark an event. Then send another HTTP GET command to set the tag information.

Here is an example to the picture that Steve posted above.


Replace 'MyTag' with information you want to tag the clip with.

(I'm not sure why a space is appearing in the word 'Aliases' above, there should be no space there)

09-22-2016, 07:24 AM
Thank you very much for this explaination! This is exactly what Im looking for.
I will test this.

09-22-2016, 09:35 AM
Great, let us know how it works out. I'm excited to see people building stuff using web control!

09-24-2016, 11:33 AM
Wohoo! I got it!

The URL is: http://3play-5e83c71c/v1/shortcut?name=set_item_prop&type=clipslist&prop=Aliases[0]&value=<<MY-TAG>>

I tried a bit with macros and all the stuff and found some nice features in the automation guide. Thanks a lot for your help!

I will go on with developing a small interface between action scout from the basketball live scouting.

09-24-2016, 12:01 PM
just to confirm: As stated in the "Automation & Integration Guide" - http communication is available still only for the mini version of 3Play?

For TriCaster Advanced Edition and 3Play Mini (only), TCP/IP communication is augmented by HTTP methods that are easily accessed by advanced end users.

If yes, any chance that as well 3Play 440 and 4800 will be updated in future?

09-24-2016, 06:44 PM
just to confirm: As stated in the "Automation & Integration Guide" - http communication is available still only for the mini version of 3Play?

If yes, any chance that as well 3Play 440 and 4800 will be updated in future?

You can do it on a 440/4800, just need to direct your HTTP commands to port 5952 (it will not respond on port 80). For example:


Also, HTTP support on 440/4800 isn't as extensive as you will find on the Mini, but you can still send it commands or trigger macros via HTTP.

12-27-2016, 03:57 PM
Is there any documentation anywhere on how you can set this up on a 4800?

12-28-2016, 10:49 AM
I think there is information if you sign up for the SDK. I also teach a class in San Antonio on how to do the HTTP commands.

I can try to answer questions, but the first question is are you familiar with REST API?