Procore.Api.CoreCompanyDirectoryCompanyInactiveVendors (procore_sdk v0.1.3)

API calls for all endpoints tagged CoreCompanyDirectoryCompanyInactiveVendors.

Summary

Functions

List company Inactive Vendors Return a list of all Inactive Vendors associated with a Company.

Functions

Link to this function

rest_v10_companies_company_id_vendors_inactive_get(connection, procore_company_id, company_id, opts \\ [])

List company Inactive Vendors Return a list of all Inactive Vendors associated with a Company.

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.
  • opts (keyword): Optional parameters
    • :page (integer()): Page
    • :per_page (integer()): Elements per page
    • :view (String.t): The compact view provides only the id and name. The extended view provides what is shown below. The normal view is the same as the extended view but excludes children_count, legal_name, parent, bidding, project_ids, standard_cost_codes, contract_signers_name, invoice_contacts_names, default_bid_invitees_names, and country_name. The ERP view is the same as the normal view but it includes origin_custom_fields. The default view is extended.
    • :sort (String.t): Return items with the specified sort

Returns

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

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

@spec rest_v10_companies_company_id_vendors_inactive_id_patch(
  Tesla.Env.client(),
  integer(),
  integer(),
  integer(),
  keyword()
) ::
  {:ok,
   Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()}
  | {:ok, Procore.Model.RestV10VendorsGet200ResponseInner.t()}
  | {:error, Tesla.Env.t()}

Reactivate company vendor Reactivate a specified Company Vendor.

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.
  • id (integer()): ID of the vendor
  • opts (keyword): Optional parameters
    • :view (String.t): The compact view provides only the id and name. The extended view provides what is shown below. The normal view is the same as the extended view but excludes children_count, legal_name, parent, bidding, project_ids, standard_cost_codes, contract_signers_name, invoice_contacts_names, default_bid_invitees_names, and country_name. The ERP view is the same as the normal view but it includes origin_custom_fields. The default view is extended.

Returns

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