Procore.Api.CoreCompanyProjectRegions (procore_sdk v0.3.0)
API calls for all endpoints tagged CoreCompanyProjectRegions
.
Summary
Functions
List Project Regions Return a list of Project Regions.
Delete Project Region Delete the specified Project Region.
Show Project Region Show detail on a specified Project Region.
Update Project Region Update the specified Project Region.
Create Project Region Create a new Project Region in the specified Company.
Functions
Link to this function
rest_v10_companies_company_id_project_regions_get(connection, procore_company_id, company_id, opts \\ [])
@spec rest_v10_companies_company_id_project_regions_get( Tesla.Env.client(), integer(), integer(), keyword() ) :: {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:ok, [Procore.Model.ProjectRegion2.t()]} | {:error, Tesla.Env.t()}
List Project Regions Return a list of Project Regions.
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, [%ProjectRegion2{}, ...]}
on success{:error, Tesla.Env.t}
on failure
Link to this function
rest_v10_companies_company_id_project_regions_id_delete(connection, procore_company_id, company_id, id, opts \\ [])
@spec rest_v10_companies_company_id_project_regions_id_delete( Tesla.Env.client(), integer(), integer(), integer(), keyword() ) :: {:ok, map()} | {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:error, Tesla.Env.t()}
Delete Project Region Delete the specified Project Region.
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 Regionopts
(keyword): Optional parameters
Returns
{:ok, map()}
on success{:error, Tesla.Env.t}
on failure
Link to this function
rest_v10_companies_company_id_project_regions_id_get(connection, procore_company_id, company_id, id, opts \\ [])
@spec rest_v10_companies_company_id_project_regions_id_get( Tesla.Env.client(), integer(), integer(), integer(), keyword() ) :: {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:ok, Procore.Model.ProjectRegion2.t()} | {:error, Tesla.Env.t()}
Show Project Region Show detail on a specified Project Region.
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 Regionopts
(keyword): Optional parameters
Returns
{:ok, Procore.Model.ProjectRegion2.t}
on success{:error, Tesla.Env.t}
on failure
Link to this function
rest_v10_companies_company_id_project_regions_id_patch(connection, procore_company_id, company_id, id, body38, opts \\ [])
@spec rest_v10_companies_company_id_project_regions_id_patch( Tesla.Env.client(), integer(), integer(), integer(), Procore.Model.Body38.t(), keyword() ) :: {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:ok, Procore.Model.ProjectRegion2.t()} | {:error, Tesla.Env.t()}
Update Project Region Update the specified Project Region.
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 Regionbody38
(Body38):opts
(keyword): Optional parameters
Returns
{:ok, Procore.Model.ProjectRegion2.t}
on success{:error, Tesla.Env.t}
on failure
Link to this function
rest_v10_companies_company_id_project_regions_post(connection, procore_company_id, company_id, body38, opts \\ [])
@spec rest_v10_companies_company_id_project_regions_post( Tesla.Env.client(), integer(), integer(), Procore.Model.Body38.t(), keyword() ) :: {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:ok, Procore.Model.ProjectRegion2.t()} | {:error, Tesla.Env.t()}
Create Project Region Create a new Project Region 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.body38
(Body38):opts
(keyword): Optional parameters
Returns
{:ok, Procore.Model.ProjectRegion2.t}
on success{:error, Tesla.Env.t}
on failure