Procore.Api.QualitySafetyActionPlansActionPlanTestRecordRequests (procore_sdk v0.3.0)

API calls for all endpoints tagged QualitySafetyActionPlansActionPlanTestRecordRequests.

Summary

Functions

List Action Plan Test Record Requests List of all Action Plan Test Record Requests

List Recycled Action Plan Test Record Requests List of all Recycled Action Plan Test Record Requests

Show Recycled Action Plan Test Record Request Returns a Recycled Action Plan Test Record Request

Functions

Link to this function

rest_v10_projects_project_id_action_plans_plan_test_record_requests_bulk_create_post(connection, procore_company_id, project_id, rest_v10_projects_project_id_action_plans_plan_test_record_requests_bulk_create_post_request, opts \\ [])

Bulk Create Action Plan Test Record Requests Creates multiple Action Test Record Requests

Parameters

  • connection (Procore.Connection): Connection to server
  • procore_company_id (integer()): Unique company identifier associated with the Procore User Account.
  • project_id (integer()): Unique identifier for the project.
  • rest_v10_projects_project_id_action_plans_plan_test_record_requests_bulk_create_post_request (RestV10ProjectsProjectIdActionPlansPlanTestRecordRequestsBulkCreatePostRequest):
  • opts (keyword): Optional parameters
    • :completion_mode (String.t): Whether to update what can be or nothing if one can not be updated. Defaults to "all_or_nothing"

Returns

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

rest_v10_projects_project_id_action_plans_plan_test_record_requests_get(connection, procore_company_id, project_id, opts \\ [])

List Action Plan Test Record Requests List of all Action Plan Test Record Requests

Parameters

  • connection (Procore.Connection): Connection to server
  • procore_company_id (integer()): Unique company identifier associated with the Procore User Account.
  • project_id (integer()): Unique identifier for the project.
  • opts (keyword): Optional parameters
    • :"filters[plan_item_id]" ([integer()]): Return item(s) associated with the specified Action Plan Item ID(s).
    • :"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[id]"([integer()]): Return item(s) with the specified IDs. -:"filters[plan_id]"([integer()]): Return item(s) associated with the specified Action Plan ID(s) -:"filters[type]"([String.t]): Return item(s) associated with the specified Action Plan Test Record Type(s). -:"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 -:page(integer()): Page -:per_page(integer()): Elements per page -:sort(String.t): Direction (asc/desc) can be controlled by the presence or absence of '-' before the sort parameter. ### Returns -, ...]}on success -` on failure
Link to this function

rest_v10_projects_project_id_action_plans_plan_test_record_requests_id_delete(connection, procore_company_id, project_id, id, opts \\ [])

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

Delete Action Plan Test Record Request Deletes an Action Plan Test Record Request

Parameters

  • connection (Procore.Connection): Connection to server
  • procore_company_id (integer()): Unique company identifier associated with the Procore User Account.
  • project_id (integer()): Unique identifier for the project.
  • id (integer()): Test Record Request ID
  • opts (keyword): Optional parameters

Returns

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

rest_v10_projects_project_id_action_plans_plan_test_record_requests_id_get(connection, procore_company_id, project_id, id, opts \\ [])

Show Action Plan Test Record Request Returns an Action Plan Test Record Request

Parameters

  • connection (Procore.Connection): Connection to server
  • procore_company_id (integer()): Unique company identifier associated with the Procore User Account.
  • project_id (integer()): Unique identifier for the project.
  • id (integer()): Test Record Request ID
  • opts (keyword): Optional parameters

Returns

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

rest_v10_projects_project_id_action_plans_plan_test_record_requests_post(connection, procore_company_id, project_id, rest_v10_projects_project_id_action_plans_plan_test_record_requests_post_request, opts \\ [])

Create Action Plan Test Record Request Create an Action Plan Test Record Request

Parameters

  • connection (Procore.Connection): Connection to server
  • procore_company_id (integer()): Unique company identifier associated with the Procore User Account.
  • project_id (integer()): Unique identifier for the project.
  • rest_v10_projects_project_id_action_plans_plan_test_record_requests_post_request (RestV10ProjectsProjectIdActionPlansPlanTestRecordRequestsPostRequest):
  • opts (keyword): Optional parameters

Returns

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

rest_v10_projects_project_id_recycle_bin_action_plans_plan_test_record_requests_get(connection, procore_company_id, project_id, opts \\ [])

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

List Recycled Action Plan Test Record Requests List of all Recycled Action Plan Test Record Requests

Parameters

  • connection (Procore.Connection): Connection to server
  • procore_company_id (integer()): Unique company identifier associated with the Procore User Account.
  • project_id (integer()): Unique identifier for the project.
  • opts (keyword): Optional parameters
    • :"filters[plan_item_id]" ([integer()]): Return item(s) associated with the specified Action Plan Item ID(s).
    • :"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[id]"([integer()]): Return item(s) with the specified IDs. -:"filters[plan_id]"([integer()]): Return item(s) associated with the specified Action Plan ID(s) -:"filters[type]"([String.t]): Return item(s) associated with the specified Action Plan Test Record Type(s). -:"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 -:page(integer()): Page -:per_page(integer()): Elements per page -:sort(String.t): Direction (asc/desc) can be controlled by the presence or absence of '-' before the sort parameter. ### Returns -, ...]}on success -` on failure
Link to this function

rest_v10_projects_project_id_recycle_bin_action_plans_plan_test_record_requests_id_get(connection, procore_company_id, project_id, id, opts \\ [])

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

Show Recycled Action Plan Test Record Request Returns a Recycled Action Plan Test Record Request

Parameters

  • connection (Procore.Connection): Connection to server
  • procore_company_id (integer()): Unique company identifier associated with the Procore User Account.
  • project_id (integer()): Unique identifier for the project.
  • id (integer()): Action Plan Test Record Request ID
  • opts (keyword): Optional parameters

Returns

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