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.

Show Punch Item Type Return detail on the specified Punch Item Type.

Functions

Link to this function

rest_v10_punch_item_types_get(connection, procore_company_id, project_id, opts \\ [])

List punch item types Return a list of all Punch Item Types on a specified Project.

Parameters

  • connection (Procore.Connection): Connection to server
  • procore_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 server
  • procore_company_id (integer()): Unique company identifier associated with the Procore User Account.
  • id (integer()): ID of the Punch Item Type
  • project_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 \\ [])

Show Punch Item Type Return detail on the specified Punch Item Type.

Parameters

  • connection (Procore.Connection): Connection to server
  • procore_company_id (integer()): Unique company identifier associated with the Procore User Account.
  • id (integer()): ID of the Punch Item Type
  • project_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 \\ [])

Update Punch Item type Update the specified Punch Item Type.

Parameters

  • connection (Procore.Connection): Connection to server
  • procore_company_id (integer()): Unique company identifier associated with the Procore User Account.
  • id (integer()): ID of the Punch Item Type
  • punch_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 \\ [])

Create Punch Item Type Create a new Punch Item Type.

Parameters

  • connection (Procore.Connection): Connection to server
  • procore_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