Procore.Api.QualitySafetyInspectionsAlternativeResponseSets (procore_sdk v0.3.0)

API calls for all endpoints tagged QualitySafetyInspectionsAlternativeResponseSets.

Summary

Functions

List Alternative Response Sets Lists Alternative Response Sets for a specified Company.

Show Alternative Response Set Returns a specified Alternative Response Set. The set includes alternative terms to represent conforming and deficient item responses, e.g. "Safe" instead of "Pass" for an item with an internal status of "yes". The global attribute indicates whether a response set has been provided by Procore.

Functions

Link to this function

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

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

List Alternative Response Sets Lists Alternative Response Sets for 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, [%ChecklistAlternativeResponseSetFull{}, ...]} on success
  • {:error, Tesla.Env.t} on failure
Link to this function

rest_v10_companies_company_id_checklist_alternative_response_sets_id_get(connection, procore_company_id, id, company_id, opts \\ [])

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

Show Alternative Response Set Returns a specified Alternative Response Set. The set includes alternative terms to represent conforming and deficient item responses, e.g. "Safe" instead of "Pass" for an item with an internal status of "yes". The global attribute indicates whether a response set has been provided by Procore.

Parameters

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

Returns

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