Procore.Api.CoreCompanyPrograms (procore_sdk v0.3.0)
API calls for all endpoints tagged CoreCompanyPrograms
.
Summary
Functions
List programs Return a list of Programs associated to the specified Company.
Delete program Delete the specified Program.
Show program Show detail on the specified Program.
Update program Update the specified Program.
Create program Create a new Program in the specified Company.
Functions
Link to this function
rest_v10_companies_company_id_programs_get(connection, procore_company_id, company_id, opts \\ [])
@spec rest_v10_companies_company_id_programs_get( Tesla.Env.client(), integer(), integer(), keyword() ) :: {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:ok, [Procore.Model.Program.t()]} | {:error, Tesla.Env.t()}
List programs Return a list of Programs associated to the 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, [%Program{}, ...]}
on success{:error, Tesla.Env.t}
on failure
Link to this function
rest_v10_companies_company_id_programs_id_delete(connection, procore_company_id, company_id, id, opts \\ [])
@spec rest_v10_companies_company_id_programs_id_delete( Tesla.Env.client(), integer(), integer(), integer(), keyword() ) :: {:ok, nil} | {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:error, Tesla.Env.t()}
Delete program Delete the specified Program.
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 programopts
(keyword): Optional parameters
Returns
{:ok, nil}
on success{:error, Tesla.Env.t}
on failure
Link to this function
rest_v10_companies_company_id_programs_id_get(connection, procore_company_id, company_id, id, opts \\ [])
@spec rest_v10_companies_company_id_programs_id_get( Tesla.Env.client(), integer(), integer(), integer(), keyword() ) :: {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:ok, Procore.Model.RestV10CompaniesCompanyIdProgramsPost201Response.t()} | {:error, Tesla.Env.t()}
Show program Show detail on the specified Program.
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 programopts
(keyword): Optional parameters
Returns
{:ok, Procore.Model.RestV10CompaniesCompanyIdProgramsPost201Response.t}
on success{:error, Tesla.Env.t}
on failure
Link to this function
rest_v10_companies_company_id_programs_id_patch(connection, procore_company_id, company_id, id, body44, opts \\ [])
@spec rest_v10_companies_company_id_programs_id_patch( Tesla.Env.client(), integer(), integer(), integer(), Procore.Model.Body44.t(), keyword() ) :: {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:ok, Procore.Model.RestV10CompaniesCompanyIdProgramsPost201Response.t()} | {:error, Tesla.Env.t()}
Update program Update the specified Program.
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 programbody44
(Body44):opts
(keyword): Optional parameters
Returns
{:ok, Procore.Model.RestV10CompaniesCompanyIdProgramsPost201Response.t}
on success{:error, Tesla.Env.t}
on failure
Link to this function
rest_v10_companies_company_id_programs_post(connection, procore_company_id, company_id, body44, opts \\ [])
@spec rest_v10_companies_company_id_programs_post( Tesla.Env.client(), integer(), integer(), Procore.Model.Body44.t(), keyword() ) :: {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:ok, Procore.Model.RestV10CompaniesCompanyIdProgramsPost201Response.t()} | {:error, Tesla.Env.t()}
Create program Create a new Program in the 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.body44
(Body44):opts
(keyword): Optional parameters
Returns
{:ok, Procore.Model.RestV10CompaniesCompanyIdProgramsPost201Response.t}
on success{:error, Tesla.Env.t}
on failure