Procore.Api.QualitySafetyObservationsCompanyObservationTypes (procore_sdk v0.3.0)

API calls for all endpoints tagged QualitySafetyObservationsCompanyObservationTypes.

Summary

Functions

List Company Observation Types Returns a list of all Company Observation Types associated to a Company.

Functions

Link to this function

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

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

List Company Observation Types Returns a list of all Company Observation Types associated to a 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
    • :page (integer()): Page
    • :per_page (integer()): Elements per page

Returns

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