Procore.Api.ProjectManagementCrewsCrews (procore_sdk v0.3.0)
API calls for all endpoints tagged ProjectManagementCrewsCrews
.
Summary
Functions
List all Project Crews Return a list of all Crews with details for a specified Project.
Delete a Crew Deleting a Crew associated with the specified Project.
Show A Crew Return Crew detailed information.
Update a Crew Updating a Crew associated with the specified Project.
List all Project Crew Ids Return a list of all Crew Ids with details for a specified Project.
Create a new Crew Create a new Crew associated with the specified Project.
Functions
rest_v10_projects_project_id_crews_get(connection, procore_company_id, project_id, opts \\ [])
@spec rest_v10_projects_project_id_crews_get( Tesla.Env.client(), integer(), integer(), keyword() ) :: {:ok, [Procore.Model.TimecardEntry8Crew.t()]} | {:error, Tesla.Env.t()}
List all Project Crews Return a list of all Crews with details for a specified Project.
Parameters
connection
(Procore.Connection): Connection to serverprocore_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[updated_at]"
(Date.t): Return item(s) last updated within the specified ISO 8601 datetime range. Formats:YYYY-MM-DD
...YYYY-MM-DD
- DateYYYY-MM-DDTHH:MM:SSZ
...YYYY-MM-DDTHH:MM:SSZ
- DateTime with UTC OffsetYYYY-MM-DDTHH:MM:SS+XX:00
...YYYY-MM-DDTHH:MM:SS+XX:00
- Datetime with Custom Offset
Returns
{:ok, [%TimecardEntry8Crew{}, ...]}
on success{:error, Tesla.Env.t}
on failure
rest_v10_projects_project_id_crews_id_delete(connection, procore_company_id, project_id, id, crew_body, opts \\ [])
@spec rest_v10_projects_project_id_crews_id_delete( Tesla.Env.client(), integer(), integer(), integer(), Procore.Model.CrewBody.t(), keyword() ) :: {:ok, nil} | {:error, Tesla.Env.t()}
Delete a Crew Deleting a Crew associated with the specified Project.
Parameters
connection
(Procore.Connection): Connection to serverprocore_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 Crewcrew_body
(CrewBody):opts
(keyword): Optional parameters
Returns
{:ok, nil}
on success{:error, Tesla.Env.t}
on failure
rest_v10_projects_project_id_crews_id_get(connection, procore_company_id, project_id, id, opts \\ [])
@spec rest_v10_projects_project_id_crews_id_get( Tesla.Env.client(), integer(), integer(), integer(), keyword() ) :: {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:ok, Procore.Model.TimecardEntry8Crew.t()} | {:error, Tesla.Env.t()}
Show A Crew Return Crew detailed information.
Parameters
connection
(Procore.Connection): Connection to serverprocore_company_id
(integer()): Unique company identifier associated with the Procore User Account.project_id
(integer()): Unique identifier for the project.id
(integer()): IDopts
(keyword): Optional parameters
Returns
{:ok, Procore.Model.TimecardEntry8Crew.t}
on success{:error, Tesla.Env.t}
on failure
rest_v10_projects_project_id_crews_id_patch(connection, procore_company_id, project_id, id, crew_body, opts \\ [])
@spec rest_v10_projects_project_id_crews_id_patch( Tesla.Env.client(), integer(), integer(), integer(), Procore.Model.CrewBody.t(), keyword() ) :: {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:ok, Procore.Model.TimecardEntry8Crew.t()} | {:error, Tesla.Env.t()}
Update a Crew Updating a Crew associated with the specified Project.
Parameters
connection
(Procore.Connection): Connection to serverprocore_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 Crewcrew_body
(CrewBody):opts
(keyword): Optional parameters
Returns
{:ok, Procore.Model.TimecardEntry8Crew.t}
on success{:error, Tesla.Env.t}
on failure
rest_v10_projects_project_id_crews_ids_get(connection, procore_company_id, project_id, opts \\ [])
@spec rest_v10_projects_project_id_crews_ids_get( Tesla.Env.client(), integer(), integer(), keyword() ) :: {:ok, [integer()]} | {:error, Tesla.Env.t()}
List all Project Crew Ids Return a list of all Crew Ids with details for a specified Project.
Parameters
connection
(Procore.Connection): Connection to serverprocore_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[updated_at]"
(Date.t): Return item(s) last updated within the specified ISO 8601 datetime range. Formats:YYYY-MM-DD
...YYYY-MM-DD
- DateYYYY-MM-DDTHH:MM:SSZ
...YYYY-MM-DDTHH:MM:SSZ
- DateTime with UTC OffsetYYYY-MM-DDTHH:MM:SS+XX:00
...YYYY-MM-DDTHH:MM:SS+XX:00
- Datetime with Custom Offset
Returns
{:ok, [%Integer{}, ...]}
on success{:error, Tesla.Env.t}
on failure
rest_v10_projects_project_id_crews_post(connection, procore_company_id, project_id, crew_body, opts \\ [])
@spec rest_v10_projects_project_id_crews_post( Tesla.Env.client(), integer(), integer(), Procore.Model.CrewBody.t(), keyword() ) :: {:ok, Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()} | {:ok, Procore.Model.TimecardEntry8Crew.t()} | {:error, Tesla.Env.t()}
Create a new Crew Create a new Crew associated with the specified Project.
Parameters
connection
(Procore.Connection): Connection to serverprocore_company_id
(integer()): Unique company identifier associated with the Procore User Account.project_id
(integer()): Unique identifier for the project.crew_body
(CrewBody):opts
(keyword): Optional parameters
Returns
{:ok, Procore.Model.TimecardEntry8Crew.t}
on success{:error, Tesla.Env.t}
on failure