Procore.Api.QualitySafetyPunchListPunchItemTypes (procore_sdk v0.3.0)
API calls for all endpoints tagged QualitySafetyPunchListPunchItemTypes
.
Summary
Functions
List punch item types Return a list of all Punch Item Types on a specified Project.
Delete Punch Item Type Delete the specified Punch Item Type.
Show Punch Item Type Return detail on the specified Punch Item Type.
Update Punch Item type Update the specified Punch Item Type.
Create Punch Item Type Create a new Punch Item Type.
Functions
Link to this function
rest_v10_punch_item_types_get(connection, procore_company_id, project_id, opts \\ [])
@spec rest_v10_punch_item_types_get( Tesla.Env.client(), integer(), integer(), keyword() ) :: {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:ok, [Procore.Model.PunchItemType1.t()]} | {:error, Tesla.Env.t()}
List punch item types Return a list of all Punch Item Types on a specified Project.
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.opts
(keyword): Optional parameters:page
(integer()): Page:per_page
(integer()): Elements per page
Returns
{:ok, [%PunchItemType1{}, ...]}
on success{:error, Tesla.Env.t}
on failure
Link to this function
rest_v10_punch_item_types_id_delete(connection, procore_company_id, id, project_id, opts \\ [])
@spec rest_v10_punch_item_types_id_delete( Tesla.Env.client(), integer(), integer(), integer(), keyword() ) :: {:ok, nil} | {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:error, Tesla.Env.t()}
Delete Punch Item Type Delete the specified Punch Item Type.
Parameters
connection
(Procore.Connection): Connection to serverprocore_company_id
(integer()): Unique company identifier associated with the Procore User Account.id
(integer()): ID of the Punch Item Typeproject_id
(integer()): Unique identifier for the project.opts
(keyword): Optional parameters
Returns
{:ok, nil}
on success{:error, Tesla.Env.t}
on failure
Link to this function
rest_v10_punch_item_types_id_get(connection, procore_company_id, id, project_id, opts \\ [])
@spec rest_v10_punch_item_types_id_get( Tesla.Env.client(), integer(), integer(), integer(), keyword() ) :: {:ok, Procore.Model.PunchItemType1.t()} | {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:error, Tesla.Env.t()}
Show Punch Item Type Return detail on the specified Punch Item Type.
Parameters
connection
(Procore.Connection): Connection to serverprocore_company_id
(integer()): Unique company identifier associated with the Procore User Account.id
(integer()): ID of the Punch Item Typeproject_id
(integer()): Unique identifier for the project.opts
(keyword): Optional parameters
Returns
{:ok, Procore.Model.PunchItemType1.t}
on success{:error, Tesla.Env.t}
on failure
Link to this function
rest_v10_punch_item_types_id_patch(connection, procore_company_id, id, punch_item_type_body, opts \\ [])
@spec rest_v10_punch_item_types_id_patch( Tesla.Env.client(), integer(), integer(), Procore.Model.PunchItemTypeBody.t(), keyword() ) :: {:ok, Procore.Model.PunchItemType1.t()} | {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:error, Tesla.Env.t()}
Update Punch Item type Update the specified Punch Item Type.
Parameters
connection
(Procore.Connection): Connection to serverprocore_company_id
(integer()): Unique company identifier associated with the Procore User Account.id
(integer()): ID of the Punch Item Typepunch_item_type_body
(PunchItemTypeBody):opts
(keyword): Optional parameters
Returns
{:ok, Procore.Model.PunchItemType1.t}
on success{:error, Tesla.Env.t}
on failure
Link to this function
rest_v10_punch_item_types_post(connection, procore_company_id, punch_item_type_body, opts \\ [])
@spec rest_v10_punch_item_types_post( Tesla.Env.client(), integer(), Procore.Model.PunchItemTypeBody.t(), keyword() ) :: {:ok, Procore.Model.PunchItemType1.t()} | {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:error, Tesla.Env.t()}
Create Punch Item Type Create a new Punch Item Type.
Parameters
connection
(Procore.Connection): Connection to serverprocore_company_id
(integer()): Unique company identifier associated with the Procore User Account.punch_item_type_body
(PunchItemTypeBody):opts
(keyword): Optional parameters
Returns
{:ok, Procore.Model.PunchItemType1.t}
on success{:error, Tesla.Env.t}
on failure