Procore.Api.QualitySafetyActionPlansCompanyActionPlanTemplateSections (procore_sdk v0.3.0)

API calls for all endpoints tagged QualitySafetyActionPlansCompanyActionPlanTemplateSections.

Summary

Functions

List Recycled Action Plan Template Sections Returns all Recycled Action Plan Template Sections for a given company

Functions

Link to this function

rest_v10_companies_company_id_action_plans_plan_template_sections_create_from_section_post(connection, procore_company_id, company_id, rest_v10_projects_project_id_action_plans_plan_template_sections_create_from_section_post_request, opts \\ [])

Create a copy of the Action Plan Template Section in the Section's Template. Create a copy of the Action Plan Template Section in the Section's Template.

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.
  • rest_v10_projects_project_id_action_plans_plan_template_sections_create_from_section_post_request (RestV10ProjectsProjectIdActionPlansPlanTemplateSectionsCreateFromSectionPostRequest):
  • opts (keyword): Optional parameters

Returns

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

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

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

List Recycled Action Plan Template Sections Returns all Recycled Action Plan Template Sections for a given 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
    • :"filters[created_at]" (Date.t): Return item(s) created within the specified ISO 8601 datetime range. Formats: YYYY-MM-DD...YYYY-MM-DD - Date YYYY-MM-DDTHH:MM:SSZ...YYYY-MM-DDTHH:MM:SSZ - DateTime with UTC Offset YYYY-MM-DDTHH:MM:SS+XX:00...YYYY-MM-DDTHH:MM:SS+XX:00- Datetime with Custom Offset -:"filters[id]"([integer()]): Return item(s) with the specified IDs. -:"filters[plan_template_id]"([integer()]): Return section(s) associated with the specified Action Plan Template ID(s). -:"filters[updated_at]"(Date.t): Return item(s) last updated within the specified ISO 8601 datetime range. Formats:YYYY-MM-DD...YYYY-MM-DD- DateYYYY-MM-DDTHH:MM:SSZ...YYYY-MM-DDTHH:MM:SSZ- DateTime with UTC OffsetYYYY-MM-DDTHH:MM:SS+XX:00...YYYY-MM-DDTHH:MM:SS+XX:00- Datetime with Custom Offset ### Returns -, ...]}on success -` on failure
Link to this function

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

Show Recycled Action Plan Template Section Returns a Recycled Action Plan Template Section

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.
  • id (integer()): Action Plan Template Section ID
  • opts (keyword): Optional parameters

Returns

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