Assign A Manifest To A Location
curl --request POST \
--url https://cloudlab.scispot.io/manifest/assign-to-location \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"hrid": "PLT000001",
"locationId": "<uuid>",
"position": "A1"
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({hrid: 'PLT000001', locationId: '<uuid>', position: 'A1'})
};
fetch('https://cloudlab.scispot.io/manifest/assign-to-location', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://cloudlab.scispot.io/manifest/assign-to-location"
payload = {
"hrid": "PLT000001",
"locationId": "<uuid>",
"position": "A1"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"success": true,
"message": "Manifest assigned to location successfully"
}{
"success": false,
"message": "Bad request"
}{
"success": false,
"message": "Invalid Authentication Token"
}{
"success": false,
"message": "Missing Authentication Token"
}{
"success": false,
"message": "Validation error"
}{
"success": false,
"message": "Operation failed"
}Manifests (Plates, Boxes, Racks) API
Assign A Manifest To A Location
Moves an assay plate (manifest) into a storage location given a location id. If the storage location is a rack, you may also specify the desired position of assignment within that rack.
Provide one of hrid or uuid. position is optional and only validated for rack destinations.
POST
https://cloudlab.scispot.io
/
manifest
/
assign-to-location
Assign A Manifest To A Location
curl --request POST \
--url https://cloudlab.scispot.io/manifest/assign-to-location \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"hrid": "PLT000001",
"locationId": "<uuid>",
"position": "A1"
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({hrid: 'PLT000001', locationId: '<uuid>', position: 'A1'})
};
fetch('https://cloudlab.scispot.io/manifest/assign-to-location', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://cloudlab.scispot.io/manifest/assign-to-location"
payload = {
"hrid": "PLT000001",
"locationId": "<uuid>",
"position": "A1"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"success": true,
"message": "Manifest assigned to location successfully"
}{
"success": false,
"message": "Bad request"
}{
"success": false,
"message": "Invalid Authentication Token"
}{
"success": false,
"message": "Missing Authentication Token"
}{
"success": false,
"message": "Validation error"
}{
"success": false,
"message": "Operation failed"
}Authorizations
Body
application/json
⌘I
