Procore.Api.FieldProductivityTimeAndMaterialsMaterial (procore_sdk v0.3.0)
API calls for all endpoints tagged FieldProductivityTimeAndMaterialsMaterial
.
Summary
Functions
Bulk Create Materials Bulk create Material entries with one request.
Bulk Delete Materials Bulk delete Material entries with one request.
Bulk Update Materials Bulk update Material entries with one request.
List Materials Return a list of all Materials
Delete Material Detete a specific Material.
Show Material Return detailed information about a specific Material.
Update Material Update a specified Material.
Create Material Create a new Material Entry.
Functions
rest_v10_projects_project_id_materials_bulk_create_post(connection, procore_company_id, project_id, material_bulk_create_body, opts \\ [])
@spec rest_v10_projects_project_id_materials_bulk_create_post( Tesla.Env.client(), integer(), integer(), Procore.Model.MaterialBulkCreateBody.t(), keyword() ) :: {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:ok, [Procore.Model.RestV10ProjectsProjectIdMaterialsGet200ResponseInner.t()]} | {:error, Tesla.Env.t()}
Bulk Create Materials Bulk create Material entries with one request.
Parameters
connection
(Procore.Connection): Connection to serverprocore_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
rest_v10_projects_project_id_materials_bulk_destroy_delete(connection, procore_company_id, project_id, material_bulk_destroy_body, opts \\ [])
@spec rest_v10_projects_project_id_materials_bulk_destroy_delete( Tesla.Env.client(), integer(), integer(), Procore.Model.MaterialBulkDestroyBody.t(), keyword() ) :: {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:ok, [Procore.Model.RestV10ProjectsProjectIdMaterialsGet200ResponseInner.t()]} | {:error, Tesla.Env.t()}
Bulk Delete Materials Bulk delete Material entries with one request.
Parameters
connection
(Procore.Connection): Connection to serverprocore_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
rest_v10_projects_project_id_materials_bulk_update_patch(connection, procore_company_id, project_id, material_bulk_update_body, opts \\ [])
@spec rest_v10_projects_project_id_materials_bulk_update_patch( Tesla.Env.client(), integer(), integer(), Procore.Model.MaterialBulkUpdateBody.t(), keyword() ) :: {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:ok, [Procore.Model.RestV10ProjectsProjectIdMaterialsGet200ResponseInner.t()]} | {:error, Tesla.Env.t()}
Bulk Update Materials Bulk update Material entries with one request.
Parameters
connection
(Procore.Connection): Connection to serverprocore_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
rest_v10_projects_project_id_materials_get(connection, procore_company_id, project_id, opts \\ [])
@spec rest_v10_projects_project_id_materials_get( Tesla.Env.client(), integer(), integer(), keyword() ) :: {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:ok, [Procore.Model.RestV10ProjectsProjectIdMaterialsGet200ResponseInner.t()]} | {:error, Tesla.Env.t()}
List Materials Return a list of all Materials
Parameters
connection
(Procore.Connection): Connection to serverprocore_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
rest_v10_projects_project_id_materials_id_delete(connection, procore_company_id, id, project_id, opts \\ [])
@spec rest_v10_projects_project_id_materials_id_delete( Tesla.Env.client(), integer(), integer(), integer(), keyword() ) :: {:ok, Procore.Model.RestV10ProjectsProjectIdMaterialsGet200ResponseInner.t()} | {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:error, Tesla.Env.t()}
Delete Material Detete a specific Material.
Parameters
connection
(Procore.Connection): Connection to serverprocore_company_id
(integer()): Unique company identifier associated with the Procore User Account.id
(integer()): ID of the projectproject_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
rest_v10_projects_project_id_materials_id_get(connection, procore_company_id, id, project_id, opts \\ [])
@spec rest_v10_projects_project_id_materials_id_get( Tesla.Env.client(), integer(), integer(), integer(), keyword() ) :: {:ok, Procore.Model.RestV10ProjectsProjectIdMaterialsGet200ResponseInner.t()} | {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:error, Tesla.Env.t()}
Show Material Return detailed information about a specific Material.
Parameters
connection
(Procore.Connection): Connection to serverprocore_company_id
(integer()): Unique company identifier associated with the Procore User Account.id
(integer()): ID of the projectproject_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
rest_v10_projects_project_id_materials_id_patch(connection, procore_company_id, id, project_id, material_body, opts \\ [])
@spec rest_v10_projects_project_id_materials_id_patch( Tesla.Env.client(), integer(), integer(), integer(), Procore.Model.MaterialBody.t(), keyword() ) :: {:ok, Procore.Model.RestV10ProjectsProjectIdMaterialsGet200ResponseInner.t()} | {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:error, Tesla.Env.t()}
Update Material Update a specified Material.
Parameters
connection
(Procore.Connection): Connection to serverprocore_company_id
(integer()): Unique company identifier associated with the Procore User Account.id
(integer()): ID of the projectproject_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
rest_v10_projects_project_id_materials_post(connection, procore_company_id, project_id, material_body, opts \\ [])
@spec rest_v10_projects_project_id_materials_post( Tesla.Env.client(), integer(), integer(), Procore.Model.MaterialBody.t(), keyword() ) :: {:ok, Procore.Model.RestV10ProjectsProjectIdMaterialsGet200ResponseInner.t()} | {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:error, Tesla.Env.t()}
Create Material Create a new Material Entry.
Parameters
connection
(Procore.Connection): Connection to serverprocore_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