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.

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

Link to this function

rest_v10_line_item_types_get(connection, procore_company_id, company_id, project_id, opts \\ [])

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 server
  • procore_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
Link to this function

rest_v10_line_item_types_id_get(connection, procore_company_id, id, company_id, opts \\ [])

Show Line Item Type Return detailed information for a specified Line Item Type.

Parameters

  • connection (Procore.Connection): Connection to server
  • procore_company_id (integer()): Unique company identifier associated with the Procore User Account.
  • id (integer()): ID
  • company_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
Link to this function

rest_v10_line_item_types_id_patch(connection, procore_company_id, id, body74, opts \\ [])

Update Line Item Type Update a Line Item Type.

Parameters

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

Returns

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

rest_v10_line_item_types_post(connection, procore_company_id, body74, opts \\ [])

Create Line Item Type Create a new Line Item Type (e.g. L2 for Labor).

Parameters

  • connection (Procore.Connection): Connection to server
  • procore_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
Link to this function

rest_v10_line_item_types_sync_patch(connection, procore_company_id, line_item_type_sync_body, opts \\ [])

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 server
  • procore_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