Skip to content

Instantly share code, notes, and snippets.

@beaucharman
Last active November 21, 2017 03:21
Show Gist options
  • Save beaucharman/c63f478eca70b2d890fca693eae75de5 to your computer and use it in GitHub Desktop.
Save beaucharman/c63f478eca70b2d890fca693eae75de5 to your computer and use it in GitHub Desktop.
// 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