Procore.Api.CoreProjectProjectDates (procore_sdk v0.3.0)

API calls for all endpoints tagged CoreProjectProjectDates.

Summary

Functions

Link to this function

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

List Project Dates Returns a list of Project Dates.

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, Procore.Model.RestV10ProjectsProjectIdProjectDatesGet200Response.t} on success
  • {:error, Tesla.Env.t} on failure
Link to this function

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

Show Project Date Show details of the specified Project Date

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

Returns

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

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

List Project Dates Returns a list of Project Dates.

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, Procore.Model.RestV10ProjectsProjectIdProjectDatesGet200Response.t} on success
  • {:error, Tesla.Env.t} on failure
Link to this function

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

Show Project Date Show details of the specified Project Date

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

Returns

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

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

@spec rest_v10_projects_project_id_project_dates_post(
  Tesla.Env.client(),
  integer(),
  integer(),
  keyword()
) :: {:ok, nil} | {:error, Tesla.Env.t()}

Creates or updates project date Associates a project with a given project date or updates the date

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
    • :body (RestV10ProjectsProjectIdProjectDatesPostRequest):

Returns

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

rest_v20_companies_company_id_projects_project_id_project_dates_get(connection, procore_company_id, company_id, project_id, opts \\ [])

List project dates List project dates associated with a project

Parameters

  • connection (Procore.Connection): Connection to server
  • procore_company_id (integer()): Unique company identifier associated with the Procore User Account.
  • company_id (String.t): Unique identifier for the company.
  • project_id (String.t): Unique identifier for the project.
  • opts (keyword): Optional parameters
    • :per_page (integer()): Elements per page

Returns

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