Procore.Api.ProjectManagementDrawingsDrawingDisciplines (procore_sdk v0.3.0)

API calls for all endpoints tagged ProjectManagementDrawingsDrawingDisciplines.

Summary

Functions

Link to this function

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

List Drawing Disciplines List of Drawing Disciplines

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

Returns

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

rest_v10_projects_project_id_drawing_disciplines_id_patch(connection, procore_company_id, project_id, id, opts \\ [])

Update drawing discipline

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.
  • id (integer()): ID of the discipline to update
  • opts (keyword): Optional parameters
    • :body (RestV11ProjectsProjectIdDrawingDisciplinesIdPatchRequest):

Returns

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

rest_v10_projects_project_id_drawing_disciplines_id_put(connection, procore_company_id, project_id, id, name, opts \\ [])

Update drawing discipline This is a deprecated endpoint.

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.
  • id (integer()): ID of the discipline to update
  • name (String.t): New name for the Drawing Discipline
  • opts (keyword): Optional parameters

Returns

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

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

List Drawing Disciplines List of Drawing Disciplines

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
    • :"filters[id]" ([integer()]): Filter by Drawing Disciplines ID To request specific drawing discipline ids add filters[id]=[1,2,3] to filters
    • :view (String.t): Specify response schema view
    • :page (integer()): Page
    • :per_page (integer()): Elements per page

Returns

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

rest_v11_projects_project_id_drawing_disciplines_id_patch(connection, procore_company_id, project_id, id, opts \\ [])

Update drawing discipline

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.
  • id (integer()): ID of the discipline to update
  • opts (keyword): Optional parameters
    • :body (RestV11ProjectsProjectIdDrawingDisciplinesIdPatchRequest):

Returns

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