Add a Transfer Samples step to an existing protocol
This new step uses the deck and protocol created in Create a Prep protocol.
Add step to the protocol
All of the required information to create a protocol is provided in the body of the following example.
- Mock server
http://{{your_prep_ip_address}}/api/v1/protocols/{protocolId}/step
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'http://{{your_prep_ip_address}}/api/v1/protocols/{protocolId}/step' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json-patch+json' \
-d '{
"stepType": "string",
"id": 0,
"name": "string",
"stepOrder": 0,
"makeNameUnique": true,
"disabled": true
}'Response
application/json
{ "stepType": "string", "id": 0, "name": "string", "stepOrder": 0, "disabled": true }
API call body example
{
"id": 0, "name": "transfer samples step",
"channelSelection": "twoChannel",
"tipLabwareGroupId": "{{tipGroupId}}",
"liquidType": "Aqueous",
"dispenseToWaste": false,
"newTipsEachTransfer": false,
"tipDiscardLocation": "returnToRack",
"stepType": "TransferSamplesStep",
"stepOrder": 1,
"aspirateSettings": {
"id": 0,
"transferVolume": 25,
"pipettingHeight": 2,
"offset": {
"x": 0,
"y": 0 }, "useOffset": false,
"pipettingHeightStartPoint": "fromContainerBottom",
"followLiquid": true, "mixBeforeAspirate": false,
"mixCycles": 3,
"mixHeight": 2,
"mixVolume": 1,
"enableMad": false
},
"dispenseSettings": {
"id": 0,
"transferVolume": 25,
"pipettingHeight": 5,
"pipettingHeightStartPoint": "fromContainerBottom",
"followLiquid": true,
"mixAfterDispense": false,
"mixCycles": 3,
"mixHeight": 2,
"mixVolume": 1,
"offset": {
"x": 0, "y": 0
}, "useOffset": false
},
"sources": [
{
"position": 6,
"addresses": [
{
"row": 1,
"column": 1
}, {
"row": 1,
"column": 2
}, {
"row": 1,
"column": 3
}, {
"row": 1,
"column": 4
}, {
"row": 1,
"column": 5
}, {
"row": 1,
"column": 6
}, {
"row": 2,
"column": 1
}, {
"row": 2,
"column": 2
}, {
"row": 2,
"column": 3
}, {
"row": 2,
"column": 4
}, {
"row": 2,
"column": 5
}, {
"row": 2,
"column": 6
}, {
"row": 3,
"column": 1
}, {
"row": 3,
"column": 2
}, {
"row": 3,
"column": 3
}, {
"row": 3,
"column": 4
}, {
"row": 3,
"column": 5
}, {
"row": 3,
"column": 6
}, {
"row": 4,
"column": 1
}, {
"row": 4,
"column": 2
}, {
"row": 4,
"column": 3
}, {
"row": 4,
"column": 4
}, {
"row": 4,
"column": 5
}, {
"row": 4,
"column": 6
} ] }
], "destinations": [
{ "position": 6,
"addresses": [ {
"row": 5,
"column": 1
}, {
"row": 5,
"column": 2
}, {
"row": 5,
"column": 3
}, {
"row": 5,
"column": 4
}, {
"row": 5,
"column": 5
}, {
"row": 5,
"column": 6
}, {
"row": 6,
"column": 1
}, {
"row": 6,
"column": 2
}, {
"row": 6,
"column": 3
}, {
"row": 6,
"column": 4
}, {
"row": 6,
"column": 5
}, {
"row": 6,
"column": 6
}, {
"row": 7,
"column": 1
}, {
"row": 7,
"column": 2
}, {
"row": 7,
"column": 3
}, {
"row": 7,
"column": 4
}, {
"row": 7,
"column": 5
}, {
"row": 7,
"column": 6
}, {
"row": 8,
"column": 1
}, {
"row": 8,
"column": 2
}, {
"row": 8,
"column": 3
}, {
"row": 8,
"column": 4
}, {
"row": 8,
"column": 5
}, {
"row": 8,
"column": 6
} ]
} ]
}