Mutation
mutation CreateBiological($biological: BiologicalInput!) {
createBiological(biological: $biological) {
biologicalDetails {
additionalDetails {
label
value
}
batchLotId
creation
disinfection
disposal
exposurePpe {
label
value
}
}
bsl
concentration
id
inventoryNotes {
author {
allowedLocations {
__typename
}
avatarUrl
department
email
firstName
groups {
__typename
}
}
authorId
id
note
section
}
name
}
}Variables
{
"biological": {
"bsl": 1,
"name": "string",
"status": "string"
}
}Response
{
"data": {
"createBiological": {
"biologicalDetails": {
"additionalDetails": [
{
"label": "string",
"value": "string"
}
],
"batchLotId": "string",
"creation": "string",
"disinfection": "string",
"disposal": "string",
"exposurePpe": [
{
"label": "string",
"value": "string"
}
]
},
"bsl": 1,
"concentration": "string",
"id": 1,
"inventoryNotes": [
{
"author": {
"allowedLocations": [
{
"__typename": "Location"
}
],
"avatarUrl": "string",
"department": "string",
"email": "string",
"firstName": "string",
"groups": [
{
"__typename": "UserGroup"
}
]
},
"authorId": "string",
"id": 1,
"note": "string",
"section": "string"
}
],
"name": "string"
}
}
}Mutations
createBiological
Creates a biological with an empty stock entry for the organization and returns it.
MUTATION
createBiological(biological: BiologicalInput!): Biological!Arguments
biological
required
The biological to create.
Returns
biologicalDetails
Biosafety and handling details of the biological.
bsl
Int!
Biosafety level of the biological: 1 (BSL-1), 2 (BSL-2), 3 (BSL-3) or 4 (BSL-4).
concentration
String
Concentration of the biological.
id
Int!
Id of the biological.
inventoryNotes
Notes the organization has added to the biological. Empty if there are no notes.
name
String!
Name of the biological.
status
String!
One of 'Active' (Active), 'Archived' (Archived) or 'Quarantined' (Quarantined).
stocks
[Stock]
The organization's in-stock containers of the biological. Empty if there are no containers in stock.
type
String
Category of the biological, such as a cell line or a bacterial strain.
Mutation
mutation CreateBiological($biological: BiologicalInput!) {
createBiological(biological: $biological) {
biologicalDetails {
additionalDetails {
label
value
}
batchLotId
creation
disinfection
disposal
exposurePpe {
label
value
}
}
bsl
concentration
id
inventoryNotes {
author {
allowedLocations {
__typename
}
avatarUrl
department
email
firstName
groups {
__typename
}
}
authorId
id
note
section
}
name
}
}Variables
{
"biological": {
"bsl": 1,
"name": "string",
"status": "string"
}
}Response
{
"data": {
"createBiological": {
"biologicalDetails": {
"additionalDetails": [
{
"label": "string",
"value": "string"
}
],
"batchLotId": "string",
"creation": "string",
"disinfection": "string",
"disposal": "string",
"exposurePpe": [
{
"label": "string",
"value": "string"
}
]
},
"bsl": 1,
"concentration": "string",
"id": 1,
"inventoryNotes": [
{
"author": {
"allowedLocations": [
{
"__typename": "Location"
}
],
"avatarUrl": "string",
"department": "string",
"email": "string",
"firstName": "string",
"groups": [
{
"__typename": "UserGroup"
}
]
},
"authorId": "string",
"id": 1,
"note": "string",
"section": "string"
}
],
"name": "string"
}
}
}