Procore.Api.FieldProductivityTimeAndMaterialsMaterial (procore_sdk v0.3.0)

API calls for all endpoints tagged FieldProductivityTimeAndMaterialsMaterial.

Summary

Functions

Link to this function

rest_v10_projects_project_id_materials_bulk_create_post(connection, procore_company_id, project_id, material_bulk_create_body, opts \\ [])

Bulk Create Materials Bulk create Material entries with one 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.
  • material_bulk_create_body (MaterialBulkCreateBody):
  • opts (keyword): Optional parameters

Returns

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

rest_v10_projects_project_id_materials_bulk_destroy_delete(connection, procore_company_id, project_id, material_bulk_destroy_body, opts \\ [])

Bulk Delete Materials Bulk delete Material entries with one 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.
  • material_bulk_destroy_body (MaterialBulkDestroyBody):
  • opts (keyword): Optional parameters

Returns

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

rest_v10_projects_project_id_materials_bulk_update_patch(connection, procore_company_id, project_id, material_bulk_update_body, opts \\ [])

Bulk Update Materials Bulk update Material entries with one 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.
  • material_bulk_update_body (MaterialBulkUpdateBody):
  • opts (keyword): Optional parameters

Returns

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

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

List Materials Return a list of all Materials

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
    • :page (integer()): Page
    • :per_page (integer()): Elements per page

Returns

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

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

Delete Material Detete a specific Material.

Parameters

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

Returns

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

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

Show Material Return detailed information about a specific Material.

Parameters

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

Returns

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

rest_v10_projects_project_id_materials_id_patch(connection, procore_company_id, id, project_id, material_body, opts \\ [])

Update Material Update a specified Material.

Parameters

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

Returns

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

rest_v10_projects_project_id_materials_post(connection, procore_company_id, project_id, material_body, opts \\ [])

Create Material Create a new Material Entry.

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.
  • material_body (MaterialBody):
  • opts (keyword): Optional parameters

Returns

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