Procore.Api.QualitySafetyPunchListProjectPunchItemTemplates (procore_sdk v0.3.0)

API calls for all endpoints tagged QualitySafetyPunchListProjectPunchItemTemplates.

Summary

Functions

List Project Punch Item Templates Return a list of all Project Punch Item Templates associated with a Project.

Functions

Link to this function

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

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

List Project Punch Item Templates Return a list of all Project Punch Item Templates associated with a Project.

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
    • :"filters[id]" ([integer()]): Return item(s) with the specified IDs.
    • :"filters[active]" (boolean()): If true, returns item(s) with a status of 'active'.
    • :"filters[updated_at]" (String.t): Return item(s) within a specific updated at iso8601 datetime range
    • :page (integer()): Page
    • :per_page (integer()): Elements per page

Returns

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