Procore.Api.ConstructionFinancialsCommitmentsPurchaseOrderContractLineItems (procore_sdk v0.3.0)
API calls for all endpoints tagged ConstructionFinancialsCommitmentsPurchaseOrderContractLineItems
.
Summary
Functions
List Purchase Order Contract Line Items Return a list of all Purchase Order Contract Line Items. Change Event Line Item information is only returned if a line item is associated to a change event line item and user can view change events. See Filtering on List Actions for information on using the filtering capabilities provided by this endpoint.
Delete Purchase Order Contract Line Item Delete a Purchase Order Contract Line Item.
Show Purchase Order Contract Line Item Return a Purchase Order Contract Line Item. Change Event Line Item information is only returned if a line item is associated to a change event line item and user can view change events.
Update Purchase Order Contract Line Item Update a Purchase Order Contract Line Item. Note: A budget line item will automatically be created for Non-budgeted line items for all new projects and for projects enabled with Non-Budgeted line item beta functionality
Create Purchase Order Contract Line Item Create a Purchase Order Contract Line Item. Note: A budget line item will automatically be created for Non-budgeted line items for all new projects and for projects enabled with Non-Budgeted line item beta functionality
Sync Purchase Order Contract Line Items Sync Purchase Order Contract Line Items. Note: A budget line item will automatically be created for Non-budgeted line items for all new projects and for projects enabled with Non-Budgeted line item beta functionality
Functions
rest_v10_purchase_order_contracts_purchase_order_contract_id_line_items_get(connection, procore_company_id, purchase_order_contract_id, project_id, opts \\ [])
@spec rest_v10_purchase_order_contracts_purchase_order_contract_id_line_items_get( Tesla.Env.client(), integer(), integer(), integer(), keyword() ) :: {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:ok, [ Procore.Model.RestV10WorkOrderContractsWorkOrderContractIdLineItemsGet200ResponseInner.t() ]} | {:error, Tesla.Env.t()}
List Purchase Order Contract Line Items Return a list of all Purchase Order Contract Line Items. Change Event Line Item information is only returned if a line item is associated to a change event line item and user can view change events. 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.purchase_order_contract_id
(integer()): Purchase Order Contract IDproject_id
(integer()): Unique identifier for the project.opts
(keyword): Optional parameters:page
(integer()): Page:per_page
(integer()): Elements per page:"filters[id]"
([integer()]): Return item(s) with the specified IDs.:"filters[created_at]"
(Date.t): Return item(s) created 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 -
:"filters[updated_at]"(Date.t): Return item(s) last updated 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[cost_code_id]"(String.t): Cost Code ID. Returns item(s) with the specified Cost Code ID or within the specified range of Cost Code IDs. -
:"filters[line_item_type_id]"(integer()): Line Item Type ID. Returns item(s) with the specified Line Item Type ID or range of Line Item Type IDs. -
:view(String.t): Specifies which view (which attributes) of the resource is going to be present in the response. 'default' view will be rendered by default if the parameter is not provided. For the 'ssov_source_lines' view lower permissions are acceptable. It's enough to be added to invoice contacts and contract accessors even if SOV line items are hidden from non-admins. ### Returns -
, ...]}on success -
` on failure
rest_v10_purchase_order_contracts_purchase_order_contract_id_line_items_id_delete(connection, procore_company_id, purchase_order_contract_id, id, project_id, opts \\ [])
@spec rest_v10_purchase_order_contracts_purchase_order_contract_id_line_items_id_delete( Tesla.Env.client(), integer(), integer(), integer(), integer(), keyword() ) :: {:ok, nil} | {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:error, Tesla.Env.t()}
Delete Purchase Order Contract Line Item Delete a Purchase Order Contract Line Item.
Parameters
connection
(Procore.Connection): Connection to serverprocore_company_id
(integer()): Unique company identifier associated with the Procore User Account.purchase_order_contract_id
(integer()): Purchase Order Contract IDid
(integer()): IDproject_id
(integer()): Unique identifier for the project.opts
(keyword): Optional parameters
Returns
{:ok, nil}
on success{:error, Tesla.Env.t}
on failure
rest_v10_purchase_order_contracts_purchase_order_contract_id_line_items_id_get(connection, procore_company_id, purchase_order_contract_id, id, project_id, opts \\ [])
@spec rest_v10_purchase_order_contracts_purchase_order_contract_id_line_items_id_get( Tesla.Env.client(), integer(), integer(), integer(), integer(), keyword() ) :: {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:ok, Procore.Model.RestV10WorkOrderContractsWorkOrderContractIdLineItemsGet200ResponseInner.t()} | {:error, Tesla.Env.t()}
Show Purchase Order Contract Line Item Return a Purchase Order Contract Line Item. Change Event Line Item information is only returned if a line item is associated to a change event line item and user can view change events.
Parameters
connection
(Procore.Connection): Connection to serverprocore_company_id
(integer()): Unique company identifier associated with the Procore User Account.purchase_order_contract_id
(integer()): Purchase Order Contract IDid
(integer()): IDproject_id
(integer()): Unique identifier for the project.opts
(keyword): Optional parameters:view
(String.t): Specifies which view (which attributes) of the resource is going to be present in the response. 'default' view will be rendered by default if the parameter is not provided. For the 'ssov_source_lines' view lower permissions are acceptable. It's enough to be added to invoice contacts and contract accessors even if SOV line items are hidden from non-admins.
Returns
{:ok, Procore.Model.RestV10WorkOrderContractsWorkOrderContractIdLineItemsGet200ResponseInner.t}
on success{:error, Tesla.Env.t}
on failure
rest_v10_purchase_order_contracts_purchase_order_contract_id_line_items_id_patch(connection, procore_company_id, purchase_order_contract_id, id, body3, opts \\ [])
@spec rest_v10_purchase_order_contracts_purchase_order_contract_id_line_items_id_patch( Tesla.Env.client(), integer(), integer(), integer(), Procore.Model.Body3.t(), keyword() ) :: {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:ok, Procore.Model.Default.t()} | {:error, Tesla.Env.t()}
Update Purchase Order Contract Line Item Update a Purchase Order Contract Line Item. Note: A budget line item will automatically be created for Non-budgeted line items for all new projects and for projects enabled with Non-Budgeted line item beta functionality
Parameters
connection
(Procore.Connection): Connection to serverprocore_company_id
(integer()): Unique company identifier associated with the Procore User Account.purchase_order_contract_id
(integer()): Purchase Order Contract IDid
(integer()): IDbody3
(Body3):opts
(keyword): Optional parameters
Returns
{:ok, Procore.Model.Default.t}
on success{:error, Tesla.Env.t}
on failure
rest_v10_purchase_order_contracts_purchase_order_contract_id_line_items_post(connection, procore_company_id, purchase_order_contract_id, body3, opts \\ [])
@spec rest_v10_purchase_order_contracts_purchase_order_contract_id_line_items_post( Tesla.Env.client(), integer(), integer(), Procore.Model.Body3.t(), keyword() ) :: {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:ok, Procore.Model.Default.t()} | {:error, Tesla.Env.t()}
Create Purchase Order Contract Line Item Create a Purchase Order Contract Line Item. Note: A budget line item will automatically be created for Non-budgeted line items for all new projects and for projects enabled with Non-Budgeted line item beta functionality
Parameters
connection
(Procore.Connection): Connection to serverprocore_company_id
(integer()): Unique company identifier associated with the Procore User Account.purchase_order_contract_id
(integer()): Purchase Order Contract IDbody3
(Body3):opts
(keyword): Optional parameters
Returns
{:ok, Procore.Model.Default.t}
on success{:error, Tesla.Env.t}
on failure
rest_v10_purchase_order_contracts_purchase_order_contract_id_line_items_sync_patch(connection, procore_company_id, purchase_order_contract_id, project_id, line_item_sync_body, opts \\ [])
@spec rest_v10_purchase_order_contracts_purchase_order_contract_id_line_items_sync_patch( Tesla.Env.client(), integer(), integer(), integer(), Procore.Model.LineItemSyncBody.t(), keyword() ) :: {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:ok, Procore.Model.RestV10WorkOrderContractsWorkOrderContractIdLineItemsSyncPatch200Response.t()} | {:error, Tesla.Env.t()}
Sync Purchase Order Contract Line Items Sync Purchase Order Contract Line Items. Note: A budget line item will automatically be created for Non-budgeted line items for all new projects and for projects enabled with Non-Budgeted line item beta functionality
Parameters
connection
(Procore.Connection): Connection to serverprocore_company_id
(integer()): Unique company identifier associated with the Procore User Account.purchase_order_contract_id
(integer()): Purchase Order Contract IDproject_id
(integer()): Unique identifier for the project.line_item_sync_body
(LineItemSyncBody):opts
(keyword): Optional parameters
Returns
{:ok, Procore.Model.RestV10WorkOrderContractsWorkOrderContractIdLineItemsSyncPatch200Response.t}
on success{:error, Tesla.Env.t}
on failure