mcgovern-campbell-technologies / tbd

0 stars 3 forks source link

Add API method for creating teams #82

Closed Luke-Wilson closed 6 years ago

Luke-Wilson commented 6 years ago

Resolve #80 This PR creates the API method for creating teams. POST requests should be made to /api/team. The request body should contain a teamName, an existing projectId and an existing locationId. http://recordit.co/yaAHkkbM3R

EDIT: Now also resolves #82 This addition creates the ability to add or remove a contractor from a team. PUT requests should be made to /api/contractor/team/add or /api/contractor/team/remove (depending on what you want to do. Request body should contain an existing contractorId and an existing teamId. http://recordit.co/J1QapQqqvo