Procore.Api.ProjectManagementProjectScheduleLookaheads (procore_sdk v0.3.0)

API calls for all endpoints tagged ProjectManagementProjectScheduleLookaheads.

Summary

Functions

Link to this function

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

List Lookaheads Returns all Lookaheads for the 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

Returns

  • {:ok, [%RestV11ProjectsProjectIdScheduleLookaheadsGet200ResponseInner{}, ...]} on success
  • {:error, Tesla.Env.t} on failure
Link to this function

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

@spec rest_v10_projects_project_id_schedule_lookaheads_id_delete(
  Tesla.Env.client(),
  integer(),
  integer(),
  integer(),
  keyword()
) ::
  {:ok, nil}
  | {:ok,
     Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()}
  | {:error, Tesla.Env.t()}

Delete Lookahead Deletes a single Lookahead.

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()): Lookahead ID
  • opts (keyword): Optional parameters

Returns

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

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

Show Lookahead Returns single Lookahead.

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()): Lookahead ID
  • opts (keyword): Optional parameters

Returns

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

rest_v10_projects_project_id_schedule_lookaheads_post(connection, procore_company_id, project_id, rest_v10_projects_project_id_schedule_lookaheads_post_request, opts \\ [])

Create Lookahead Create a new Lookahead for the 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.
  • rest_v10_projects_project_id_schedule_lookaheads_post_request (RestV10ProjectsProjectIdScheduleLookaheadsPostRequest):
  • opts (keyword): Optional parameters

Returns

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

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

List Lookaheads Returns all Lookaheads for the 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

Returns

  • {:ok, [%RestV11ProjectsProjectIdScheduleLookaheadsGet200ResponseInner{}, ...]} on success
  • {:error, Tesla.Env.t} on failure
Link to this function

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

@spec rest_v11_projects_project_id_schedule_lookaheads_id_delete(
  Tesla.Env.client(),
  integer(),
  integer(),
  integer(),
  keyword()
) ::
  {:ok, nil}
  | {:ok,
     Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()}
  | {:error, Tesla.Env.t()}

Delete Lookahead Deletes a single Lookahead.

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()): Lookahead ID
  • 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_lookaheads_id_get(connection, procore_company_id, project_id, id, opts \\ [])

Show Lookahead Returns single Lookahead.

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()): Lookahead ID
  • opts (keyword): Optional parameters

Returns

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

rest_v11_projects_project_id_schedule_lookaheads_post(connection, procore_company_id, project_id, rest_v11_projects_project_id_schedule_lookaheads_post_request, opts \\ [])

Create Lookahead Create a new Lookahead for the 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.
  • rest_v11_projects_project_id_schedule_lookaheads_post_request (RestV11ProjectsProjectIdScheduleLookaheadsPostRequest):
  • opts (keyword): Optional parameters

Returns

  • {:ok, Procore.Model.RestV11ProjectsProjectIdScheduleLookaheadsGet200ResponseInner.t} on success
  • {:error, Tesla.Env.t} on failure