Procore.Api.CoreCompanyProjectTypes (procore_sdk v0.3.0)
API calls for all endpoints tagged CoreCompanyProjectTypes
.
Summary
Functions
List project types Returns a list of Project Types associated with a specified Company.
Delete project type Delete the specified Project Type.
Show project type Show detail on the specified Project Type.
Update project type Update a Project Type.
Create project type Create a new Project Type associated with a specific Company.
Functions
Link to this function
rest_v10_companies_company_id_project_types_get(connection, procore_company_id, company_id, opts \\ [])
@spec rest_v10_companies_company_id_project_types_get( Tesla.Env.client(), integer(), integer(), keyword() ) :: {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:ok, [Procore.Model.ProjectType3.t()]} | {:error, Tesla.Env.t()}
List project types Returns a list of Project Types associated with a specified Company.
Parameters
connection
(Procore.Connection): Connection to serverprocore_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
Returns
{:ok, [%ProjectType3{}, ...]}
on success{:error, Tesla.Env.t}
on failure
Link to this function
rest_v10_companies_company_id_project_types_id_delete(connection, procore_company_id, company_id, id, opts \\ [])
@spec rest_v10_companies_company_id_project_types_id_delete( Tesla.Env.client(), integer(), integer(), integer(), keyword() ) :: {:ok, nil} | {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:error, Tesla.Env.t()}
Delete project type Delete the specified Project Type.
Parameters
connection
(Procore.Connection): Connection to serverprocore_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 project typeopts
(keyword): Optional parameters
Returns
{:ok, nil}
on success{:error, Tesla.Env.t}
on failure
Link to this function
rest_v10_companies_company_id_project_types_id_get(connection, procore_company_id, company_id, id, opts \\ [])
@spec rest_v10_companies_company_id_project_types_id_get( Tesla.Env.client(), integer(), integer(), integer(), keyword() ) :: {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:ok, Procore.Model.ProjectType3.t()} | {:error, Tesla.Env.t()}
Show project type Show detail on the specified Project Type.
Parameters
connection
(Procore.Connection): Connection to serverprocore_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 project typeopts
(keyword): Optional parameters
Returns
{:ok, Procore.Model.ProjectType3.t}
on success{:error, Tesla.Env.t}
on failure
Link to this function
rest_v10_companies_company_id_project_types_id_patch(connection, procore_company_id, company_id, id, body35, opts \\ [])
@spec rest_v10_companies_company_id_project_types_id_patch( Tesla.Env.client(), integer(), integer(), integer(), Procore.Model.Body35.t(), keyword() ) :: {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:ok, Procore.Model.ProjectType3.t()} | {:error, Tesla.Env.t()}
Update project type Update a Project Type.
Parameters
connection
(Procore.Connection): Connection to serverprocore_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 project typebody35
(Body35):opts
(keyword): Optional parameters
Returns
{:ok, Procore.Model.ProjectType3.t}
on success{:error, Tesla.Env.t}
on failure
Link to this function
rest_v10_companies_company_id_project_types_post(connection, procore_company_id, company_id, body35, opts \\ [])
@spec rest_v10_companies_company_id_project_types_post( Tesla.Env.client(), integer(), integer(), Procore.Model.Body35.t(), keyword() ) :: {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:ok, Procore.Model.ProjectType3.t()} | {:error, Tesla.Env.t()}
Create project type Create a new Project Type associated with a specific Company.
Parameters
connection
(Procore.Connection): Connection to serverprocore_company_id
(integer()): Unique company identifier associated with the Procore User Account.company_id
(integer()): Unique identifier for the company.body35
(Body35):opts
(keyword): Optional parameters
Returns
{:ok, Procore.Model.ProjectType3.t}
on success{:error, Tesla.Env.t}
on failure