Procore.Api.FieldProductivityTaskCodesTaskCodesFieldProductivity (procore_sdk v0.3.0)

API calls for all endpoints tagged FieldProductivityTaskCodesTaskCodesFieldProductivity.

Summary

Functions

List Project WBS Task codes All Work Breakdown Structure task codes for a given project. NOTE, this endpoint is currently in the experimental stage and is subject to change.

Functions

Link to this function

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

List Project WBS Task codes All Work Breakdown Structure task codes for a given project. NOTE, this endpoint is currently in the experimental stage and is subject to change.

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
    • :per_page (integer()): Elements per page
    • :page (integer()): Page
    • :serializer_view (String.t): Controls which Task Code blueprint is used to serialize the data. This defaults to task_code_entity, but id_only is also valid. Errors may be generated if requesting a serializer view that is not compatible with WbsCodeWithLegacy entities. serializer_view takes precedence over view.
    • :view (String.t): Controls which Task Code blueprint is used to serialize the data. This defaults to task_code_entity, but id_only is also valid. Errors may be generated if requesting a serializer view that is not compatible with WbsCodeWithLegacy entities.
    • :filters (RestV10ProjectsProjectIdTaskCodesGetFiltersParameter): Filters for wbs task codes

Returns

  • {:ok, [%RestV10ProjectsProjectIdTaskCodesGet200ResponseInner{}, ...]} on success
  • {:error, Tesla.Env.t} on failure