BexioApiClient. Projects
(bexio_api_client v2.0.0)
Copy Markdown
Bexio API for the projects part of the API.
Summary
Functions
Archive a project.
Create a milestone of a project.
Create a project.
Create a work package of a project.
Delete a single milestone of a project.
Delete a project.
Delete a single work package of a project.
Edit a single milestone of a project.
Edit a project.
Edit a single work package of a project.
Fetch a single milestone of a project.
Fetch a list of milestones of a project.
Fetch a single project.
Fetch a list of project statuses.
Fetch a list of project types.
Fetch a list of projects.
Fetch a single work package of a project.
Fetch a list of work packages of a project.
Unarchive (reactivate) an archived project.
Search projects via query. The following search fields are supported
Types
Functions
@spec archive_project(req :: Req.Request.t(), project_id :: non_neg_integer()) :: {:ok, boolean()} | api_error_type()
Archive a project.
@spec create_milestone( req :: Req.Request.t(), project_id :: integer(), milestone :: BexioApiClient.Projects.Milestone.t() ) :: {:ok, BexioApiClient.Projects.Milestone.t()} | api_error_type()
Create a milestone of a project.
@spec create_project( req :: Req.Request.t(), project :: BexioApiClient.Projects.Project.t() ) :: {:ok, BexioApiClient.Projects.Project.t()} | api_error_type()
Create a project.
@spec create_work_package( req :: Req.Request.t(), project_id :: integer(), work_package :: BexioApiClient.Projects.WorkPackage.t() ) :: {:ok, BexioApiClient.Projects.WorkPackage.t()} | api_error_type()
Create a work package of a project.
@spec delete_milestone( req :: Req.Request.t(), project_id :: integer(), milestone_id :: integer() ) :: {:ok, boolean()} | api_error_type()
Delete a single milestone of a project.
@spec delete_project(req :: Req.Request.t(), project_id :: non_neg_integer()) :: {:ok, boolean()} | api_error_type()
Delete a project.
@spec delete_work_package( req :: Req.Request.t(), project_id :: integer(), package_id :: integer() ) :: {:ok, boolean()} | api_error_type()
Delete a single work package of a project.
@spec edit_milestone( req :: Req.Request.t(), project_id :: integer(), milestone :: BexioApiClient.Projects.Milestone.t() ) :: {:ok, BexioApiClient.Projects.Milestone.t()} | api_error_type()
Edit a single milestone of a project.
@spec edit_project( req :: Req.Request.t(), project :: BexioApiClient.Projects.Project.t() ) :: {:ok, BexioApiClient.Projects.Project.t()} | api_error_type()
Edit a project.
@spec edit_work_package( req :: Req.Request.t(), project_id :: integer(), work_package :: BexioApiClient.Projects.WorkPackage.t() ) :: {:ok, BexioApiClient.Projects.WorkPackage.t()} | api_error_type()
Edit a single work package of a project.
@spec fetch_milestone( req :: Req.Request.t(), project_id :: integer(), milestone_id :: integer() ) :: {:ok, BexioApiClient.Projects.Milestone.t()} | api_error_type()
Fetch a single milestone of a project.
@spec fetch_milestones( req :: Req.Request.t(), project_id :: integer(), opts :: [BexioApiClient.GlobalArguments.offset_without_order_by_arg()] ) :: {:ok, [BexioApiClient.Projects.Milestone.t()]} | api_error_type()
Fetch a list of milestones of a project.
@spec fetch_project(req :: Req.Request.t(), project_id :: non_neg_integer()) :: {:ok, BexioApiClient.Projects.Project.t()} | api_error_type()
Fetch a single project.
@spec fetch_project_states(req :: Req.Request.t()) :: {:ok, [BexioApiClient.Projects.ProjectState.t()]} | api_error_type()
Fetch a list of project statuses.
@spec fetch_project_types( req :: Req.Request.t(), opts :: [BexioApiClient.GlobalArguments.offset_arg()] ) :: {:ok, [BexioApiClient.Projects.ProjectType.t()]} | api_error_type()
Fetch a list of project types.
@spec fetch_projects( req :: Req.Request.t(), opts :: [BexioApiClient.GlobalArguments.offset_arg()] ) :: {:ok, [BexioApiClient.Projects.Project.t()]} | api_error_type()
Fetch a list of projects.
@spec fetch_work_package( req :: Req.Request.t(), project_id :: integer(), package_id :: integer() ) :: {:ok, BexioApiClient.Projects.WorkPackage.t()} | api_error_type()
Fetch a single work package of a project.
@spec fetch_work_packages( req :: Req.Request.t(), project_id :: integer(), opts :: [BexioApiClient.GlobalArguments.offset_without_order_by_arg()] ) :: {:ok, [BexioApiClient.Projects.WorkPackage.t()]} | api_error_type()
Fetch a list of work packages of a project.
@spec reactivate_project(req :: Req.Request.t(), project_id :: non_neg_integer()) :: {:ok, boolean()} | api_error_type()
Unarchive (reactivate) an archived project.
@spec search_projects( req :: Req.Request.t(), criteria :: [BexioApiClient.SearchCriteria.t()], opts :: [BexioApiClient.GlobalArguments.offset_arg()] ) :: {:ok, [BexioApiClient.Projects.Project.t()]} | api_error_type()
Search projects via query. The following search fields are supported:
- name
- contact_id
- pr_state_id