Procore.Api.ConstructionFinancialsCommitmentsLineItemTypesCostTypes (procore_sdk v0.3.0)
API calls for all endpoints tagged ConstructionFinancialsCommitmentsLineItemTypesCostTypes
.
Summary
Functions
List Line Item Types Return a list of all defined Line Item Types. See Filtering on List Actions for information on using the filtering capabilities provided by this endpoint.
Show Line Item Type Return detailed information for a specified Line Item Type.
Update Line Item Type Update a Line Item Type.
Create Line Item Type Create a new Line Item Type (e.g. L2 for Labor).
Sync Line Item Types This endpoint creates or updates a batch of Line Item Types. See Using Sync Actions for additional information.
Functions
rest_v10_line_item_types_get(connection, procore_company_id, company_id, project_id, opts \\ [])
@spec rest_v10_line_item_types_get( Tesla.Env.client(), integer(), integer(), integer(), keyword() ) :: {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:ok, [Procore.Model.LineItemType2.t()]} | {:error, Tesla.Env.t()}
List Line Item Types Return a list of all defined Line Item Types. See Filtering on List Actions for information on using the filtering capabilities provided by this endpoint.
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. You must supply either a company_id or project_id.project_id
(integer()): Unique identifier for the project. You must supply either a company_id or project_id.opts
(keyword): Optional parameters:page
(integer()): Page:per_page
(integer()): Elements per page:"filters[origin_id]"
(String.t): Origin ID
Returns
{:ok, [%LineItemType2{}, ...]}
on success{:error, Tesla.Env.t}
on failure
rest_v10_line_item_types_id_get(connection, procore_company_id, id, company_id, opts \\ [])
@spec rest_v10_line_item_types_id_get( Tesla.Env.client(), integer(), integer(), integer(), keyword() ) :: {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:ok, Procore.Model.LineItemType2.t()} | {:error, Tesla.Env.t()}
Show Line Item Type Return detailed information for a specified Line Item Type.
Parameters
connection
(Procore.Connection): Connection to serverprocore_company_id
(integer()): Unique company identifier associated with the Procore User Account.id
(integer()): IDcompany_id
(integer()): Unique identifier for the company.opts
(keyword): Optional parameters
Returns
{:ok, Procore.Model.LineItemType2.t}
on success{:error, Tesla.Env.t}
on failure
rest_v10_line_item_types_id_patch(connection, procore_company_id, id, body74, opts \\ [])
@spec rest_v10_line_item_types_id_patch( Tesla.Env.client(), integer(), integer(), Procore.Model.Body74.t(), keyword() ) :: {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:ok, Procore.Model.LineItemType2.t()} | {:error, Tesla.Env.t()}
Update Line Item Type Update a Line Item Type.
Parameters
connection
(Procore.Connection): Connection to serverprocore_company_id
(integer()): Unique company identifier associated with the Procore User Account.id
(integer()): IDbody74
(Body74):opts
(keyword): Optional parameters
Returns
{:ok, Procore.Model.LineItemType2.t}
on success{:error, Tesla.Env.t}
on failure
rest_v10_line_item_types_post(connection, procore_company_id, body74, opts \\ [])
@spec rest_v10_line_item_types_post( Tesla.Env.client(), integer(), Procore.Model.Body74.t(), keyword() ) :: {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:ok, Procore.Model.LineItemType2.t()} | {:error, Tesla.Env.t()}
Create Line Item Type Create a new Line Item Type (e.g. L2 for Labor).
Parameters
connection
(Procore.Connection): Connection to serverprocore_company_id
(integer()): Unique company identifier associated with the Procore User Account.body74
(Body74):opts
(keyword): Optional parameters
Returns
{:ok, Procore.Model.LineItemType2.t}
on success{:error, Tesla.Env.t}
on failure
rest_v10_line_item_types_sync_patch(connection, procore_company_id, line_item_type_sync_body, opts \\ [])
@spec rest_v10_line_item_types_sync_patch( Tesla.Env.client(), integer(), Procore.Model.LineItemTypeSyncBody.t(), keyword() ) :: {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:ok, Procore.Model.RestV10LineItemTypesSyncPatch200Response.t()} | {:error, Tesla.Env.t()}
Sync Line Item Types This endpoint creates or updates a batch of Line Item Types. See Using Sync Actions for additional information.
Parameters
connection
(Procore.Connection): Connection to serverprocore_company_id
(integer()): Unique company identifier associated with the Procore User Account.line_item_type_sync_body
(LineItemTypeSyncBody):opts
(keyword): Optional parameters
Returns
{:ok, Procore.Model.RestV10LineItemTypesSyncPatch200Response.t}
on success{:error, Tesla.Env.t}
on failure