mutation CreateIbcProjectDraft($projectId: String!) {
createIbcProjectDraft(projectId: $projectId) {
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"
}{
"data": {
"createIbcProjectDraft": {
"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"
}
}
}createIbcProjectDraft
Creates a new draft version of an IBC project from its latest published version and returns the draft.
createIbcProjectDraft(projectId: String!): IbcProject!Arguments
Id of the IBC project to draft a new version of.
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 CreateIbcProjectDraft($projectId: String!) {
createIbcProjectDraft(projectId: $projectId) {
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"
}{
"data": {
"createIbcProjectDraft": {
"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"
}
}
}