Procore.Api.QualitySafetyInspectionsChecklistItems (procore_sdk v0.3.0)
API calls for all endpoints tagged QualitySafetyInspectionsChecklistItems
.
Summary
Functions
Show Checklist Item Retrieves Checklist Item in a specified Checklist
Update Checklist Item Updates Checklist Item in a specified Checklist
Create Checklist Item Attachment Uploads an Attachment to the specified Checklist Item
Delete Checklist Item Response Removes the Checklist Item Response for a specified Checklist Item
Show Checklist Item Response Returns the Checklist Item Response for a specified Checklist Item
Create Checklist Item Response Create Checklist Item Response for a specified Checklist Item Checklist Item Response can have one of the following payload formats (text_value, number_value, date_value, response_option, status) A specific Item Type can only leverage its corresponding format. *For instance, Number Items can only leverage a number_value while Date Items can only leverage a date_value.
List Checklist (Inspections) Items Lists Checklist (Inspections) Items in a specified Project. See Filtering on List Actions for information on using the filtering capabilities provided by this endpoint.
List Checklist (Inspections) Items Lists Checklist (Inspections) Items in a specified Project. See Filtering on List Actions for information on using the filtering capabilities provided by this endpoint.
Functions
rest_v10_checklist_lists_list_id_items_id_get(connection, procore_company_id, list_id, id, project_id, section_id, opts \\ [])
@spec rest_v10_checklist_lists_list_id_items_id_get( Tesla.Env.client(), integer(), integer(), integer(), integer(), integer(), keyword() ) :: {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:ok, Procore.Model.ChecklistSectionItem1.t()} | {:error, Tesla.Env.t()}
Show Checklist Item Retrieves Checklist Item in a specified Checklist
Parameters
connection
(Procore.Connection): Connection to serverprocore_company_id
(integer()): Unique company identifier associated with the Procore User Account.list_id
(integer()): Checklist IDid
(integer()): Item IDproject_id
(integer()): Unique identifier for the project.section_id
(integer()): Checklist Section IDopts
(keyword): Optional parameters
Returns
{:ok, Procore.Model.ChecklistSectionItem1.t}
on success{:error, Tesla.Env.t}
on failure
rest_v10_checklist_lists_list_id_items_id_patch(connection, procore_company_id, list_id, id, checklist_item_body, opts \\ [])
@spec rest_v10_checklist_lists_list_id_items_id_patch( Tesla.Env.client(), integer(), integer(), integer(), Procore.Model.ChecklistItemBody.t(), keyword() ) :: {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:ok, Procore.Model.ChecklistSectionItem1.t()} | {:error, Tesla.Env.t()}
Update Checklist Item Updates Checklist Item in a specified Checklist
Parameters
connection
(Procore.Connection): Connection to serverprocore_company_id
(integer()): Unique company identifier associated with the Procore User Account.list_id
(integer()): Checklist IDid
(integer()): Item IDchecklist_item_body
(ChecklistItemBody):opts
(keyword): Optional parameters
Returns
{:ok, Procore.Model.ChecklistSectionItem1.t}
on success{:error, Tesla.Env.t}
on failure
rest_v10_checklist_lists_list_id_items_item_id_item_attachments_post(connection, procore_company_id, list_id, item_id, project_id, section_id, attachment, opts \\ [])
@spec rest_v10_checklist_lists_list_id_items_item_id_item_attachments_post( Tesla.Env.client(), integer(), integer(), integer(), integer(), integer(), String.t(), keyword() ) :: {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:ok, Procore.Model.ChecklistItemAttachment.t()} | {:error, Tesla.Env.t()}
Create Checklist Item Attachment Uploads an Attachment to the specified Checklist Item
Parameters
connection
(Procore.Connection): Connection to serverprocore_company_id
(integer()): Unique company identifier associated with the Procore User Account.list_id
(integer()): Checklist IDitem_id
(integer()): Checklist Item IDproject_id
(integer()): The ID of the Project the Item belongs tosection_id
(integer()): The ID of the Section the Item belongs toattachment
(String.t): Item Attachment. To upload an attachment you must upload the entire payload asmultipart/form-data
content-type and specify each parameter as form-data together with theattachment
file.opts
(keyword): Optional parameters
Returns
{:ok, Procore.Model.ChecklistItemAttachment.t}
on success{:error, Tesla.Env.t}
on failure
rest_v10_projects_project_id_checklist_items_item_id_item_response_delete(connection, procore_company_id, item_id, project_id, opts \\ [])
@spec rest_v10_projects_project_id_checklist_items_item_id_item_response_delete( Tesla.Env.client(), integer(), integer(), integer(), keyword() ) :: {:ok, nil} | {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:error, Tesla.Env.t()}
Delete Checklist Item Response Removes the Checklist Item Response for a specified Checklist Item
Parameters
connection
(Procore.Connection): Connection to serverprocore_company_id
(integer()): Unique company identifier associated with the Procore User Account.item_id
(integer()): Checklist Item IDproject_id
(integer()): Unique identifier for the project.opts
(keyword): Optional parameters
Returns
{:ok, nil}
on success{:error, Tesla.Env.t}
on failure
rest_v10_projects_project_id_checklist_items_item_id_item_response_get(connection, procore_company_id, item_id, project_id, opts \\ [])
@spec rest_v10_projects_project_id_checklist_items_item_id_item_response_get( Tesla.Env.client(), integer(), integer(), integer(), keyword() ) :: {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:ok, Procore.Model.ChecklistItemResponse2.t()} | {:error, Tesla.Env.t()}
Show Checklist Item Response Returns the Checklist Item Response for a specified Checklist Item
Parameters
connection
(Procore.Connection): Connection to serverprocore_company_id
(integer()): Unique company identifier associated with the Procore User Account.item_id
(integer()): Checklist Item IDproject_id
(integer()): Unique identifier for the project.opts
(keyword): Optional parameters
Returns
{:ok, Procore.Model.ChecklistItemResponse2.t}
on success{:error, Tesla.Env.t}
on failure
rest_v10_projects_project_id_checklist_items_item_id_item_response_post(connection, procore_company_id, item_id, project_id, checklist_item_response_body, opts \\ [])
@spec rest_v10_projects_project_id_checklist_items_item_id_item_response_post( Tesla.Env.client(), integer(), integer(), integer(), Procore.Model.ChecklistItemResponseBody.t(), keyword() ) :: {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:ok, Procore.Model.ChecklistItemResponse2.t()} | {:error, Tesla.Env.t()}
Create Checklist Item Response Create Checklist Item Response for a specified Checklist Item Checklist Item Response can have one of the following payload formats (text_value, number_value, date_value, response_option, status) A specific Item Type can only leverage its corresponding format. *For instance, Number Items can only leverage a number_value while Date Items can only leverage a date_value.
Parameters
connection
(Procore.Connection): Connection to serverprocore_company_id
(integer()): Unique company identifier associated with the Procore User Account.item_id
(integer()): Checklist Item IDproject_id
(integer()): Unique identifier for the project.checklist_item_response_body
(ChecklistItemResponseBody):opts
(keyword): Optional parameters
Returns
{:ok, Procore.Model.ChecklistItemResponse2.t}
on success{:error, Tesla.Env.t}
on failure
rest_v10_projects_project_id_checklist_list_items_get(connection, procore_company_id, project_id, opts \\ [])
@spec rest_v10_projects_project_id_checklist_list_items_get( Tesla.Env.client(), integer(), integer(), keyword() ) :: {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:ok, [Procore.Model.ChecklistListItem1.t()]} | {:error, Tesla.Env.t()}
List Checklist (Inspections) Items Lists Checklist (Inspections) Items in a specified Project. See Filtering on List Actions for information on using the filtering capabilities provided by this endpoint.
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.opts
(keyword): Optional parameters:page
(integer()): Page:per_page
(integer()): Elements per page:"filters[id]"
([integer()]): Return item(s) with the specified IDs.:"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:"filters[section_id]"
([integer()]): Return item(s) with the specified Checklist Section IDs:"filters[list_id]"
([integer()]): Return item(s) with the specified Checklist List IDs:"filters[item_response_status]"
(String.t): Filter item(s) with matching item_response status.: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
{:ok, [%ChecklistListItem1{}, ...]}
on success{:error, Tesla.Env.t}
on failure
rest_v11_projects_project_id_checklist_list_items_get(connection, procore_company_id, project_id, opts \\ [])
@spec rest_v11_projects_project_id_checklist_list_items_get( Tesla.Env.client(), integer(), integer(), keyword() ) :: {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:ok, [Procore.Model.ChecklistListItem.t()]} | {:error, Tesla.Env.t()}
List Checklist (Inspections) Items Lists Checklist (Inspections) Items in a specified Project. See Filtering on List Actions for information on using the filtering capabilities provided by this endpoint.
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.opts
(keyword): Optional parameters:page
(integer()): Page:per_page
(integer()): Elements per page:"filters[id]"
([integer()]): Return item(s) with the specified IDs.:"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:"filters[section_id]"
([integer()]): Return item(s) with the specified Checklist Section IDs:"filters[list_id]"
([integer()]): Return item(s) with the specified Checklist List IDs
Returns
{:ok, [%ChecklistListItem{}, ...]}
on success{:error, Tesla.Env.t}
on failure