Team Management Module For Developers

1       REST Calls

1.1       Team Role

1.1.1       URLs

URLDescription

GET openmrs/ws/rest/v1/teammodule/team/teamrole/{uuid}

Fetch the team role that matches the uuid

GET openmrs/ws/rest/v1/teammodule/team/teamrole?q={query}&v={full, default}

Fetch the team role that matches the parameter

DELETE openmrs/ws/rest/v1/teammodule/team/teamrole/{uuid}

Delete the team role that matches the uuid

POST openmrs/ws/rest/v1/teammodule/team/teamrole/{uuid}

Edit the team role that matches the uuid

POST openmrs/ws/rest/v1/teammodule/team/teamrole

Create a new team role

1.1.2       Parameters

GET ‘default’GET ‘full’

display

identifier

uuid

name

voided

voidReason

ownsTeam

reportTo

reportByName

members

display

identifier

name

voided

voidReason

uuid

ownsTeam

reportTo

reportByName

members

auditInfo

resourceVersion

1.2       Team Role Log

1.2.1       URLs

URLDescription

GET openmrs/ws/rest/v1/teammodule/team/teamrolelog/{uuid}

Fetch the team role log that matches the uuid

GET openmrs/ws/rest/v1/teammodule/team/teamrolelog?q={query}&v={full, default}

Fetch the team role log that matches the parameter

DELETE openmrs/ws/rest/v1/teammodule/team/teamrolelog/{uuid}

Delete the team role log that matches the uuid

POST openmrs/ws/rest/v1/teammodule/team/teamrolelog/{uuid}

Edit the team role log that matches the uuid

POST openmrs/ws/rest/v1/teammodule/team/teamrolelog

Create a new team role

1.2.2       Parameters

GET ‘default’GET ‘full’

display

teamRole

action

dataNew

dataOld

uuid

log

display

teamRole

action

dataNew

dataOld

uuid

log

auditInfo

resourceVersion

1.3       Team

1.3.1       URLs

URLDescription

GET openmrs/ws/rest/v1/teammodule/team/team/{uuid}

Fetch the team that matches the uuid

GET openmrs/ws/rest/v1/teammodule/team/team?q={query}&v={full, default}

Fetch the team that matches the parameter

DELETE openmrs/ws/rest/v1/teammodule/team/team/{uuid}

Delete the team that matches the uuid

POST openmrs/ws/rest/v1/teammodule/team/team/{uuid}

Edit the team that matches the uuid

POST openmrs/ws/rest/v1/teammodule/team/team

Create a new team

1.3.2       Parameters

GET ‘default’GET ‘full’

display

uuid

teamName

teamIdentifier

supervisor

supervisorUuid

supervisorTeam

supervisorTeamUuid

supervisorIdentifier

voided

voidReason

members

location

display

uuid

teamName

teamIdentifier

supervisor

supervisorUuid

supervisorTeam

supervisorTeamUuid

supervisorIdentifier

voided

voidReason

location

members

auditInfo

resourceVersion

1.3       Team Log

1.3.1       URLs

URLDescription

GET openmrs/ws/rest/v1/teammodule/team/teamlog/{uuid}

Fetch the team log that matches the uuid

GET openmrs/ws/rest/v1/teammodule/team/teamlog?q={query}&v={full, default}

Fetch the team log that matches the parameter

DELETE openmrs/ws/rest/v1/teammodule/team/teamlog/{uuid}

Delete the team log that matches the uuid

POST openmrs/ws/rest/v1/teammodule/team/teamlog/{uuid}

Edit the team log that matches the uuid

POST openmrs/ws/rest/v1/teammodule/team/teamlog

Create a new team log

1.3.1       Parameters

GET ‘default’GET ‘full’

display

team

action

dataNew

dataOld

uuid

log

display

team

action

dataNew

dataOld

uuid

log

auditInfo

resourceVersion

1.3       Team Member

1.3.1       URLs

URLDescription

GET openmrs/ws/rest/v1/teammodule/team/teammember/{uuid}

Fetch the team member that matches the uuid

GET openmrs/ws/rest/v1/teammodule/team/teammember?q={query}&v={full, default}

Fetch the team member that matches the parameter

DELETE openmrs/ws/rest/v1/teammodule/team/teammember/{uuid}

Delete the team member that matches the uuid

POST openmrs/ws/rest/v1/teammodule/team/teammember/{uuid}

Edit the team member that matches the uuid

POST openmrs/ws/rest/v1/teammodule/team/teammember

Create a new team member

1.3.1       Parameters

GET ‘default’GET ‘full’

uuid

voided

voidReason

isDataProvider

subTeams

subTeamRoles

person

team

teamRole

locations

patients

display

identifier

uuid

voided

voidReason

isDataProvider

subTeams

subTeamRoles

person

team

teamRole

locations

patients

auditInfo

resourceVersion

1.3       Team Member Log

1.3.1       URLs

URLDescription

GET openmrs/ws/rest/v1/teammodule/team/teammemberlog/{uuid}

Fetch the team member log that matches the uuid

GET openmrs/ws/rest/v1/teammodule/team/teammemberlog?q={query}&v={full, default}

Fetch the team member log that matches the parameter

DELETE openmrs/ws/rest/v1/teammodule/team/teammemberlog/{uuid}

Delete the team member log that matches the uuid

POST openmrs/ws/rest/v1/teammodule/team/teammemberlog/{uuid}

Edit the team member log that matches the uuid

POST openmrs/ws/rest/v1/teammodule/team/teammemberlog

Create a new team member log

1.3.1       Parameters

GET ‘default’GET ‘full’

display

teamMember

action

dataNew

dataOld

uuid

log

display

teamMember

action

dataNew

dataOld

log

uuid

auditInfo

resourceVersion