Procore.Api.CoreCompanyDirectoryCompanyInactiveVendors (procore_sdk v0.3.0)

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): Specifies which view of the resource to return (which attributes should be present in the response). 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): Specifies which view of the resource to return (which attributes should be present in the response). The default view is extended.

Returns

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