Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
// Portal_Teams.addTeamMember.request.js
{
...
data: {
ClassName: 'Platform_Teams',
MethodName: 'addTeamMember',
Parameter: {
name: 'Name',
practitionerId: '0050k000000FtmGAAS',
clients: [ // Group and all it's entities
{
id: '001N000000WeikW',
isAdmin: 'true',
role: 'engagementLead'
},
{
...
}
]
}
}
}
// Portal_Teams.addTeamMember.response.js
{
...
result: {
isSuccess: true,
errors:[],
name: 'Name',
practitionerId: '0050k000000FtmGAAS',
clients: [ // Group and all it's entities
{
id: '001N000000WeikW',
isAdmin: 'true',
role: 'engagementLead'
},
{
...
}
]
}
}
// Portal_Teams.updateTeamMember.request.js
{
...
data: {
ClassName: 'Platform_Teams',
MethodName: 'updateTeamMember',
Parameter: {
name: 'Name',
practitionerId: '0050k000000FtmGAAS',
clients: [ // Group and all it's entities
{
id: '001N000000WeikW',
isAdmin: 'true',
role: 'engagementLead'
},
{
...
}
]
}
}
}
// Portal_Teams.updateTeamMember.response.js
{
...
result: {
isSuccess: true,
errors:[],
name: 'Name',
practitionerId: '0050k000000FtmGAAS',
clients: [ // Group and all it's entities
{
id: '001N000000WeikW',
isAdmin: 'true',
role: 'engagementLead'
},
{
...
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.