Procore.Api.CoreProjectDirectoryProjectVendorInsurances (procore_sdk v0.3.0)
API calls for all endpoints tagged CoreProjectDirectoryProjectVendorInsurances
.
Summary
Functions
List project vendor insurances Return a list of Insurances from the specified Project Vendor.
Delete project vendor insurance Delete the specified Project Vendor Insurance.
Show project vendor insurance Show detail on the specified Project Vendor Insurance.
Update project vendor insurance Update the specified Project Vendor Insurance.
Create project vendor insurance Create a new Insurance associated with the specified Project Vendor.
Sync Project Vendor Insurances This endpoint creates or updates a batch of Project Vendor Insurances.
Functions
rest_v10_projects_project_id_vendors_vendor_id_insurances_get(connection, procore_company_id, project_id, vendor_id, opts \\ [])
@spec rest_v10_projects_project_id_vendors_vendor_id_insurances_get( Tesla.Env.client(), integer(), integer(), integer(), keyword() ) :: {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:ok, [Procore.Model.Insurance.t()]} | {:error, Tesla.Env.t()}
List project vendor insurances Return a list of Insurances from the specified Project Vendor.
Parameters
connection
(Procore.Connection): Connection to serverprocore_company_id
(integer()): Unique company identifier associated with the Procore User Account.project_id
(integer()): Unique identifier for the project.vendor_id
(integer()): Vendor IDopts
(keyword): Optional parameters:page
(integer()): Page:per_page
(integer()): Elements per page
Returns
{:ok, [%Insurance{}, ...]}
on success{:error, Tesla.Env.t}
on failure
rest_v10_projects_project_id_vendors_vendor_id_insurances_id_delete(connection, procore_company_id, project_id, vendor_id, id, opts \\ [])
@spec rest_v10_projects_project_id_vendors_vendor_id_insurances_id_delete( Tesla.Env.client(), integer(), integer(), integer(), integer(), keyword() ) :: {:ok, nil} | {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:error, Tesla.Env.t()}
Delete project vendor insurance Delete the specified Project Vendor Insurance.
Parameters
connection
(Procore.Connection): Connection to serverprocore_company_id
(integer()): Unique company identifier associated with the Procore User Account.project_id
(integer()): Unique identifier for the project.vendor_id
(integer()): Vendor IDid
(integer()): IDopts
(keyword): Optional parameters
Returns
{:ok, nil}
on success{:error, Tesla.Env.t}
on failure
rest_v10_projects_project_id_vendors_vendor_id_insurances_id_get(connection, procore_company_id, project_id, vendor_id, id, opts \\ [])
@spec rest_v10_projects_project_id_vendors_vendor_id_insurances_id_get( Tesla.Env.client(), integer(), integer(), integer(), integer(), keyword() ) :: {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:ok, Procore.Model.Insurance.t()} | {:error, Tesla.Env.t()}
Show project vendor insurance Show detail on the specified Project Vendor Insurance.
Parameters
connection
(Procore.Connection): Connection to serverprocore_company_id
(integer()): Unique company identifier associated with the Procore User Account.project_id
(integer()): Unique identifier for the project.vendor_id
(integer()): Vendor IDid
(integer()): IDopts
(keyword): Optional parameters
Returns
{:ok, Procore.Model.Insurance.t}
on success{:error, Tesla.Env.t}
on failure
rest_v10_projects_project_id_vendors_vendor_id_insurances_id_patch(connection, procore_company_id, project_id, vendor_id, id, body34, opts \\ [])
@spec rest_v10_projects_project_id_vendors_vendor_id_insurances_id_patch( Tesla.Env.client(), integer(), integer(), integer(), integer(), Procore.Model.Body34.t(), keyword() ) :: {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:ok, Procore.Model.Insurance.t()} | {:error, Tesla.Env.t()}
Update project vendor insurance Update the specified Project Vendor Insurance.
Parameters
connection
(Procore.Connection): Connection to serverprocore_company_id
(integer()): Unique company identifier associated with the Procore User Account.project_id
(integer()): Unique identifier for the project.vendor_id
(integer()): Vendor IDid
(integer()): IDbody34
(Body34):opts
(keyword): Optional parameters
Returns
{:ok, Procore.Model.Insurance.t}
on success{:error, Tesla.Env.t}
on failure
rest_v10_projects_project_id_vendors_vendor_id_insurances_post(connection, procore_company_id, project_id, vendor_id, body34, opts \\ [])
@spec rest_v10_projects_project_id_vendors_vendor_id_insurances_post( Tesla.Env.client(), integer(), integer(), integer(), Procore.Model.Body34.t(), keyword() ) :: {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:ok, Procore.Model.Insurance.t()} | {:error, Tesla.Env.t()}
Create project vendor insurance Create a new Insurance associated with the specified Project Vendor.
Parameters
connection
(Procore.Connection): Connection to serverprocore_company_id
(integer()): Unique company identifier associated with the Procore User Account.project_id
(integer()): Unique identifier for the project.vendor_id
(integer()): Vendor IDbody34
(Body34):opts
(keyword): Optional parameters
Returns
{:ok, Procore.Model.Insurance.t}
on success{:error, Tesla.Env.t}
on failure
rest_v10_projects_project_id_vendors_vendor_id_insurances_sync_patch(connection, procore_company_id, project_id, vendor_id, insurance_sync_body, opts \\ [])
@spec rest_v10_projects_project_id_vendors_vendor_id_insurances_sync_patch( Tesla.Env.client(), integer(), integer(), integer(), Procore.Model.InsuranceSyncBody.t(), keyword() ) :: {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:ok, Procore.Model.ArrayOfCompanyVendorInsurances.t()} | {:error, Tesla.Env.t()}
Sync Project Vendor Insurances This endpoint creates or updates a batch of Project Vendor Insurances.
Parameters
connection
(Procore.Connection): Connection to serverprocore_company_id
(integer()): Unique company identifier associated with the Procore User Account.project_id
(integer()): Unique identifier for the project.vendor_id
(integer()): Vendor IDinsurance_sync_body
(InsuranceSyncBody):opts
(keyword): Optional parameters
Returns
{:ok, Procore.Model.ArrayOfCompanyVendorInsurances.t}
on success{:error, Tesla.Env.t}
on failure