Procore.Api.QualitySafetyInspectionsResponses (procore_sdk v0.3.0)
API calls for all endpoints tagged QualitySafetyInspectionsResponses
.
Summary
Functions
List Responses List Responses for a Company
Delete a Response Deletes a Response
Show Response Returns a specified Response
Update a Response Update a Response
Create a Response Creates a Response for a specified Company.
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 serverprocore_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 serverprocore_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 Responseopts
(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 serverprocore_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 Responseopts
(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 \\ [])
@spec rest_v10_companies_company_id_checklist_responses_id_patch( Tesla.Env.client(), integer(), integer(), integer(), Procore.Model.ChecklistResponseBody1.t(), keyword() ) :: {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:ok, Procore.Model.ChecklistResponse.t()} | {:error, Tesla.Env.t()}
Update a Response Update a Response
Parameters
connection
(Procore.Connection): Connection to serverprocore_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 Responsechecklist_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 \\ [])
@spec rest_v10_companies_company_id_checklist_responses_post( Tesla.Env.client(), integer(), integer(), Procore.Model.ChecklistResponseBody.t(), keyword() ) :: {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:ok, Procore.Model.ChecklistResponse.t()} | {:error, Tesla.Env.t()}
Create a Response Creates a Response for a specified Company.
Parameters
connection
(Procore.Connection): Connection to serverprocore_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