API Update
The beta API will be updated this weekend with several major improvements.
Major Speed Enhancements
With the last update we added returns for the last comment information on several calls. This caused time out errors and many of the calls to be slow. We have worked tirelessly and with this update are releasing a fix for these issues. Everyone calling project and task calls should notice a large speed increase after this update.
Error Handling
We have added a few new error messages to make it easier to know what exactly went wrong in the event something does happen.
- Added a time out error message
- Added an error message for attempting to add a duplicate team member to a project.
- Added an error message for any time a null object is passed in or out.
Misc Bug Fixes
- Fixed a bug that wouldn't allow TeamMember roles to be passed back without a site ID
- Updates to the help, to make it both more readable and accurate.
- Fixed a routing error that made the Basic Role Report always return an Internal Server Error. This error also made the route: sites/{SiteID}/individuals/basicroles, return an error.
- Fixed a bug that would return deleted Individuals in the PeopleResponsibleList object parameter inside tasks.
BREAKING CHANGES:
We have attempted to keep these to a minimum, however a few breaking changes were unavoidable.
- /showDeleted is being changed to an optional parameter in all calls. it will no longer support /deleted or /all. This was causing issues with other routes and had to be changed. To return deleted in these cases you should now use ?deleted= 0, 1, or 2. (0 = Not deleted, 1 = deleted, and 2 = all)
- The object IndividualTaskResponsible is being removed and replaced with the task object. This only effects the route /individuals/{ID}/alltasks
- The permissions bit will be removed from the task object. This was added in the last update and is being replaced with permission bits for Read, Update, delete, and delegate. *Note* Currently the permission bits are being added to the object but are unused. They will be turned on at a later time.
- Currently /alltasks also returns projects, this has been fixed and alltasks will no longer return projects. All routes for tasks will not return projects.
- Removed 2 routes: dashboards/id/projects/orgcompleted and dashboards/id/projects/orgactive
- Removed SiteID from [Route("~/dialogs/{dialogId:guid}/tasks")] SiteID was not being used so it was removed.
Project/Task updates
- Speed upgrades
- Route updates
- Return fixes
- Object fixes
Object Changes
Many items have been added to tasks and projects to make them uniform and preform the way we expected them to. ACProjects have been removed. There is now only one project object.
There have been many changes made to both projects and tasks. You can see the full current objects here Project, Task
Projects | |||
ColorName | ColorRank | EndDate | LinkedAncestorID |
LinkedAncestorName | LinkedToName | LinkedToRowType | NearHighlight |
OnTime | PhaseRank | RankPath | RowType |
StartDate | StatusRank | CanDelegate | CanDelete |
CanRead | CanUpdate | ||
Tasks | |||
AncestorName | AncestorType | ColorName | ColorRank |
Draft | EndDate | NearHighlight | RowType |
StartDate | StartDateProjected | CanDelegate | CanDelete |
CanRead | CanUpdate |
The Task object now correctly passes back all of the parameters for People Responsible. Previously it would only return a few of the parameters.
Comments
1 comment
The API has been updated.
Please sign in to leave a comment.