Procore.Api.QualitySafetyInspectionsResponses (procore_sdk v0.3.0)

API calls for all endpoints tagged QualitySafetyInspectionsResponses.

Summary

Functions

Link to this function

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

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

List Responses List Responses for a 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
    • :"filters[corresponding_status]" ([String.t]): Array of Corresponding Statuses. Return item(s) with the specified Corresponding Statuses - 'yes', 'no', or 'n/a'.
    • :sort (String.t):

Returns

  • {:ok, [%ChecklistResponse{}, ...]} on success
  • {:error, Tesla.Env.t} on failure
Link to this function

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

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

Delete a Response Deletes a Response

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()): The ID of the Response
  • 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_responses_id_get(connection, procore_company_id, company_id, id, opts \\ [])

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

Show Response Returns a specified Response

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()): The ID of the Response
  • opts (keyword): Optional parameters

Returns

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

rest_v10_companies_company_id_checklist_responses_id_patch(connection, procore_company_id, company_id, id, checklist_response_body1, opts \\ [])

Update a Response Update a Response

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()): The ID of the Response
  • checklist_response_body1 (ChecklistResponseBody1):
  • opts (keyword): Optional parameters

Returns

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

rest_v10_companies_company_id_checklist_responses_post(connection, procore_company_id, company_id, checklist_response_body, opts \\ [])

Create a Response Creates a Response 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_response_body (ChecklistResponseBody):
  • opts (keyword): Optional parameters

Returns

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