Procore.Api.CoreCompanyCompanyProjects (procore_sdk v0.3.0)

API calls for all endpoints tagged CoreCompanyCompanyProjects.

Summary

Functions

List company's projects Returns a list of Projects associated with a specified Company.

Functions

Link to this function

rest_v10_companies_company_id_projects_get(connection, procore_company_id, company_id, opts \\ [])

@spec rest_v10_companies_company_id_projects_get(
  Tesla.Env.client(),
  integer(),
  integer(),
  keyword()
) ::
  {:ok,
   Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()}
  | {:ok, [Procore.Model.Project6.t()]}
  | {:error, Tesla.Env.t()}

List company's projects Returns a list of Projects associated with a specified Company.

Parameters

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

Returns

  • {:ok, [%Project6{}, ...]} on success
  • {:error, Tesla.Env.t} on failure