MoxiWorks Platform
.NET SDK For MoxiWorks Public API
MoxiWorks.Platform.TeamService Class Reference
Inheritance diagram for MoxiWorks.Platform.TeamService:
MoxiWorks.Platform.Interfaces.ITeamService

Public Member Functions

 TeamService (IMoxiWorksClient client)
 
async Task< Response< Team > > GetTeamAsync (string moxiWorksTeamId, string moxiWorksCompanyId)
 Get a Team in a company. More...
 
async Task< Response< List< Team > > > GetCompanyTeamsAync (string moxiWorksCompanyId)
 Get a List of Teams in a company. More...
 

Properties

IMoxiWorksClient Client [get, set]
 

Member Function Documentation

◆ GetCompanyTeamsAync()

async Task<Response<List<Team> > > MoxiWorks.Platform.TeamService.GetCompanyTeamsAync ( string  moxiWorksCompanyId)

Get a List of Teams in a company.

Parameters
moxiWorksCompanyId
Returns
Response of Teams

Implements MoxiWorks.Platform.Interfaces.ITeamService.

◆ GetTeamAsync()

async Task<Response<Team> > MoxiWorks.Platform.TeamService.GetTeamAsync ( string  moxiWorksTeamId,
string  moxiWorksCompanyId 
)

Get a Team in a company.

Parameters
moxiWorksTeamIdA valid Moxi Works Team ID. Use Team Index Endpoint for a list of all Team objects associated with a Company or use the moxi_works_team_id attribute returned in an Agent response.
moxiWorksCompanyIdA valid Moxi Works Company ID. Use Company Endpoint to determine what moxi_works_company_id you can use. /param>
Returns
Returns the team in the compang if it exists.

Implements MoxiWorks.Platform.Interfaces.ITeamService.


The documentation for this class was generated from the following file: