TheLoons / SportIM-service

Backend Webservice for SportIM
GNU General Public License v2.0
1 stars 0 forks source link

Create Single Event POST #12

Closed hjbrock closed 9 years ago

hjbrock commented 9 years ago

We have the GET. We need the POST.

boccobrock commented 9 years ago

example post data {"start":"2014-12-04T00:00:00Z","end":"2014-12-04T00:00:00Z","title":"testr"}

hjbrock commented 9 years ago

POST is done. Title, start, and end are required. You can optionally include teams, players and tournament ID:

{ "title":"test event", "start":"2014-12-04T00:00:00Z", "end":"2014-12-04T02:00:00Z", "teamIDs":[1,2], "playerIDs":["fake@test.com"], "tournamentID":2 }