Procore.Api.QualitySafetyInspectionsItemResponseSets (procore_sdk v0.3.0)

API calls for all endpoints tagged QualitySafetyInspectionsItemResponseSets.

Summary

Functions

Link to this function

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

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

List Item Response Sets List Checklist Item Response Sets for a specified 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
    • :sort (String.t):
    • :"filters[id]" ([integer()]): Return item(s) with the specified IDs.
    • :"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 -:"filters[active]"(boolean()): If true, returns item(s) with a status of 'active'. -:page(integer()): Page -:per_page(integer()): Elements per page ### Returns -, ...]}on success -` on failure
Link to this function

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

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

Delete Item Response Set Deletes a Company Checklist Item Response Set for a specified 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.
  • id (integer()): Item Response Set ID
  • opts (keyword): Optional parameters

Returns

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

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

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

Show Item Response Set Returns a specified Checklist Item Response Set.

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()): Item Response Set ID
  • opts (keyword): Optional parameters

Returns

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

rest_v10_companies_company_id_checklist_item_response_sets_id_patch(connection, procore_company_id, company_id, id, checklist_item_response_set_body1, opts \\ [])

Update Item Response Set Updates a Company Checklist Item Response Set for a specified 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.
  • id (integer()): Item Response Set ID
  • checklist_item_response_set_body1 (ChecklistItemResponseSetBody1):
  • opts (keyword): Optional parameters

Returns

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

rest_v10_companies_company_id_checklist_item_response_sets_post(connection, procore_company_id, company_id, checklist_item_response_set_body, opts \\ [])

Create Item Response Set Creates a Company Checklist Item Response Set for a specified 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.
  • checklist_item_response_set_body (ChecklistItemResponseSetBody):
  • opts (keyword): Optional parameters

Returns

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