mutation EditIbcProject($project: EditIbcProjectInput!, $projectId: String!, $projectVersion: Int!) {
editIbcProject(project: $project, projectId: $projectId, projectVersion: $projectVersion) {
file
id
investigator {
allowedLocations {
children {
__typename
}
id
isSite
location
parentId
tags
}
avatarUrl
department
email
firstName
groups {
createdAt
id
name
users {
__typename
}
}
}
name
orgId
overview
}
}{
"project": {},
"projectId": "string",
"projectVersion": 1
}{
"data": {
"editIbcProject": {
"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"
}
}
}editIbcProject
Changes the status or document of one version of an IBC project and returns the version.
editIbcProject(project: EditIbcProjectInput!, projectId: String!, projectVersion: Int!): IbcProject!Arguments
The changes to apply to the version.
Id of the IBC project.
Version number of the IBC project to change.
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 EditIbcProject($project: EditIbcProjectInput!, $projectId: String!, $projectVersion: Int!) {
editIbcProject(project: $project, projectId: $projectId, projectVersion: $projectVersion) {
file
id
investigator {
allowedLocations {
children {
__typename
}
id
isSite
location
parentId
tags
}
avatarUrl
department
email
firstName
groups {
createdAt
id
name
users {
__typename
}
}
}
name
orgId
overview
}
}{
"project": {},
"projectId": "string",
"projectVersion": 1
}{
"data": {
"editIbcProject": {
"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"
}
}
}