Procore.Api.QualitySafetyInspectionsCompanyInspectionTemplateItemReferences (procore_sdk v0.3.0)

API calls for all endpoints tagged QualitySafetyInspectionsCompanyInspectionTemplateItemReferences.

Summary

Functions

Link to this function

rest_v10_companies_company_id_inspection_templates_inspection_template_id_item_references_get(connection, procore_company_id, company_id, inspection_template_id, opts \\ [])

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

List Company Inspection Template Item Reference Returns a collection of References for a specified Checklist Company Inspection 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.
  • inspection_template_id (integer()): The ID of the Company Inspection Template
  • opts (keyword): Optional parameters
    • :page (integer()): Page
    • :per_page (integer()): Elements per page
    • :"filters[id]" ([integer()]): Return References with the specified IDs
    • :"filters[item_id]" ([integer()]): Return Reference(s) with the specified Item IDs and Synced Company Template Item References
    • :"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[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 -:sort(String.t): Sort item(s) by the chosen param; check below for a list of options. The direction of sorting is ascending by default; for descending sort, insert the - symbol before the param. ### Returns -, ...]}on success -` on failure
Link to this function

rest_v10_companies_company_id_inspection_templates_inspection_template_id_item_references_id_delete(connection, procore_company_id, company_id, inspection_template_id, id, opts \\ [])

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

Delete Company Inspection Template Item Reference Deletes a Company Inspection Template Item Reference

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.
  • inspection_template_id (integer()): The ID of the Company Inspection Template
  • id (integer()): The ID of the Company Inspection Template Item Reference
  • opts (keyword): Optional parameters

Returns

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

rest_v10_companies_company_id_inspection_templates_inspection_template_id_item_references_id_get(connection, procore_company_id, company_id, inspection_template_id, id, opts \\ [])

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

Show Company Inspection Template Item Reference Shows a Company Inspection Template Item Reference

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.
  • inspection_template_id (integer()): The ID of the Company Inspection Template
  • id (integer()): The ID of the Company Inspection Template Item Reference
  • opts (keyword): Optional parameters

Returns

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

rest_v10_companies_company_id_inspection_templates_inspection_template_id_item_references_post(connection, procore_company_id, company_id, inspection_template_id, template_reference, opts \\ [])

Create Company Inspection Template Item Reference Creates a Company Inspection Template Item Reference for a specified Checklist Template Item.

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.
  • inspection_template_id (integer()): The ID of the Company Inspection Template
  • template_reference (Procore.Model.CompanyInspectionTemplateItemReferenceCreateBodyTemplateReference.t):
  • opts (keyword): Optional parameters

Returns

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