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.

Create resource Create a new Resource associated with the specified Project.

Delete resource Delete the specified Resource. Note that when a Resource is deleted, any assignments to Tasks will also be removed.

Create resource Create a new Resource associated with the specified Project.

Functions

Link to this function

rest_v10_resources_get(connection, procore_company_id, project_id, opts \\ [])

List Resources Return a list of all resources in a specified Project

Parameters

  • connection (Procore.Connection): Connection to server
  • procore_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
Link to this function

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 server
  • procore_company_id (integer()): Unique company identifier associated with the Procore User Account.
  • id (integer()): ID of the resource
  • project_id (integer()): Unique identifier for the project.
  • opts (keyword): Optional parameters

Returns

  • {:ok, nil} on success
  • {:error, Tesla.Env.t} on failure
Link to this function

rest_v10_resources_id_get(connection, procore_company_id, id, project_id, opts \\ [])

Show resource Show detail on the specified Resource.

Parameters

  • connection (Procore.Connection): Connection to server
  • procore_company_id (integer()): Unique company identifier associated with the Procore User Account.
  • id (integer()): ID of the resource
  • project_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
Link to this function

rest_v10_resources_id_patch(connection, procore_company_id, id, body17, opts \\ [])

Update resource Update the specified Resource.

Parameters

  • connection (Procore.Connection): Connection to server
  • procore_company_id (integer()): Unique company identifier associated with the Procore User Account.
  • id (integer()): ID of the resource
  • body17 (Body17):
  • opts (keyword): Optional parameters

Returns

  • {:ok, Procore.Model.Resource2.t} on success
  • {:error, Tesla.Env.t} on failure
Link to this function

rest_v10_resources_post(connection, procore_company_id, body17, opts \\ [])

Create resource Create a new Resource associated with the specified Project.

Parameters

  • connection (Procore.Connection): Connection to server
  • procore_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
Link to this function

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 server
  • procore_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
Link to this function

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 server
  • procore_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 resource
  • opts (keyword): Optional parameters

Returns

  • {:ok, nil} on success
  • {:error, Tesla.Env.t} on failure
Link to this function

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 server
  • procore_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 resource
  • opts (keyword): Optional parameters

Returns

  • {:ok, Procore.Model.Resource.t} on success
  • {:error, Tesla.Env.t} on failure
Link to this function

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 server
  • procore_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 resource
  • body17 (Body17):
  • opts (keyword): Optional parameters

Returns

  • {:ok, Procore.Model.Resource.t} on success
  • {:error, Tesla.Env.t} on failure
Link to this function

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 server
  • procore_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