Procore.Api.ProjectManagementDrawingsDrawingAreas (procore_sdk v0.3.0)

API calls for all endpoints tagged ProjectManagementDrawingsDrawingAreas.

Summary

Functions

List drawing areas Returns a list of all Drawing Areas in the specified Project.

Create drawing area Create a new Drawing Area in the specified Project.

List drawing areas Returns a list of all Drawing Areas in the specified Project.

Create drawing area Create a new Drawing Area in the specified Project.

Functions

Link to this function

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

@spec rest_v10_projects_project_id_drawing_areas_get(
  Tesla.Env.client(),
  integer(),
  integer(),
  keyword()
) ::
  {:ok,
   Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()}
  | {:ok, [Procore.Model.DrawingArea1.t()]}
  | {:error, Tesla.Env.t()}

List drawing areas Returns a list of all Drawing Areas in the 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, [%DrawingArea1{}, ...]} on success
  • {:error, Tesla.Env.t} on failure
Link to this function

rest_v10_projects_project_id_drawing_areas_post(connection, procore_company_id, project_id, body94, opts \\ [])

Create drawing area Create a new Drawing Area in the 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.
  • body94 (Body94):
  • opts (keyword): Optional parameters

Returns

  • {:ok, Procore.Model.RestV11ProjectsProjectIdDrawingAreasPost201Response.t} on success
  • {:error, Tesla.Env.t} on failure
Link to this function

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

@spec rest_v11_projects_project_id_drawing_areas_get(
  Tesla.Env.client(),
  integer(),
  integer(),
  keyword()
) ::
  {:ok,
   Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()}
  | {:ok, [Procore.Model.DrawingArea.t()]}
  | {:error, Tesla.Env.t()}

List drawing areas Returns a list of all Drawing Areas in the 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
    • :"filters[id]" ([integer()]): Filter by Drawing Areas ID To request specific drawing area ids add filters[id]=[1,2,3] to filters
    • :view (String.t): Specify response schema view

Returns

  • {:ok, [%DrawingArea{}, ...]} on success
  • {:error, Tesla.Env.t} on failure
Link to this function

rest_v11_projects_project_id_drawing_areas_post(connection, procore_company_id, project_id, body93, opts \\ [])

Create drawing area Create a new Drawing Area in the 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.
  • body93 (Body93):
  • opts (keyword): Optional parameters

Returns

  • {:ok, Procore.Model.RestV11ProjectsProjectIdDrawingAreasPost201Response.t} on success
  • {:error, Tesla.Env.t} on failure