Schedulable changes API
Adds, updates, or removes users via a scheduled change using the Team Membership relation. The schedulable change must be in the future
Update a scheduled change's team memberships
PUT /api/v1/schedulable_changes/:schedulable_change_id/update_team_memberships
Name | Description |
---|---|
schedulable_change_id * | ID of the schedulable change to update |
team_membership_id * | ID of the team membership to schedule a change for |
deleted | If true will schedule to remove the team membership from the team |
hours_per_day | Hours per day team member is scheduled |
story_points_per_day | Story points per day for the team member |
monday | If user is to be scheduled for monday |
tuesday | If user is to be scheduled for tuesday |
wednesday | If user is to be scheduled for wednesday |
thursday | If user is to be scheduled for thursday |
friday | If user is to be scheduled for friday |
staurday | If user is to be scheduled for staurday |
sunday | If user is to be scheduled for sunday |
Example request
PUT /api/v1/schedulable_changes/711001786/update_team_memberships
Example CURL command
curl "https://company.aha.io/api/v1/schedulable_changes/711001786/update_team_memberships" -d '{"team_membership_id":202266373,"team_membership":{"schedule":{"hours_per_day":5.0,"story_points_per_day":4.0,"monday":false,"tuesday":true,"wednesday":true,"thursday":true,"friday":false,"saturday":false,"sunday":false}}}' -X PUT \
-H "Authorization: Bearer 584b6d6b83405011f8c6903d2379f4afdf824cef867db391b7bcb5995f603a76" \
-H "Content-Type: application/json" \
-H "Accept: application/json"
Request
authorization: Bearer 584b6d6b83405011f8c6903d2379f4afdf824cef867db391b7bcb5995f603a76
contentType: application/json
accept: application/json
Request body
Response
Status: 200 OK
contentType: application/json; charset=utf-8
Response body