Procore.Api.ProjectManagementSpecificationsSpecificationSections (procore_sdk v0.3.0)

API calls for all endpoints tagged ProjectManagementSpecificationsSpecificationSections.

Summary

Functions

Link to this function

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

List Specification Sections List the Specification Sections in a 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
    • :"filters[id]" ([integer()]): Return item(s) with the specified IDs.
    • :sort (String.t): Sorts the specification sections by number Ex. 'sort=number' Use 'sort=-number' to sort in descending order

Returns

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

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

Create Specification Section for a 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
    • :body (RestV10SpecificationSectionsPostRequest):

Returns

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