Procore.Api.QualitySafetyInspectionsProjectInspectionTemplateItemReferences (procore_sdk v0.3.0)
API calls for all endpoints tagged QualitySafetyInspectionsProjectInspectionTemplateItemReferences
.
Summary
Functions
List Project Inspection Template Item Reference Returns a collection of References for a specified Project Inspection Template.
Delete Project Inspection Template Item Reference Deletes a Project Inspection Template Item Reference
Show Project Inspection Template Item Reference Shows a Project Inspection Template Item Reference
Create Project Inspection Template Item Reference Creates a Project Inspection Template Item Reference for a specified Checklist Template Item.
Functions
rest_v10_projects_project_id_inspection_templates_inspection_template_id_item_references_get(connection, procore_company_id, project_id, inspection_template_id, opts \\ [])
@spec rest_v10_projects_project_id_inspection_templates_inspection_template_id_item_references_get( Tesla.Env.client(), integer(), integer(), integer(), keyword() ) :: {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:ok, [ Procore.Model.RestV10ProjectsProjectIdInspectionTemplatesInspectionTemplateIdItemReferencesGet200ResponseInner.t() ]} | {:error, Tesla.Env.t()}
List Project Inspection Template Item Reference Returns a collection of References for a specified Project Inspection Template.
Parameters
connection
(Procore.Connection): Connection to serverprocore_company_id
(integer()): Unique company identifier associated with the Procore User Account.project_id
(integer()): Unique identifier for the project.inspection_template_id
(integer()): The ID of the Project Inspection Templateopts
(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
- 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 -
:"filters[updated_at]"(Date.t): Return item(s) last updated 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 -
: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
rest_v10_projects_project_id_inspection_templates_inspection_template_id_item_references_id_delete(connection, procore_company_id, project_id, inspection_template_id, id, opts \\ [])
@spec rest_v10_projects_project_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 Project Inspection Template Item Reference Deletes a Project Inspection Template Item Reference
Parameters
connection
(Procore.Connection): Connection to serverprocore_company_id
(integer()): Unique company identifier associated with the Procore User Account.project_id
(integer()): Unique identifier for the project.inspection_template_id
(integer()): The ID of the Project Inspection Templateid
(integer()): The ID of the Project Inspection Template Item Referenceopts
(keyword): Optional parameters
Returns
{:ok, nil}
on success{:error, Tesla.Env.t}
on failure
rest_v10_projects_project_id_inspection_templates_inspection_template_id_item_references_id_get(connection, procore_company_id, project_id, inspection_template_id, id, opts \\ [])
@spec rest_v10_projects_project_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.RestV10ProjectsProjectIdInspectionTemplatesInspectionTemplateIdItemReferencesGet200ResponseInner.t()} | {:error, Tesla.Env.t()}
Show Project Inspection Template Item Reference Shows a Project Inspection Template Item Reference
Parameters
connection
(Procore.Connection): Connection to serverprocore_company_id
(integer()): Unique company identifier associated with the Procore User Account.project_id
(integer()): Unique identifier for the project.inspection_template_id
(integer()): The ID of the Project Inspection Templateid
(integer()): The ID of the Project Inspection Template Item Referenceopts
(keyword): Optional parameters
Returns
{:ok, Procore.Model.RestV10ProjectsProjectIdInspectionTemplatesInspectionTemplateIdItemReferencesGet200ResponseInner.t}
on success{:error, Tesla.Env.t}
on failure
rest_v10_projects_project_id_inspection_templates_inspection_template_id_item_references_post(connection, procore_company_id, project_id, inspection_template_id, item_template_reference, opts \\ [])
@spec rest_v10_projects_project_id_inspection_templates_inspection_template_id_item_references_post( Tesla.Env.client(), integer(), integer(), integer(), Procore.Model.ProjectInspectionTemplateItemReferenceCreateBodyItemTemplateReference.t(), keyword() ) :: {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:ok, Procore.Model.RestV10ProjectsProjectIdInspectionTemplatesInspectionTemplateIdItemReferencesGet200ResponseInner.t()} | {:error, Tesla.Env.t()}
Create Project Inspection Template Item Reference Creates a Project Inspection Template Item Reference for a specified Checklist Template Item.
Parameters
connection
(Procore.Connection): Connection to serverprocore_company_id
(integer()): Unique company identifier associated with the Procore User Account.project_id
(integer()): Unique identifier for the project.inspection_template_id
(integer()): The ID of the Project Inspection Templateitem_template_reference
(Procore.Model.ProjectInspectionTemplateItemReferenceCreateBodyItemTemplateReference.t):opts
(keyword): Optional parameters
Returns
{:ok, Procore.Model.RestV10ProjectsProjectIdInspectionTemplatesInspectionTemplateIdItemReferencesGet200ResponseInner.t}
on success{:error, Tesla.Env.t}
on failure