Skip to content

Instantly share code, notes, and snippets.

@ariestikto
Created January 26, 2024 09:45
Show Gist options
  • Save ariestikto/b1b9036c30aee4ed90d33446a6d37822 to your computer and use it in GitHub Desktop.
Save ariestikto/b1b9036c30aee4ed90d33446a6d37822 to your computer and use it in GitHub Desktop.
mutation RemoveParticipants(
$requesterUserType: String!
$requesterUserId: Int!
$practitionerId: Int
$removedParticipants: [RemoveParticipantInput]!
) {
removeParticipants (
requesterUserType: $requesterUserType,
requesterUserId: $requesterUserId,
practitionerId: $practitionerId,
removedParticipants: $removedParticipants
) {
type
projectId
userProjectGuid
contextUserProjectGuid
isQueued
message
}
}
{
"requesterUserType": "practitioner",
"requesterUserId": 2129,
"practitionerId": 2129,
"removedParticipants": [ {
"type": "SELF_ASSESSOR",
"projectId": 17762,
"participantId": 151934,
"userProjectGuid": "85E491E7-EA9B-4C3F-A8F8-A03E6836D8F4"
}, {
"type": "SELF_ASSESSOR",
"projectId": 17762,
"participantId": 184903,
"userProjectGuid": "A3F87F1F-89A0-4713-8DDA-AF9E420C3189"
}, {
"type": "SELF_ASSESSOR",
"projectId": 17802,
"participantId": 162962,
"userProjectGuid": "2D509DB8-D5AE-4644-B309-4D9218E49B03"
}, {
"type": "SELF_ASSESSOR",
"projectId": 16847,
"participantId": 145335,
"userProjectGuid": "0E8CE1E8-C283-4F10-8308-A4E8DC51D02A"
}, {
"type": "RATER",
"participantId": 194954,
"projectId": 17223,
"raterGuid": "71C31CD6-2045-4DED-9352-798F2AE3AF84",
"contextUserProjectGuid": "39D10A8E-8FC7-49CC-9D75-AE9E99341C8A"
}, {
"type": "RATER",
"participantId": 184903,
"projectId": 20556,
"raterGuid": "FBF3BCE9-C976-4E83-8101-76A05951DD56",
"contextUserProjectGuid": "AA8BC07E-0D47-402C-9DF9-6C5BB18DE2B6"
}, {
"type": "RATER",
"participantId": 171802,
"projectId": 17646,
"raterGuid": "71108AFA-84E9-493F-AB9A-E4F74E0ECF87",
"contextUserProjectGuid": "EAA0B87E-7209-4A26-AEAF-7702B9096142"
}, {
"type": "RATER",
"participantId": 266415,
"projectId": 19809,
"raterGuid": "24AE4B52-6CC1-4F04-8E92-16795311C6AE",
"contextUserProjectGuid": "D45A0DF8-ADD8-47F0-9653-C2221EFAC8DC"
}]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment