mutation RemoveProtocolFromIbcProject($projectId: String!, $projectVersion: Int!, $protocolId: String!, $protocolVersion: Int!) {
removeProtocolFromIbcProject(projectId: $projectId, projectVersion: $projectVersion, protocolId: $protocolId, protocolVersion: $protocolVersion) {
file
id
investigator {
allowedLocations {
children {
__typename
}
id
isSite
location
parentId
tags
}
avatarUrl
department
email
firstName
groups {
createdAt
id
name
users {
__typename
}
}
}
name
orgId
overview
}
}{
"projectId": "string",
"projectVersion": 1,
"protocolId": "string",
"protocolVersion": 1
}{
"data": {
"removeProtocolFromIbcProject": {
"file": "string",
"id": "string",
"investigator": {
"allowedLocations": [
{
"children": [
{
"__typename": "Location"
}
],
"id": 1,
"isSite": true,
"location": "string",
"parentId": 1,
"tags": [
"string"
]
}
],
"avatarUrl": "string",
"department": "string",
"email": "string",
"firstName": "string",
"groups": [
{
"createdAt": "value",
"id": "string",
"name": "string",
"users": [
{
"__typename": "User"
}
]
}
]
},
"name": "string",
"orgId": "string",
"overview": "string"
}
}
}removeProtocolFromIbcProject
Unlinks a protocol version from a draft version of an IBC project and returns the draft.
removeProtocolFromIbcProject(projectId: String!, projectVersion: Int!, protocolId: String!, protocolVersion: Int!): IbcProjectArguments
Id of the IBC project.
Version number of the draft to unlink the protocol from.
Id of the protocol to unlink.
Version number of the protocol to unlink.
Returns
Identifier of the project's document file.
Id of the project, shared by all of its versions.
The project's principal investigator.
Name of the project.
Id of the organization the project belongs to.
Summary of the project.
Protocols covered by this version of the project. Empty if there are no protocols.
When the project's next committee review is due.
Committee reviews of the project. Empty if there are no reviews.
Committee status of the project, one of 'NOT_SUBMITTED' (Not submitted), 'SUBMITTED' (Submitted), 'APPROVED' (Approved), 'APPROVED_WITH_CONDITIONS' (Approved with conditions), 'DEFERRED' (Deferred (modifications required)) or 'DISAPPROVED' (Disapproved).
When this version was last modified.
Version number of the project, starting at 1.
Display label of the version, for example '2'.
One of 'DRAFT' (Draft) or 'PUBLISHED' (Published).
mutation RemoveProtocolFromIbcProject($projectId: String!, $projectVersion: Int!, $protocolId: String!, $protocolVersion: Int!) {
removeProtocolFromIbcProject(projectId: $projectId, projectVersion: $projectVersion, protocolId: $protocolId, protocolVersion: $protocolVersion) {
file
id
investigator {
allowedLocations {
children {
__typename
}
id
isSite
location
parentId
tags
}
avatarUrl
department
email
firstName
groups {
createdAt
id
name
users {
__typename
}
}
}
name
orgId
overview
}
}{
"projectId": "string",
"projectVersion": 1,
"protocolId": "string",
"protocolVersion": 1
}{
"data": {
"removeProtocolFromIbcProject": {
"file": "string",
"id": "string",
"investigator": {
"allowedLocations": [
{
"children": [
{
"__typename": "Location"
}
],
"id": 1,
"isSite": true,
"location": "string",
"parentId": 1,
"tags": [
"string"
]
}
],
"avatarUrl": "string",
"department": "string",
"email": "string",
"firstName": "string",
"groups": [
{
"createdAt": "value",
"id": "string",
"name": "string",
"users": [
{
"__typename": "User"
}
]
}
]
},
"name": "string",
"orgId": "string",
"overview": "string"
}
}
}