Procore.Api.ProjectManagementProjectScheduleToDos (procore_sdk v0.3.0)

API calls for all endpoints tagged ProjectManagementProjectScheduleToDos.

Summary

Functions

Delete todo Delete a specific ToDo Item in a specified Project. This endpoint has been deprecated. Instead, use [/rest/v1/calendar-items)

Show todo Return detailed information about a ToDo Item in a specified Project. This endpoint has been deprecated. Instead, use [/rest/v1/calendar-items)

Update todo Update a ToDo item for a specified Project. This endpoint has been deprecated. Instead, use [/rest/v1/calendar-items)

Create todo Create a ToDo Item for a specified Project. This endpoint has been deprecated. Instead, use [/rest/v1/calendar-items)

Sync ToDos This endpoint creates or updates a batch of ToDos. This endpoint has been deprecated. Instead, use [/rest/v1/calendar-items)

Functions

Link to this function

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

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

Delete todo Delete a specific ToDo Item in a specified Project. This endpoint has been deprecated. Instead, use [/rest/v1/calendar-items)

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 todo
  • 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_todos_id_get(connection, procore_company_id, id, project_id, opts \\ [])

Show todo Return detailed information about a ToDo Item in a specified Project. This endpoint has been deprecated. Instead, use [/rest/v1/calendar-items)

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 todo
  • project_id (integer()): Unique identifier for the project.
  • opts (keyword): Optional parameters

Returns

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

rest_v10_todos_id_patch(connection, procore_company_id, id, body11, opts \\ [])

Update todo Update a ToDo item for a specified Project. This endpoint has been deprecated. Instead, use [/rest/v1/calendar-items)

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 todo
  • body11 (Body11):
  • opts (keyword): Optional parameters

Returns

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

rest_v10_todos_post(connection, procore_company_id, body10, opts \\ [])

Create todo Create a ToDo Item for a specified Project. This endpoint has been deprecated. Instead, use [/rest/v1/calendar-items)

Parameters

  • connection (Procore.Connection): Connection to server
  • procore_company_id (integer()): Unique company identifier associated with the Procore User Account.
  • body10 (Body10):
  • opts (keyword): Optional parameters

Returns

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

rest_v10_todos_sync_patch(connection, procore_company_id, project_id, rest_v10_todos_sync_patch_request, opts \\ [])

Sync ToDos This endpoint creates or updates a batch of ToDos. This endpoint has been deprecated. Instead, use [/rest/v1/calendar-items)

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

Returns

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