Procore.Api.ProjectManagementProjectScheduleScheduleResources (procore_sdk v0.3.0)
API calls for all endpoints tagged ProjectManagementProjectScheduleScheduleResources
.
Summary
Functions
List Resources Return a list of all resources in a specified Project
Delete resource Delete the specified Resource. Note that when a resource is deleted, any assignments to tasks will also be removed.
Show resource Show detail on the specified Resource.
Update resource Update the specified Resource.
Create resource Create a new Resource associated with the specified Project.
List Resources Return a list of all resources in a specified Project
Delete resource Delete the specified Resource. Note that when a Resource is deleted, any assignments to Tasks will also be removed.
Show resource Show detail on the specified Resource.
Update resource Update the specified Resource.
Create resource Create a new Resource associated with the specified Project.
Functions
rest_v10_resources_get(connection, procore_company_id, project_id, opts \\ [])
@spec rest_v10_resources_get(Tesla.Env.client(), integer(), integer(), keyword()) :: {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:ok, [Procore.Model.Resource2.t()]} | {:error, Tesla.Env.t()}
List Resources Return a list of all resources in a specified Project
Parameters
connection
(Procore.Connection): Connection to serverprocore_company_id
(integer()): Unique company identifier associated with the Procore User Account.project_id
(integer()): Unique identifier for the project.opts
(keyword): Optional parameters:page
(integer()): Page:per_page
(integer()): Elements per page
Returns
{:ok, [%Resource2{}, ...]}
on success{:error, Tesla.Env.t}
on failure
rest_v10_resources_id_delete(connection, procore_company_id, id, project_id, opts \\ [])
@spec rest_v10_resources_id_delete( Tesla.Env.client(), integer(), integer(), integer(), keyword() ) :: {:ok, nil} | {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:error, Tesla.Env.t()}
Delete resource Delete the specified Resource. Note that when a resource is deleted, any assignments to tasks will also be removed.
Parameters
connection
(Procore.Connection): Connection to serverprocore_company_id
(integer()): Unique company identifier associated with the Procore User Account.id
(integer()): ID of the resourceproject_id
(integer()): Unique identifier for the project.opts
(keyword): Optional parameters
Returns
{:ok, nil}
on success{:error, Tesla.Env.t}
on failure
rest_v10_resources_id_get(connection, procore_company_id, id, project_id, opts \\ [])
@spec rest_v10_resources_id_get( Tesla.Env.client(), integer(), integer(), integer(), keyword() ) :: {:ok, Procore.Model.Resource2.t()} | {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:error, Tesla.Env.t()}
Show resource Show detail on the specified Resource.
Parameters
connection
(Procore.Connection): Connection to serverprocore_company_id
(integer()): Unique company identifier associated with the Procore User Account.id
(integer()): ID of the resourceproject_id
(integer()): Unique identifier for the project.opts
(keyword): Optional parameters
Returns
{:ok, Procore.Model.Resource2.t}
on success{:error, Tesla.Env.t}
on failure
rest_v10_resources_id_patch(connection, procore_company_id, id, body17, opts \\ [])
@spec rest_v10_resources_id_patch( Tesla.Env.client(), integer(), integer(), Procore.Model.Body17.t(), keyword() ) :: {:ok, Procore.Model.Resource2.t()} | {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:error, Tesla.Env.t()}
Update resource Update the specified Resource.
Parameters
connection
(Procore.Connection): Connection to serverprocore_company_id
(integer()): Unique company identifier associated with the Procore User Account.id
(integer()): ID of the resourcebody17
(Body17):opts
(keyword): Optional parameters
Returns
{:ok, Procore.Model.Resource2.t}
on success{:error, Tesla.Env.t}
on failure
rest_v10_resources_post(connection, procore_company_id, body17, opts \\ [])
@spec rest_v10_resources_post( Tesla.Env.client(), integer(), Procore.Model.Body17.t(), keyword() ) :: {:ok, Procore.Model.Resource2.t()} | {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:error, Tesla.Env.t()}
Create resource Create a new Resource associated with the specified Project.
Parameters
connection
(Procore.Connection): Connection to serverprocore_company_id
(integer()): Unique company identifier associated with the Procore User Account.body17
(Body17):opts
(keyword): Optional parameters
Returns
{:ok, Procore.Model.Resource2.t}
on success{:error, Tesla.Env.t}
on failure
rest_v11_projects_project_id_schedule_resources_get(connection, procore_company_id, project_id, opts \\ [])
@spec rest_v11_projects_project_id_schedule_resources_get( Tesla.Env.client(), integer(), integer(), keyword() ) :: {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:ok, [Procore.Model.Resource.t()]} | {:error, Tesla.Env.t()}
List Resources Return a list of all resources in a specified Project
Parameters
connection
(Procore.Connection): Connection to serverprocore_company_id
(integer()): Unique company identifier associated with the Procore User Account.project_id
(integer()): Unique identifier for the project.opts
(keyword): Optional parameters:page
(integer()): Page:per_page
(integer()): Elements per page:"filters[query]"
(String.t): Return item(s) containing search query
Returns
{:ok, [%Resource{}, ...]}
on success{:error, Tesla.Env.t}
on failure
rest_v11_projects_project_id_schedule_resources_id_delete(connection, procore_company_id, project_id, id, opts \\ [])
@spec rest_v11_projects_project_id_schedule_resources_id_delete( Tesla.Env.client(), integer(), integer(), integer(), keyword() ) :: {:ok, nil} | {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:error, Tesla.Env.t()}
Delete resource Delete the specified Resource. Note that when a Resource is deleted, any assignments to Tasks will also be removed.
Parameters
connection
(Procore.Connection): Connection to serverprocore_company_id
(integer()): Unique company identifier associated with the Procore User Account.project_id
(integer()): Unique identifier for the project.id
(integer()): ID of the resourceopts
(keyword): Optional parameters
Returns
{:ok, nil}
on success{:error, Tesla.Env.t}
on failure
rest_v11_projects_project_id_schedule_resources_id_get(connection, procore_company_id, project_id, id, opts \\ [])
@spec rest_v11_projects_project_id_schedule_resources_id_get( Tesla.Env.client(), integer(), integer(), integer(), keyword() ) :: {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:ok, Procore.Model.Resource.t()} | {:error, Tesla.Env.t()}
Show resource Show detail on the specified Resource.
Parameters
connection
(Procore.Connection): Connection to serverprocore_company_id
(integer()): Unique company identifier associated with the Procore User Account.project_id
(integer()): Unique identifier for the project.id
(integer()): ID of the resourceopts
(keyword): Optional parameters
Returns
{:ok, Procore.Model.Resource.t}
on success{:error, Tesla.Env.t}
on failure
rest_v11_projects_project_id_schedule_resources_id_patch(connection, procore_company_id, project_id, id, body17, opts \\ [])
@spec rest_v11_projects_project_id_schedule_resources_id_patch( Tesla.Env.client(), integer(), integer(), integer(), Procore.Model.Body17.t(), keyword() ) :: {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:ok, Procore.Model.Resource.t()} | {:error, Tesla.Env.t()}
Update resource Update the specified Resource.
Parameters
connection
(Procore.Connection): Connection to serverprocore_company_id
(integer()): Unique company identifier associated with the Procore User Account.project_id
(integer()): Unique identifier for the project.id
(integer()): ID of the resourcebody17
(Body17):opts
(keyword): Optional parameters
Returns
{:ok, Procore.Model.Resource.t}
on success{:error, Tesla.Env.t}
on failure
rest_v11_projects_project_id_schedule_resources_post(connection, procore_company_id, project_id, body17, opts \\ [])
@spec rest_v11_projects_project_id_schedule_resources_post( Tesla.Env.client(), integer(), integer(), Procore.Model.Body17.t(), keyword() ) :: {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:ok, Procore.Model.Resource.t()} | {:error, Tesla.Env.t()}
Create resource Create a new Resource associated with the specified Project.
Parameters
connection
(Procore.Connection): Connection to serverprocore_company_id
(integer()): Unique company identifier associated with the Procore User Account.project_id
(integer()): Unique identifier for the project.body17
(Body17):opts
(keyword): Optional parameters
Returns
{:ok, Procore.Model.Resource.t}
on success{:error, Tesla.Env.t}
on failure