Download OpenAPI specification:Download
Collection API Schema
By passing in query string, user can get available collecting events authorised
| filter[rsql] | string pass an optional search string for looking up the collecting events |
| sort | string optional sort order string, such as descending, denoted by "-" |
| page[offset] | integer <int32> number of records to skip when paging |
| page[limit] | integer <int32> [ 0 .. 50 ] maximum number of records to return when paging |
[- {
- "data": {
- "id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
- "type": "collecting-event",
- "attributes": {
- "version": 0,
- "createdBy": "string",
- "createdOn": "1985-04-12T23:20:50.52Z",
- "group": "string",
- "dwcVerbatimCoordinates": "string",
- "dwcRecordedBy": "string",
- "dwcVerbatimLatitude": "string",
- "dwcVerbatimLongitude": "string",
- "dwcVerbatimCoordinateSystem": "string",
- "dwcVerbatimSRS": "string",
- "dwcVerbatimElevation": "string",
- "dwcVerbatimDepth": "string",
- "dwcFieldNumber": "string",
- "dwcRecordNumber": "string",
- "otherRecordNumbers": [
- "string"
], - "dwcCountry": "string",
- "dwcCountryCode": "string",
- "dwcStateProvince": "string",
- "dwcMinimumElevationInMeters": 15000,
- "dwcMinimumDepthInMeters": 15000,
- "dwcMaximumElevationInMeters": 15000,
- "dwcMaximumDepthInMeters": 15000,
- "habitat": "string",
- "substrate": "string",
- "remarks": "string",
- "verbatimEventDateTime": "string",
- "startEventDateTime": "string",
- "endEventDateTime": "string",
- "dwcVerbatimLocality": "string",
- "managedAttributes": {
- "property1": "string",
- "property2": "string"
}, - "publiclyReleasable": true,
- "notPubliclyReleasableReason": "string",
- "geographicPlaceNameSource": "OSM",
- "geographicPlaceNameSourceDetail": {
- "sourceUrl": "string",
- "customGeographicPlace": "string",
- "selectedGeographicPlace": {
- "id": "string",
- "element": "string",
- "placeType": "string",
- "name": "string"
}, - "higherGeographicPlaces": [
- {
- "id": "string",
- "element": "string",
- "placeType": "string",
- "name": "string"
}
], - "stateProvince": {
- "id": "string",
- "element": "string",
- "placeType": "string",
- "name": "string"
}, - "country": {
- "code": "st",
- "name": "string"
}, - "recordedOn": "2019-08-24T14:15:22Z"
}, - "geographicThesaurus": {
- "source": "TGN",
- "subjectId": "string",
- "preferredTerm": "string",
- "preferredParent": "string",
- "additionalParents": [
- "string"
]
}, - "tags": [
- "string"
], - "host": "string",
- "geoReferenceAssertions": [
- {
- "dwcDecimalLatitude": 0,
- "dwcDecimalLongitude": 0,
- "dwcCoordinateUncertaintyInMeters": 0,
- "dwcGeoreferencedDate": "2019-08-24",
- "georeferencedBy": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "literalGeoreferencedBy": "string",
- "dwcGeoreferenceProtocol": "string",
- "dwcGeoreferenceSources": "string",
- "dwcGeoreferenceRemarks": "string",
- "dwcGeodeticDatum": "string",
- "isPrimary": true,
- "dwcGeoreferenceVerificationStatus": null,
- "createdOn": "2019-08-24T14:15:22Z"
}
], - "eventGeom": { },
- "extensionValues": {
- "property1": {
- "property1": "string",
- "property2": "string"
}, - "property2": {
- "property1": "string",
- "property2": "string"
}
}
}, - "relationships": {
- "protocol": {
- "data": { }
}, - "collectors": {
- "data": [
- {
- "type": "person",
- "id": "8f68a05f-937d-4d40-88b4-ed92720d9c3f"
}
]
}, - "attachment": {
- "data": [
- {
- "type": "metadata",
- "id": "8f68a05f-937d-4d40-88b4-ed92720d9c3f"
}
]
}
}
}
}
]Adds a collecting event
CollectingEvent to add
required | object |
{- "data": {
- "type": "collecting-event",
- "attributes": {
- "group": "string",
- "dwcVerbatimCoordinates": "string",
- "dwcRecordedBy": "string",
- "dwcVerbatimLatitude": "string",
- "dwcVerbatimLongitude": "string",
- "dwcVerbatimCoordinateSystem": "string",
- "dwcVerbatimSRS": "string",
- "dwcVerbatimElevation": "string",
- "dwcVerbatimDepth": "string",
- "dwcFieldNumber": "string",
- "dwcRecordNumber": "string",
- "otherRecordNumbers": [
- "string"
], - "dwcCountry": "string",
- "dwcCountryCode": "string",
- "dwcStateProvince": "string",
- "dwcMinimumElevationInMeters": 15000,
- "dwcMinimumDepthInMeters": 15000,
- "dwcMaximumElevationInMeters": 15000,
- "dwcMaximumDepthInMeters": 15000,
- "habitat": "string",
- "substrate": "string",
- "remarks": "string",
- "verbatimEventDateTime": "string",
- "startEventDateTime": "string",
- "endEventDateTime": "string",
- "dwcVerbatimLocality": "string",
- "managedAttributes": {
- "property1": "string",
- "property2": "string"
}, - "publiclyReleasable": true,
- "notPubliclyReleasableReason": "string",
- "geographicPlaceNameSource": "OSM",
- "geographicPlaceNameSourceDetail": {
- "sourceUrl": "string",
- "customGeographicPlace": "string",
- "selectedGeographicPlace": {
- "id": "string",
- "element": "string",
- "placeType": "string",
- "name": "string"
}, - "higherGeographicPlaces": [
- {
- "id": "string",
- "element": "string",
- "placeType": "string",
- "name": "string"
}
], - "stateProvince": {
- "id": "string",
- "element": "string",
- "placeType": "string",
- "name": "string"
}, - "country": {
- "code": "st",
- "name": "string"
}, - "recordedOn": "2019-08-24T14:15:22Z"
}, - "geographicThesaurus": {
- "source": "TGN",
- "subjectId": "string",
- "preferredTerm": "string",
- "preferredParent": "string",
- "additionalParents": [
- "string"
]
}, - "tags": [
- "string"
], - "host": "string",
- "geoReferenceAssertions": [
- {
- "dwcDecimalLatitude": 0,
- "dwcDecimalLongitude": 0,
- "dwcCoordinateUncertaintyInMeters": 0,
- "dwcGeoreferencedDate": "2019-08-24",
- "georeferencedBy": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "literalGeoreferencedBy": "string",
- "dwcGeoreferenceProtocol": "string",
- "dwcGeoreferenceSources": "string",
- "dwcGeoreferenceRemarks": "string",
- "dwcGeodeticDatum": "string",
- "isPrimary": true,
- "dwcGeoreferenceVerificationStatus": null
}
], - "extensionValues": {
- "property1": {
- "property1": "string",
- "property2": "string"
}, - "property2": {
- "property1": "string",
- "property2": "string"
}
}
}, - "relationships": {
- "protocol": {
- "data": { }
}, - "collectors": {
- "data": [
- {
- "type": "person",
- "id": "8f68a05f-937d-4d40-88b4-ed92720d9c3f"
}
]
}, - "attachment": {
- "data": [
- {
- "type": "metadata",
- "id": "8f68a05f-937d-4d40-88b4-ed92720d9c3f"
}
]
}
}
}
}Returns a single collecting event
| Id required | string <uuid> ID of collecting event to return |
{- "data": {
- "id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
- "type": "collecting-event",
- "attributes": {
- "version": 0,
- "createdBy": "string",
- "createdOn": "1985-04-12T23:20:50.52Z",
- "group": "string",
- "dwcVerbatimCoordinates": "string",
- "dwcRecordedBy": "string",
- "dwcVerbatimLatitude": "string",
- "dwcVerbatimLongitude": "string",
- "dwcVerbatimCoordinateSystem": "string",
- "dwcVerbatimSRS": "string",
- "dwcVerbatimElevation": "string",
- "dwcVerbatimDepth": "string",
- "dwcFieldNumber": "string",
- "dwcRecordNumber": "string",
- "otherRecordNumbers": [
- "string"
], - "dwcCountry": "string",
- "dwcCountryCode": "string",
- "dwcStateProvince": "string",
- "dwcMinimumElevationInMeters": 15000,
- "dwcMinimumDepthInMeters": 15000,
- "dwcMaximumElevationInMeters": 15000,
- "dwcMaximumDepthInMeters": 15000,
- "habitat": "string",
- "substrate": "string",
- "remarks": "string",
- "verbatimEventDateTime": "string",
- "startEventDateTime": "string",
- "endEventDateTime": "string",
- "dwcVerbatimLocality": "string",
- "managedAttributes": {
- "property1": "string",
- "property2": "string"
}, - "publiclyReleasable": true,
- "notPubliclyReleasableReason": "string",
- "geographicPlaceNameSource": "OSM",
- "geographicPlaceNameSourceDetail": {
- "sourceUrl": "string",
- "customGeographicPlace": "string",
- "selectedGeographicPlace": {
- "id": "string",
- "element": "string",
- "placeType": "string",
- "name": "string"
}, - "higherGeographicPlaces": [
- {
- "id": "string",
- "element": "string",
- "placeType": "string",
- "name": "string"
}
], - "stateProvince": {
- "id": "string",
- "element": "string",
- "placeType": "string",
- "name": "string"
}, - "country": {
- "code": "st",
- "name": "string"
}, - "recordedOn": "2019-08-24T14:15:22Z"
}, - "geographicThesaurus": {
- "source": "TGN",
- "subjectId": "string",
- "preferredTerm": "string",
- "preferredParent": "string",
- "additionalParents": [
- "string"
]
}, - "tags": [
- "string"
], - "host": "string",
- "geoReferenceAssertions": [
- {
- "dwcDecimalLatitude": 0,
- "dwcDecimalLongitude": 0,
- "dwcCoordinateUncertaintyInMeters": 0,
- "dwcGeoreferencedDate": "2019-08-24",
- "georeferencedBy": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "literalGeoreferencedBy": "string",
- "dwcGeoreferenceProtocol": "string",
- "dwcGeoreferenceSources": "string",
- "dwcGeoreferenceRemarks": "string",
- "dwcGeodeticDatum": "string",
- "isPrimary": true,
- "dwcGeoreferenceVerificationStatus": null,
- "createdOn": "2019-08-24T14:15:22Z"
}
], - "eventGeom": { },
- "extensionValues": {
- "property1": {
- "property1": "string",
- "property2": "string"
}, - "property2": {
- "property1": "string",
- "property2": "string"
}
}
}, - "relationships": {
- "protocol": {
- "data": { }
}, - "collectors": {
- "data": [
- {
- "type": "person",
- "id": "8f68a05f-937d-4d40-88b4-ed92720d9c3f"
}
]
}, - "attachment": {
- "data": [
- {
- "type": "metadata",
- "id": "8f68a05f-937d-4d40-88b4-ed92720d9c3f"
}
]
}
}
}
}update a collecting event
| Id required | string <uuid> collecting event id to patch |
collecting event to add
required | object |
{- "data": {
- "id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
- "type": "collecting-event",
- "attributes": {
- "group": "string",
- "dwcVerbatimCoordinates": "string",
- "dwcRecordedBy": "string",
- "dwcVerbatimLatitude": "string",
- "dwcVerbatimLongitude": "string",
- "dwcVerbatimCoordinateSystem": "string",
- "dwcVerbatimSRS": "string",
- "dwcVerbatimElevation": "string",
- "dwcVerbatimDepth": "string",
- "dwcFieldNumber": "string",
- "dwcRecordNumber": "string",
- "otherRecordNumbers": [
- "string"
], - "dwcCountry": "string",
- "dwcCountryCode": "string",
- "dwcStateProvince": "string",
- "dwcMinimumElevationInMeters": 15000,
- "dwcMinimumDepthInMeters": 15000,
- "dwcMaximumElevationInMeters": 15000,
- "dwcMaximumDepthInMeters": 15000,
- "habitat": "string",
- "substrate": "string",
- "remarks": "string",
- "verbatimEventDateTime": "string",
- "startEventDateTime": "string",
- "endEventDateTime": "string",
- "dwcVerbatimLocality": "string",
- "managedAttributes": {
- "property1": "string",
- "property2": "string"
}, - "publiclyReleasable": true,
- "notPubliclyReleasableReason": "string",
- "geographicPlaceNameSource": "OSM",
- "geographicPlaceNameSourceDetail": {
- "sourceUrl": "string",
- "customGeographicPlace": "string",
- "selectedGeographicPlace": {
- "id": "string",
- "element": "string",
- "placeType": "string",
- "name": "string"
}, - "higherGeographicPlaces": [
- {
- "id": "string",
- "element": "string",
- "placeType": "string",
- "name": "string"
}
], - "stateProvince": {
- "id": "string",
- "element": "string",
- "placeType": "string",
- "name": "string"
}, - "country": {
- "code": "st",
- "name": "string"
}, - "recordedOn": "2019-08-24T14:15:22Z"
}, - "geographicThesaurus": {
- "source": "TGN",
- "subjectId": "string",
- "preferredTerm": "string",
- "preferredParent": "string",
- "additionalParents": [
- "string"
]
}, - "tags": [
- "string"
], - "host": "string",
- "geoReferenceAssertions": [
- {
- "dwcDecimalLatitude": 0,
- "dwcDecimalLongitude": 0,
- "dwcCoordinateUncertaintyInMeters": 0,
- "dwcGeoreferencedDate": "2019-08-24",
- "georeferencedBy": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "literalGeoreferencedBy": "string",
- "dwcGeoreferenceProtocol": "string",
- "dwcGeoreferenceSources": "string",
- "dwcGeoreferenceRemarks": "string",
- "dwcGeodeticDatum": "string",
- "isPrimary": true,
- "dwcGeoreferenceVerificationStatus": null
}
], - "extensionValues": {
- "property1": {
- "property1": "string",
- "property2": "string"
}, - "property2": {
- "property1": "string",
- "property2": "string"
}
}
}, - "relationships": {
- "protocol": {
- "data": { }
}, - "collectors": {
- "data": [
- {
- "type": "person",
- "id": "8f68a05f-937d-4d40-88b4-ed92720d9c3f"
}
]
}, - "attachment": {
- "data": [
- {
- "type": "metadata",
- "id": "8f68a05f-937d-4d40-88b4-ed92720d9c3f"
}
]
}
}
}
}By passing in query string, user can get available collections authorised
| filter[rsql] | string pass an optional search string for looking up the collections |
| sort | string optional sort order string, such as descending, denoted by "-" |
| page[offset] | integer <int32> number of records to skip when paging |
| page[limit] | integer <int32> [ 0 .. 50 ] maximum number of records to return when paging |
[- {
- "data": {
- "id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
- "type": "collection",
- "attributes": {
- "name": "string",
- "createdBy": "string",
- "createdOn": "1985-04-12T23:20:50.52Z",
- "group": "string",
- "code": "string",
- "contact": "string",
- "address": "string",
- "remarks": "string",
}, - "relationships": {
- "institution": {
- "data": {
- "type": "institution",
- "id": "a600f9da-fcbe-4fef-9ae3-0f131ca05e0c"
}
}, - "parentCollection": {
- "data": {
- "type": "collection",
- "id": "a600f9da-fcbe-4fef-9ae3-0f131ca05e0c"
}
}
}
}
}
]Adds a collection
Collection to add
required | object |
{- "data": {
- "type": "collection",
- "attributes": {
- "name": "string",
- "group": "string",
- "code": "string",
- "contact": "string",
- "address": "string",
- "remarks": "string",
}, - "relationships": {
- "institution": {
- "data": {
- "type": "institution",
- "id": "a600f9da-fcbe-4fef-9ae3-0f131ca05e0c"
}
}, - "parentCollection": {
- "data": {
- "type": "collection",
- "id": "a600f9da-fcbe-4fef-9ae3-0f131ca05e0c"
}
}
}
}
}Returns a single collection
| Id required | string <uuid> ID of collection to return |
{- "data": {
- "id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
- "type": "collection",
- "attributes": {
- "name": "string",
- "createdBy": "string",
- "createdOn": "1985-04-12T23:20:50.52Z",
- "group": "string",
- "code": "string",
- "contact": "string",
- "address": "string",
- "remarks": "string",
}, - "relationships": {
- "institution": {
- "data": {
- "type": "institution",
- "id": "a600f9da-fcbe-4fef-9ae3-0f131ca05e0c"
}
}, - "parentCollection": {
- "data": {
- "type": "collection",
- "id": "a600f9da-fcbe-4fef-9ae3-0f131ca05e0c"
}
}
}
}
}update a collection
| Id required | string <uuid> collection id to patch |
collection to add
required | object |
{- "data": {
- "id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
- "type": "collection",
- "attributes": {
- "name": "string",
- "group": "string",
- "code": "string",
- "contact": "string",
- "address": "string",
- "remarks": "string",
}, - "relationships": {
- "institution": {
- "data": {
- "type": "institution",
- "id": "a600f9da-fcbe-4fef-9ae3-0f131ca05e0c"
}
}, - "parentCollection": {
- "data": {
- "type": "collection",
- "id": "a600f9da-fcbe-4fef-9ae3-0f131ca05e0c"
}
}
}
}
}Generates a set of reserved ids to use when naming a Material Sample that is using a collection. The result will provide the lowest and highest ID reserved, so all the IDs between these two values have been reserved if you are generating more than one using the amount attribute.
Settings when generating sequences.
required | object |
{- "data": {
- "id": "981a9bf3-70ef-44a4-ad3e-fb1907d4d4e9",
- "type": "collection-sequence-generator",
- "attributes": {
- "amount": 1
}
}
}{- "data": {
- "id": "981a9bf3-70ef-44a4-ad3e-fb1907d4d4e9",
- "type": "collection-sequence-generator",
- "attributes": {
- "amount": 1,
- "group": "string",
- "result": {
- "lowReservedID": 0,
- "highReservedID": 0
}
}
}
}By passing in query string, user can get available collection managed attributes authorised
| filter[rsql] | string pass an optional search string for looking up the collection managed attributes |
| sort | string optional sort order string, such as descending, denoted by "-" |
| page[offset] | integer <int32> number of records to skip when paging |
| page[limit] | integer <int32> [ 0 .. 50 ] maximum number of records to return when paging |
[- {
- "data": {
- "id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
- "type": "managed-attribute",
- "attributes": {
- "name": "collectionView",
- "key": "collection_view",
- "vocabularyElementType": "STRING",
- "unit": "cm",
- "managedAttributeComponent": "COLLECTING_EVENT",
- "acceptedValues": [
- "dorsal",
- 1
], - "createdBy": "string",
- "createdOn": "1985-04-12T23:20:50.52Z",
- "group": "string",
- "multilingualDescription": {
- "descriptions": [
- {
- "lang": "string",
- "desc": "string"
}
]
}
}
}
}
]Adds a collection managed attribute
CollectionManagedAttribute to add
required | object |
{- "data": {
- "type": "managed-attribute",
- "attributes": {
- "name": "collectionView",
- "key": "collection_view",
- "vocabularyElementType": "STRING",
- "unit": "cm",
- "managedAttributeComponent": "COLLECTING_EVENT",
- "acceptedValues": [
- "dorsal",
- 1
], - "group": "string",
- "multilingualDescription": {
- "descriptions": [
- {
- "lang": "string",
- "desc": "string"
}
]
}
}
}
}Returns a single collection managed attribute
| Id required | string <uuid> ID of collection managed attribute to return |
{- "data": {
- "id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
- "type": "managed-attribute",
- "attributes": {
- "name": "collectionView",
- "key": "collection_view",
- "vocabularyElementType": "STRING",
- "unit": "cm",
- "managedAttributeComponent": "COLLECTING_EVENT",
- "acceptedValues": [
- "dorsal",
- 1
], - "createdBy": "string",
- "createdOn": "1985-04-12T23:20:50.52Z",
- "group": "string",
- "multilingualDescription": {
- "descriptions": [
- {
- "lang": "string",
- "desc": "string"
}
]
}
}
}
}update a collection managed attribute
| Id required | string <uuid> collection managed attribute id to patch |
collection managed attribute to add
required | object |
{- "data": {
- "id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
- "type": "managed-attribute",
- "attributes": {
- "name": "collectionView",
- "key": "collection_view",
- "vocabularyElementType": "STRING",
- "unit": "cm",
- "managedAttributeComponent": "COLLECTING_EVENT",
- "acceptedValues": [
- "dorsal",
- 1
], - "group": "string",
- "multilingualDescription": {
- "descriptions": [
- {
- "lang": "string",
- "desc": "string"
}
]
}
}
}
}By passing in query string, user can get available material samples authorised
| filter[rsql] | string pass an optional search string for looking up the material samples |
| sort | string optional sort order string, such as descending, denoted by "-" |
| page[offset] | integer <int32> number of records to skip when paging |
| page[limit] | integer <int32> [ 0 .. 50 ] maximum number of records to return when paging |
[- {
- "data": {
- "id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
- "type": "material-sample",
- "attributes": {
- "version": 0,
- "dwcCatalogNumber": 18,
- "materialSampleName": "XYZ-18",
- "identifiers": {
- "property1": "string",
- "property2": "string"
}, - "materialSampleType": "WHOLE_ORGANISM",
- "createdBy": "string",
- "createdOn": "1985-04-12T23:20:50.52Z",
- "barcode": "string",
- "group": "string",
- "managedAttributes": {
- "property1": "string",
- "property2": "string"
}, - "preparationManagedAttributes": {
- "property1": "string",
- "property2": "string"
}, - "dwcOtherCatalogNumbers": [
- "string"
], - "preservationType": "Freeze-Dry",
- "preparationFixative": "EtOH 95%",
- "preparationMaterials": "glass vial",
- "preparationSubstrate": "agar",
- "preparationDate": "2019-08-24",
- "preparationRemarks": "string",
- "dwcDegreeOfEstablishment": "string",
- "materialSampleState": "string",
- "stateChangedOn": "2019-08-24",
- "stateChangeRemarks": "string",
- "materialSampleRemarks": "string",
- "sourceSet": "string",
- "extensionValues": {
- "property1": {
- "property1": "string",
- "property2": "string"
}, - "property2": {
- "property1": "string",
- "property2": "string"
}
}, - "restrictionFieldsExtension": {
- "property1": {
- "property1": "string",
- "property2": "string"
}, - "property2": {
- "property1": "string",
- "property2": "string"
}
}, - "restrictionRemarks": "string",
- "isRestricted": true,
- "isBaseForSplitByType": true,
- "materialSampleChildren": [
- {
- "id": "8f68a05f-937d-4d40-88b4-ed92720d9c3f",
- "materialSampleName": "string",
- "materialSampleType": "string",
- "group": "string",
- "createdBy": "string",
- "createdOn": "1985-04-12T23:20:50.52Z",
- "dwcCatalogNumber": "string",
- "dwcOtherCatalogNumbers": [
- "string"
], - "preparationDate": "2019-08-24",
- "managedAttributes": {
- "property1": "string",
- "property2": "string"
}, - "preparationRemarks": "string",
- "dwcDegreeOfEstablishment": "string",
- "barcode": "string",
- "ordinal": 0
}
], - "associations": [
- {
- "associatedSample": "8f68a05f-937d-4d40-88b4-ed92720d9c3f",
- "remarks": "string",
- "associationType": "string"
}
], - "tags": [
- "string"
], - "publiclyReleasable": true,
- "notPubliclyReleasableReason": "string",
- "hostOrganism": {
- "name": "string",
- "remarks": "string"
}, - "scheduledActions": [
- {
- "actionType": "string",
- "date": "2019-08-24",
- "actionStatus": "string",
- "remarks": "string",
- "assignedTo": {
- "type": "user",
- "id": "a600f9da-fcbe-4fef-9ae3-0f131ca05e0c"
}
}
], - "hierarchy": [
- {
- "uuid": "d290f1ee-6c54-4b01-90e6-d701748f0851",
- "name": "string",
- "rank": 0,
- "organismPrimaryDetermination": [ ]
}
], - "targetOrganismPrimaryClassification": { },
- "targetOrganismPrimaryScientificName": "string",
- "effectiveScientificName": "string",
- "allowDuplicateName": true
}, - "relationships": {
- "collectingEvent": {
- "data": {
- "type": "collecting-event",
- "id": "a600f9da-fcbe-4fef-9ae3-0f131ca05e0c"
}
}, - "collection": {
- "data": {
- "type": "collection",
- "id": "a600f9da-fcbe-4fef-9ae3-0f131ca05e0c"
}
}, - "preparationType": {
- "data": {
- "type": "preparation-type",
- "id": "a600f9da-fcbe-4fef-9ae3-0f131ca05e0c"
}
}, - "preparationMethod": {
- "data": {
- "type": "preparation-method",
- "id": "a600f9da-fcbe-4fef-9ae3-0f131ca05e0c"
}
}, - "parentMaterialSample": {
- "data": {
- "type": "material-sample",
- "id": "a600f9da-fcbe-4fef-9ae3-0f131ca05e0c"
}
}, - "preparedBy": {
- "data": [
- {
- "type": "person",
- "id": "a600f9da-fcbe-4fef-9ae3-0f131ca05e0c"
}
]
}, - "attachment": {
- "data": [
- {
- "type": "metadata",
- "id": "8f68a05f-937d-4d40-88b4-ed92720d9c3f"
}
]
}, - "preparationProtocol": {
- "data": {
- "type": "protocol",
- "id": "8f68a05f-937d-4d40-88b4-ed92720d9c3f"
}
}, - "projects": {
- "data": [
- {
- "type": "project",
- "id": "8f68a05f-937d-4d40-88b4-ed92720d9c3f"
}
]
}, - "assemblages": {
- "data": [
- {
- "type": "assemblage",
- "id": "8f68a05f-937d-4d40-88b4-ed92720d9c3f"
}
]
}, - "organism": {
- "data": [
- {
- "type": "organism",
- "id": "4d5b4f2a-f925-49b4-b290-6f6699706c3e"
}
]
}, - "storageUnitUsage": {
- "data": {
- "type": "storage-unit-usage",
- "id": "c0915662-0bfb-4d17-96a8-39c8bd3f0731"
}
}
}
}
}
]Adds a material sample
MaterialSample to add
required | object |
{- "data": {
- "type": "material-sample",
- "attributes": {
- "dwcCatalogNumber": 18,
- "materialSampleName": "XYZ-18",
- "identifiers": {
- "property1": "string",
- "property2": "string"
}, - "materialSampleType": "WHOLE_ORGANISM",
- "barcode": "string",
- "group": "string",
- "managedAttributes": {
- "property1": "string",
- "property2": "string"
}, - "preparationManagedAttributes": {
- "property1": "string",
- "property2": "string"
}, - "dwcOtherCatalogNumbers": [
- "string"
], - "preservationType": "Freeze-Dry",
- "preparationFixative": "EtOH 95%",
- "preparationMaterials": "glass vial",
- "preparationSubstrate": "agar",
- "preparationDate": "2019-08-24",
- "preparationRemarks": "string",
- "dwcDegreeOfEstablishment": "string",
- "materialSampleState": "string",
- "stateChangedOn": "2019-08-24",
- "stateChangeRemarks": "string",
- "materialSampleRemarks": "string",
- "sourceSet": "string",
- "extensionValues": {
- "property1": {
- "property1": "string",
- "property2": "string"
}, - "property2": {
- "property1": "string",
- "property2": "string"
}
}, - "restrictionFieldsExtension": {
- "property1": {
- "property1": "string",
- "property2": "string"
}, - "property2": {
- "property1": "string",
- "property2": "string"
}
}, - "restrictionRemarks": "string",
- "isRestricted": true,
- "isBaseForSplitByType": true,
- "materialSampleChildren": [
- {
- "id": "8f68a05f-937d-4d40-88b4-ed92720d9c3f",
- "materialSampleName": "string",
- "materialSampleType": "string",
- "group": "string",
- "dwcCatalogNumber": "string",
- "dwcOtherCatalogNumbers": [
- "string"
], - "preparationDate": "2019-08-24",
- "managedAttributes": {
- "property1": "string",
- "property2": "string"
}, - "preparationRemarks": "string",
- "dwcDegreeOfEstablishment": "string",
- "barcode": "string"
}
], - "associations": [
- {
- "associatedSample": "8f68a05f-937d-4d40-88b4-ed92720d9c3f",
- "remarks": "string",
- "associationType": "string"
}
], - "tags": [
- "string"
], - "publiclyReleasable": true,
- "notPubliclyReleasableReason": "string",
- "hostOrganism": {
- "name": "string",
- "remarks": "string"
}, - "scheduledActions": [
- {
- "actionType": "string",
- "date": "2019-08-24",
- "actionStatus": "string",
- "remarks": "string",
- "assignedTo": {
- "type": "user",
- "id": "a600f9da-fcbe-4fef-9ae3-0f131ca05e0c"
}
}
], - "allowDuplicateName": true
}, - "relationships": {
- "collectingEvent": {
- "data": {
- "type": "collecting-event",
- "id": "a600f9da-fcbe-4fef-9ae3-0f131ca05e0c"
}
}, - "collection": {
- "data": {
- "type": "collection",
- "id": "a600f9da-fcbe-4fef-9ae3-0f131ca05e0c"
}
}, - "preparationType": {
- "data": {
- "type": "preparation-type",
- "id": "a600f9da-fcbe-4fef-9ae3-0f131ca05e0c"
}
}, - "preparationMethod": {
- "data": {
- "type": "preparation-method",
- "id": "a600f9da-fcbe-4fef-9ae3-0f131ca05e0c"
}
}, - "parentMaterialSample": {
- "data": {
- "type": "material-sample",
- "id": "a600f9da-fcbe-4fef-9ae3-0f131ca05e0c"
}
}, - "preparedBy": {
- "data": [
- {
- "type": "person",
- "id": "a600f9da-fcbe-4fef-9ae3-0f131ca05e0c"
}
]
}, - "attachment": {
- "data": [
- {
- "type": "metadata",
- "id": "8f68a05f-937d-4d40-88b4-ed92720d9c3f"
}
]
}, - "preparationProtocol": {
- "data": {
- "type": "protocol",
- "id": "8f68a05f-937d-4d40-88b4-ed92720d9c3f"
}
}, - "projects": {
- "data": [
- {
- "type": "project",
- "id": "8f68a05f-937d-4d40-88b4-ed92720d9c3f"
}
]
}, - "assemblages": {
- "data": [
- {
- "type": "assemblage",
- "id": "8f68a05f-937d-4d40-88b4-ed92720d9c3f"
}
]
}, - "organism": {
- "data": [
- {
- "type": "organism",
- "id": "4d5b4f2a-f925-49b4-b290-6f6699706c3e"
}
]
}, - "storageUnitUsage": {
- "data": {
- "type": "storage-unit-usage",
- "id": "c0915662-0bfb-4d17-96a8-39c8bd3f0731"
}
}
}
}
}Returns a single material sample
| Id required | string <uuid> ID of material sample to return |
{- "data": {
- "id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
- "type": "material-sample",
- "attributes": {
- "version": 0,
- "dwcCatalogNumber": 18,
- "materialSampleName": "XYZ-18",
- "identifiers": {
- "property1": "string",
- "property2": "string"
}, - "materialSampleType": "WHOLE_ORGANISM",
- "createdBy": "string",
- "createdOn": "1985-04-12T23:20:50.52Z",
- "barcode": "string",
- "group": "string",
- "managedAttributes": {
- "property1": "string",
- "property2": "string"
}, - "preparationManagedAttributes": {
- "property1": "string",
- "property2": "string"
}, - "dwcOtherCatalogNumbers": [
- "string"
], - "preservationType": "Freeze-Dry",
- "preparationFixative": "EtOH 95%",
- "preparationMaterials": "glass vial",
- "preparationSubstrate": "agar",
- "preparationDate": "2019-08-24",
- "preparationRemarks": "string",
- "dwcDegreeOfEstablishment": "string",
- "materialSampleState": "string",
- "stateChangedOn": "2019-08-24",
- "stateChangeRemarks": "string",
- "materialSampleRemarks": "string",
- "sourceSet": "string",
- "extensionValues": {
- "property1": {
- "property1": "string",
- "property2": "string"
}, - "property2": {
- "property1": "string",
- "property2": "string"
}
}, - "restrictionFieldsExtension": {
- "property1": {
- "property1": "string",
- "property2": "string"
}, - "property2": {
- "property1": "string",
- "property2": "string"
}
}, - "restrictionRemarks": "string",
- "isRestricted": true,
- "isBaseForSplitByType": true,
- "materialSampleChildren": [
- {
- "id": "8f68a05f-937d-4d40-88b4-ed92720d9c3f",
- "materialSampleName": "string",
- "materialSampleType": "string",
- "group": "string",
- "createdBy": "string",
- "createdOn": "1985-04-12T23:20:50.52Z",
- "dwcCatalogNumber": "string",
- "dwcOtherCatalogNumbers": [
- "string"
], - "preparationDate": "2019-08-24",
- "managedAttributes": {
- "property1": "string",
- "property2": "string"
}, - "preparationRemarks": "string",
- "dwcDegreeOfEstablishment": "string",
- "barcode": "string",
- "ordinal": 0
}
], - "associations": [
- {
- "associatedSample": "8f68a05f-937d-4d40-88b4-ed92720d9c3f",
- "remarks": "string",
- "associationType": "string"
}
], - "tags": [
- "string"
], - "publiclyReleasable": true,
- "notPubliclyReleasableReason": "string",
- "hostOrganism": {
- "name": "string",
- "remarks": "string"
}, - "scheduledActions": [
- {
- "actionType": "string",
- "date": "2019-08-24",
- "actionStatus": "string",
- "remarks": "string",
- "assignedTo": {
- "type": "user",
- "id": "a600f9da-fcbe-4fef-9ae3-0f131ca05e0c"
}
}
], - "hierarchy": [
- {
- "uuid": "d290f1ee-6c54-4b01-90e6-d701748f0851",
- "name": "string",
- "rank": 0,
- "organismPrimaryDetermination": [ ]
}
], - "targetOrganismPrimaryClassification": { },
- "targetOrganismPrimaryScientificName": "string",
- "effectiveScientificName": "string",
- "allowDuplicateName": true
}, - "relationships": {
- "collectingEvent": {
- "data": {
- "type": "collecting-event",
- "id": "a600f9da-fcbe-4fef-9ae3-0f131ca05e0c"
}
}, - "collection": {
- "data": {
- "type": "collection",
- "id": "a600f9da-fcbe-4fef-9ae3-0f131ca05e0c"
}
}, - "preparationType": {
- "data": {
- "type": "preparation-type",
- "id": "a600f9da-fcbe-4fef-9ae3-0f131ca05e0c"
}
}, - "preparationMethod": {
- "data": {
- "type": "preparation-method",
- "id": "a600f9da-fcbe-4fef-9ae3-0f131ca05e0c"
}
}, - "parentMaterialSample": {
- "data": {
- "type": "material-sample",
- "id": "a600f9da-fcbe-4fef-9ae3-0f131ca05e0c"
}
}, - "preparedBy": {
- "data": [
- {
- "type": "person",
- "id": "a600f9da-fcbe-4fef-9ae3-0f131ca05e0c"
}
]
}, - "attachment": {
- "data": [
- {
- "type": "metadata",
- "id": "8f68a05f-937d-4d40-88b4-ed92720d9c3f"
}
]
}, - "preparationProtocol": {
- "data": {
- "type": "protocol",
- "id": "8f68a05f-937d-4d40-88b4-ed92720d9c3f"
}
}, - "projects": {
- "data": [
- {
- "type": "project",
- "id": "8f68a05f-937d-4d40-88b4-ed92720d9c3f"
}
]
}, - "assemblages": {
- "data": [
- {
- "type": "assemblage",
- "id": "8f68a05f-937d-4d40-88b4-ed92720d9c3f"
}
]
}, - "organism": {
- "data": [
- {
- "type": "organism",
- "id": "4d5b4f2a-f925-49b4-b290-6f6699706c3e"
}
]
}, - "storageUnitUsage": {
- "data": {
- "type": "storage-unit-usage",
- "id": "c0915662-0bfb-4d17-96a8-39c8bd3f0731"
}
}
}
}
}update a material sample
| Id required | string <uuid> material sample id to patch |
material sample to add
required | object |
{- "data": {
- "id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
- "type": "material-sample",
- "attributes": {
- "dwcCatalogNumber": 18,
- "materialSampleName": "XYZ-18",
- "identifiers": {
- "property1": "string",
- "property2": "string"
}, - "materialSampleType": "WHOLE_ORGANISM",
- "barcode": "string",
- "group": "string",
- "managedAttributes": {
- "property1": "string",
- "property2": "string"
}, - "preparationManagedAttributes": {
- "property1": "string",
- "property2": "string"
}, - "dwcOtherCatalogNumbers": [
- "string"
], - "preservationType": "Freeze-Dry",
- "preparationFixative": "EtOH 95%",
- "preparationMaterials": "glass vial",
- "preparationSubstrate": "agar",
- "preparationDate": "2019-08-24",
- "preparationRemarks": "string",
- "dwcDegreeOfEstablishment": "string",
- "materialSampleState": "string",
- "stateChangedOn": "2019-08-24",
- "stateChangeRemarks": "string",
- "materialSampleRemarks": "string",
- "sourceSet": "string",
- "extensionValues": {
- "property1": {
- "property1": "string",
- "property2": "string"
}, - "property2": {
- "property1": "string",
- "property2": "string"
}
}, - "restrictionFieldsExtension": {
- "property1": {
- "property1": "string",
- "property2": "string"
}, - "property2": {
- "property1": "string",
- "property2": "string"
}
}, - "restrictionRemarks": "string",
- "isRestricted": true,
- "isBaseForSplitByType": true,
- "materialSampleChildren": [
- {
- "id": "8f68a05f-937d-4d40-88b4-ed92720d9c3f",
- "materialSampleName": "string",
- "materialSampleType": "string",
- "group": "string",
- "dwcCatalogNumber": "string",
- "dwcOtherCatalogNumbers": [
- "string"
], - "preparationDate": "2019-08-24",
- "managedAttributes": {
- "property1": "string",
- "property2": "string"
}, - "preparationRemarks": "string",
- "dwcDegreeOfEstablishment": "string",
- "barcode": "string"
}
], - "associations": [
- {
- "associatedSample": "8f68a05f-937d-4d40-88b4-ed92720d9c3f",
- "remarks": "string",
- "associationType": "string"
}
], - "tags": [
- "string"
], - "publiclyReleasable": true,
- "notPubliclyReleasableReason": "string",
- "hostOrganism": {
- "name": "string",
- "remarks": "string"
}, - "scheduledActions": [
- {
- "actionType": "string",
- "date": "2019-08-24",
- "actionStatus": "string",
- "remarks": "string",
- "assignedTo": {
- "type": "user",
- "id": "a600f9da-fcbe-4fef-9ae3-0f131ca05e0c"
}
}
], - "allowDuplicateName": true
}, - "relationships": {
- "collectingEvent": {
- "data": {
- "type": "collecting-event",
- "id": "a600f9da-fcbe-4fef-9ae3-0f131ca05e0c"
}
}, - "collection": {
- "data": {
- "type": "collection",
- "id": "a600f9da-fcbe-4fef-9ae3-0f131ca05e0c"
}
}, - "preparationType": {
- "data": {
- "type": "preparation-type",
- "id": "a600f9da-fcbe-4fef-9ae3-0f131ca05e0c"
}
}, - "preparationMethod": {
- "data": {
- "type": "preparation-method",
- "id": "a600f9da-fcbe-4fef-9ae3-0f131ca05e0c"
}
}, - "parentMaterialSample": {
- "data": {
- "type": "material-sample",
- "id": "a600f9da-fcbe-4fef-9ae3-0f131ca05e0c"
}
}, - "preparedBy": {
- "data": [
- {
- "type": "person",
- "id": "a600f9da-fcbe-4fef-9ae3-0f131ca05e0c"
}
]
}, - "attachment": {
- "data": [
- {
- "type": "metadata",
- "id": "8f68a05f-937d-4d40-88b4-ed92720d9c3f"
}
]
}, - "preparationProtocol": {
- "data": {
- "type": "protocol",
- "id": "8f68a05f-937d-4d40-88b4-ed92720d9c3f"
}
}, - "projects": {
- "data": [
- {
- "type": "project",
- "id": "8f68a05f-937d-4d40-88b4-ed92720d9c3f"
}
]
}, - "assemblages": {
- "data": [
- {
- "type": "assemblage",
- "id": "8f68a05f-937d-4d40-88b4-ed92720d9c3f"
}
]
}, - "organism": {
- "data": [
- {
- "type": "organism",
- "id": "4d5b4f2a-f925-49b4-b290-6f6699706c3e"
}
]
}, - "storageUnitUsage": {
- "data": {
- "type": "storage-unit-usage",
- "id": "c0915662-0bfb-4d17-96a8-39c8bd3f0731"
}
}
}
}
}By passing in query string, user can get available preparation types authorised
| filter[rsql] | string pass an optional search string for looking up the preparation types |
| sort | string optional sort order string, such as descending, denoted by "-" |
| page[offset] | integer <int32> number of records to skip when paging |
| page[limit] | integer <int32> [ 0 .. 50 ] maximum number of records to return when paging |
[- {
- "data": {
- "id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
- "type": "preparation-type",
- "attributes": {
- "name": "string",
- "createdBy": "string",
- "createdOn": "1985-04-12T23:20:50.52Z",
- "group": "string",
- "multilingualDescription": {
- "descriptions": [
- {
- "lang": "string",
- "desc": "string"
}
]
}
}
}
}
]Adds a preparation type
PreparationType to add
required | object |
{- "data": {
- "type": "preparation-type",
- "attributes": {
- "name": "string",
- "group": "string",
- "multilingualDescription": {
- "descriptions": [
- {
- "lang": "string",
- "desc": "string"
}
]
}
}
}
}Returns a single preparation type
| Id required | string <uuid> ID of preparation type to return |
{- "data": {
- "id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
- "type": "preparation-type",
- "attributes": {
- "name": "string",
- "createdBy": "string",
- "createdOn": "1985-04-12T23:20:50.52Z",
- "group": "string",
- "multilingualDescription": {
- "descriptions": [
- {
- "lang": "string",
- "desc": "string"
}
]
}
}
}
}update a preparation type
| Id required | string <uuid> preparation type id to patch |
preparation type to add
required | object |
{- "data": {
- "id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
- "type": "preparation-type",
- "attributes": {
- "name": "string",
- "group": "string",
- "multilingualDescription": {
- "descriptions": [
- {
- "lang": "string",
- "desc": "string"
}
]
}
}
}
}By passing in query string, user can get available preparation methods authorized
| filter[rsql] | string pass an optional search string for looking up the preparation methods |
| sort | string optional sort order string, such as descending, denoted by "-" |
| page[offset] | integer <int32> number of records to skip when paging |
| page[limit] | integer <int32> [ 0 .. 50 ] maximum number of records to return when paging |
[- {
- "data": {
- "id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
- "type": "preparation-method",
- "attributes": {
- "name": "string",
- "createdBy": "string",
- "createdOn": "1985-04-12T23:20:50.52Z",
- "group": "string",
- "multilingualDescription": {
- "descriptions": [
- {
- "lang": "string",
- "desc": "string"
}
]
}
}
}
}
]Adds a preparation method
PreparationMethod to add
required | object |
{- "data": {
- "type": "preparation-method",
- "attributes": {
- "name": "string",
- "group": "string",
- "multilingualDescription": {
- "descriptions": [
- {
- "lang": "string",
- "desc": "string"
}
]
}
}
}
}Returns a single preparation method
| Id required | string <uuid> ID of preparation method to return |
{- "data": {
- "id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
- "type": "preparation-method",
- "attributes": {
- "name": "string",
- "createdBy": "string",
- "createdOn": "1985-04-12T23:20:50.52Z",
- "group": "string",
- "multilingualDescription": {
- "descriptions": [
- {
- "lang": "string",
- "desc": "string"
}
]
}
}
}
}update a preparation method
| Id required | string <uuid> preparation method id to patch |
preparation method to add
required | object |
{- "data": {
- "id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
- "type": "preparation-method",
- "attributes": {
- "name": "string",
- "group": "string",
- "multilingualDescription": {
- "descriptions": [
- {
- "lang": "string",
- "desc": "string"
}
]
}
}
}
}By passing in query string, user can get available institutions authorised
| filter[rsql] | string pass an optional search string for looking up the institutions |
| sort | string optional sort order string, such as descending, denoted by "-" |
| page[offset] | integer <int32> number of records to skip when paging |
| page[limit] | integer <int32> [ 0 .. 50 ] maximum number of records to return when paging |
[- {
- "data": {
- "id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
- "type": "institution",
- "attributes": {
- "name": "string",
- "createdBy": "string",
- "createdOn": "1985-04-12T23:20:50.52Z",
- "multilingualDescription": {
- "descriptions": [
- {
- "lang": "string",
- "desc": "string"
}
]
}, - "address": "string",
- "remarks": "string",
}
}
}
]Adds a institution
Institution to add
required | object |
{- "data": {
- "type": "institution",
- "attributes": {
- "name": "string",
- "multilingualDescription": {
- "descriptions": [
- {
- "lang": "string",
- "desc": "string"
}
]
}, - "address": "string",
- "remarks": "string",
}
}
}Returns a single institution
| Id required | string <uuid> ID of institution to return |
{- "data": {
- "id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
- "type": "institution",
- "attributes": {
- "name": "string",
- "createdBy": "string",
- "createdOn": "1985-04-12T23:20:50.52Z",
- "multilingualDescription": {
- "descriptions": [
- {
- "lang": "string",
- "desc": "string"
}
]
}, - "address": "string",
- "remarks": "string",
}
}
}update a institution
| Id required | string <uuid> institution id to patch |
institution to add
required | object |
{- "data": {
- "id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
- "type": "institution",
- "attributes": {
- "name": "string",
- "multilingualDescription": {
- "descriptions": [
- {
- "lang": "string",
- "desc": "string"
}
]
}, - "address": "string",
- "remarks": "string",
}
}
}By passing in query string, user can get available storage unit types authorised
| filter[rsql] | string pass an optional search string for looking up the storage unit types |
| sort | string optional sort order string, such as descending, denoted by "-" |
| page[offset] | integer <int32> number of records to skip when paging |
| page[limit] | integer <int32> [ 0 .. 50 ] maximum number of records to return when paging |
[- {
- "data": {
- "id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
- "type": "storage-unit-type",
- "attributes": {
- "name": "string",
- "createdBy": "string",
- "createdOn": "1985-04-12T23:20:50.52Z",
- "group": "string",
- "isInseperable": true,
- "gridLayoutDefinition": {
- "numberOfRows": 1,
- "numberOfColumns": 1,
- "fillDirection": "BY_ROW"
}
}
}
}
]Adds a storage unit type
StorageUnitType to add
required | object |
{- "data": {
- "type": "storage-unit-type",
- "attributes": {
- "name": "string",
- "group": "string",
- "isInseperable": true,
- "gridLayoutDefinition": {
- "numberOfRows": 1,
- "numberOfColumns": 1,
- "fillDirection": "BY_ROW"
}
}
}
}Returns a single storage unit type
| Id required | string <uuid> ID of storage unit type to return |
{- "data": {
- "id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
- "type": "storage-unit-type",
- "attributes": {
- "name": "string",
- "createdBy": "string",
- "createdOn": "1985-04-12T23:20:50.52Z",
- "group": "string",
- "isInseperable": true,
- "gridLayoutDefinition": {
- "numberOfRows": 1,
- "numberOfColumns": 1,
- "fillDirection": "BY_ROW"
}
}
}
}update a storage unit type
| Id required | string <uuid> storage unit type id to patch |
storage unit type to add
required | object |
{- "data": {
- "id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
- "type": "storage-unit-type",
- "attributes": {
- "name": "string",
- "group": "string",
- "isInseperable": true,
- "gridLayoutDefinition": {
- "numberOfRows": 1,
- "numberOfColumns": 1,
- "fillDirection": "BY_ROW"
}
}
}
}By passing in query string, user can get available projects authorised
| filter[rsql] | string pass an optional search string for looking up the projects |
| sort | string optional sort order string, such as descending, denoted by "-" |
| page[offset] | integer <int32> number of records to skip when paging |
| page[limit] | integer <int32> [ 0 .. 50 ] maximum number of records to return when paging |
[- {
- "data": {
- "id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
- "type": "project",
- "attributes": {
- "name": "string",
- "createdBy": "string",
- "createdOn": "1985-04-12T23:20:50.52Z",
- "group": "string",
- "startDate": "2019-08-24",
- "endDate": "2019-08-24",
- "status": "string",
- "multilingualDescription": {
- "descriptions": [
- {
- "lang": "string",
- "desc": "string"
}
]
}, - "contributors": [
- {
- "agent": "6d59d480-e90a-459c-9eb4-b0c97a2cb4c6",
- "roles": [
- "project_leader"
], - "remarks": "string"
}
], - "extensionValues": {
- "property1": {
- "property1": "string",
- "property2": "string"
}, - "property2": {
- "property1": "string",
- "property2": "string"
}
}
}, - "relationships": {
- "attachment": {
- "data": [
- {
- "type": "metadata",
- "id": "8f68a05f-937d-4d40-88b4-ed92720d9c3f"
}
]
}
}
}
}
]Adds a project
Project to add
required | object |
{- "data": {
- "type": "project",
- "attributes": {
- "name": "string",
- "group": "string",
- "startDate": "2019-08-24",
- "endDate": "2019-08-24",
- "status": "string",
- "multilingualDescription": {
- "descriptions": [
- {
- "lang": "string",
- "desc": "string"
}
]
}, - "contributors": [
- {
- "agent": "6d59d480-e90a-459c-9eb4-b0c97a2cb4c6",
- "roles": [
- "project_leader"
], - "remarks": "string"
}
], - "extensionValues": {
- "property1": {
- "property1": "string",
- "property2": "string"
}, - "property2": {
- "property1": "string",
- "property2": "string"
}
}
}, - "relationships": {
- "attachment": {
- "data": [
- {
- "type": "metadata",
- "id": "8f68a05f-937d-4d40-88b4-ed92720d9c3f"
}
]
}
}
}
}Returns a single project
| Id required | string <uuid> ID of project to return |
{- "data": {
- "id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
- "type": "project",
- "attributes": {
- "name": "string",
- "createdBy": "string",
- "createdOn": "1985-04-12T23:20:50.52Z",
- "group": "string",
- "startDate": "2019-08-24",
- "endDate": "2019-08-24",
- "status": "string",
- "multilingualDescription": {
- "descriptions": [
- {
- "lang": "string",
- "desc": "string"
}
]
}, - "contributors": [
- {
- "agent": "6d59d480-e90a-459c-9eb4-b0c97a2cb4c6",
- "roles": [
- "project_leader"
], - "remarks": "string"
}
], - "extensionValues": {
- "property1": {
- "property1": "string",
- "property2": "string"
}, - "property2": {
- "property1": "string",
- "property2": "string"
}
}
}, - "relationships": {
- "attachment": {
- "data": [
- {
- "type": "metadata",
- "id": "8f68a05f-937d-4d40-88b4-ed92720d9c3f"
}
]
}
}
}
}update a project
| Id required | string <uuid> project id to patch |
project to add
required | object |
{- "data": {
- "id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
- "type": "project",
- "attributes": {
- "name": "string",
- "group": "string",
- "startDate": "2019-08-24",
- "endDate": "2019-08-24",
- "status": "string",
- "multilingualDescription": {
- "descriptions": [
- {
- "lang": "string",
- "desc": "string"
}
]
}, - "contributors": [
- {
- "agent": "6d59d480-e90a-459c-9eb4-b0c97a2cb4c6",
- "roles": [
- "project_leader"
], - "remarks": "string"
}
], - "extensionValues": {
- "property1": {
- "property1": "string",
- "property2": "string"
}, - "property2": {
- "property1": "string",
- "property2": "string"
}
}
}, - "relationships": {
- "attachment": {
- "data": [
- {
- "type": "metadata",
- "id": "8f68a05f-937d-4d40-88b4-ed92720d9c3f"
}
]
}
}
}
}By passing in query string, user can get available assemblages authorised
| filter[rsql] | string pass an optional search string for looking up the assemblages |
| sort | string optional sort order string, such as descending, denoted by "-" |
| page[offset] | integer <int32> number of records to skip when paging |
| page[limit] | integer <int32> [ 0 .. 50 ] maximum number of records to return when paging |
[- {
- "data": {
- "id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
- "type": "assemblage",
- "attributes": {
- "name": "string",
- "createdBy": "string",
- "createdOn": "1985-04-12T23:20:50.52Z",
- "group": "string",
- "managedAttributes": {
- "property1": "string",
- "property2": "string"
}, - "multilingualTitle": {
- "titles": [
- {
- "lang": "string",
- "title": "string"
}
]
}, - "multilingualDescription": {
- "descriptions": [
- {
- "lang": "string",
- "desc": "string"
}
]
}
}, - "relationships": {
- "attachment": {
- "data": [
- {
- "type": "metadata",
- "id": "8f68a05f-937d-4d40-88b4-ed92720d9c3f"
}
]
}
}
}
}
]Adds a assemblage
Assemblage to add
required | object |
{- "data": {
- "type": "assemblage",
- "attributes": {
- "name": "string",
- "group": "string",
- "managedAttributes": {
- "property1": "string",
- "property2": "string"
}, - "multilingualTitle": {
- "titles": [
- {
- "lang": "string",
- "title": "string"
}
]
}, - "multilingualDescription": {
- "descriptions": [
- {
- "lang": "string",
- "desc": "string"
}
]
}
}, - "relationships": {
- "attachment": {
- "data": [
- {
- "type": "metadata",
- "id": "8f68a05f-937d-4d40-88b4-ed92720d9c3f"
}
]
}
}
}
}Returns a single assemblage
| Id required | string <uuid> ID of assemblage to return |
{- "data": {
- "id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
- "type": "assemblage",
- "attributes": {
- "name": "string",
- "createdBy": "string",
- "createdOn": "1985-04-12T23:20:50.52Z",
- "group": "string",
- "managedAttributes": {
- "property1": "string",
- "property2": "string"
}, - "multilingualTitle": {
- "titles": [
- {
- "lang": "string",
- "title": "string"
}
]
}, - "multilingualDescription": {
- "descriptions": [
- {
- "lang": "string",
- "desc": "string"
}
]
}
}, - "relationships": {
- "attachment": {
- "data": [
- {
- "type": "metadata",
- "id": "8f68a05f-937d-4d40-88b4-ed92720d9c3f"
}
]
}
}
}
}update a assemblage
| Id required | string <uuid> Assemblage id to patch |
Assemblage to add
required | object |
{- "data": {
- "id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
- "type": "assemblage",
- "attributes": {
- "name": "string",
- "group": "string",
- "managedAttributes": {
- "property1": "string",
- "property2": "string"
}, - "multilingualTitle": {
- "titles": [
- {
- "lang": "string",
- "title": "string"
}
]
}, - "multilingualDescription": {
- "descriptions": [
- {
- "lang": "string",
- "desc": "string"
}
]
}
}, - "relationships": {
- "attachment": {
- "data": [
- {
- "type": "metadata",
- "id": "8f68a05f-937d-4d40-88b4-ed92720d9c3f"
}
]
}
}
}
}By passing in query string, user can get Form Template authorized
| sort | string optional sort order string, such as descending, denoted by "-" |
| page[offset] | integer <int32> number of records to skip when paging |
| page[limit] | integer <int32> [ 0 .. 50 ] maximum number of records to return when paging |
[- {
- "data": {
- "id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
- "type": "form-template",
- "attributes": {
- "name": "string",
- "group": "string",
- "restrictToCreatedBy": true,
- "viewConfiguration": { },
- "components": [
- { }
], - "createdBy": "string",
- "createdOn": "1985-04-12T23:20:50.52Z"
}
}
}
]Adds a Form Template
Form Template to add
required | object |
{- "data": {
- "type": "form-template",
- "attributes": {
- "name": "string",
- "group": "string",
- "restrictToCreatedBy": true,
- "viewConfiguration": { },
- "components": [
- { }
]
}
}
}Returns a single Form Template
| Id required | string <uuid> ID of the Form Template to return |
{- "data": {
- "id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
- "type": "form-template",
- "attributes": {
- "name": "string",
- "group": "string",
- "restrictToCreatedBy": true,
- "viewConfiguration": { },
- "components": [
- { }
], - "createdBy": "string",
- "createdOn": "1985-04-12T23:20:50.52Z"
}
}
}Update a Form Template
| Id required | string <uuid> Form Template id to patch |
Form Template to add
required | object |
{- "data": {
- "id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
- "type": "form-template",
- "attributes": {
- "name": "string",
- "group": "string",
- "restrictToCreatedBy": true,
- "viewConfiguration": { },
- "components": [
- { }
]
}
}
}By passing in query string, user can get available organisms authorised
| filter[rsql] | string pass an optional search string for looking up the organisms |
| sort | string optional sort order string, such as descending, denoted by "-" |
| page[offset] | integer <int32> number of records to skip when paging |
| page[limit] | integer <int32> [ 0 .. 50 ] maximum number of records to return when paging |
[- {
- "data": {
- "id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
- "type": "organism",
- "attributes": {
- "createdBy": "string",
- "createdOn": "1985-04-12T23:20:50.52Z",
- "group": "string",
- "isTarget": true,
- "managedAttributes": {
- "property1": "string",
- "property2": "string"
}, - "lifeStage": "string",
- "sex": "string",
- "remarks": "string",
- "dwcVernacularName": "string",
- "determination": [
- {
- "verbatimScientificName": "string",
- "verbatimDeterminer": "string",
- "verbatimDate": "string",
- "scientificName": "string",
- "transcriberRemarks": "string",
- "verbatimRemarks": "string",
- "determinationRemarks": "string",
- "typeStatus": "string",
- "typeStatusEvidence": "string",
- "determiner": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "determinedOn": "2019-08-24",
- "qualifier": "string",
- "scientificNameSource": null,
- "scientificNameDetails": {
- "classificationPath": "string",
- "classificationRanks": "string",
- "labelHtml": "string",
- "recordedOn": "2019-08-24",
- "currentName": "string",
- "isSynonym": true
}, - "isPrimary": true,
- "isFiledAs": true,
- "managedAttributes": {
- "property1": "string",
- "property2": "string"
}
}
]
}
}
}
]Adds a organism
Organism to add
required | object |
{- "data": {
- "type": "organism",
- "attributes": {
- "group": "string",
- "isTarget": true,
- "managedAttributes": {
- "property1": "string",
- "property2": "string"
}, - "lifeStage": "string",
- "sex": "string",
- "remarks": "string",
- "dwcVernacularName": "string",
- "determination": [
- {
- "verbatimScientificName": "string",
- "verbatimDeterminer": "string",
- "verbatimDate": "string",
- "scientificName": "string",
- "transcriberRemarks": "string",
- "verbatimRemarks": "string",
- "determinationRemarks": "string",
- "typeStatus": "string",
- "typeStatusEvidence": "string",
- "determiner": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "determinedOn": "2019-08-24",
- "qualifier": "string",
- "scientificNameSource": null,
- "scientificNameDetails": {
- "classificationPath": "string",
- "classificationRanks": "string",
- "labelHtml": "string",
- "recordedOn": "2019-08-24",
- "currentName": "string",
- "isSynonym": true
}, - "isPrimary": true,
- "isFiledAs": true,
- "managedAttributes": {
- "property1": "string",
- "property2": "string"
}
}
]
}
}
}Returns a single organism
| Id required | string <uuid> ID of organism to return |
{- "data": {
- "id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
- "type": "organism",
- "attributes": {
- "createdBy": "string",
- "createdOn": "1985-04-12T23:20:50.52Z",
- "group": "string",
- "isTarget": true,
- "managedAttributes": {
- "property1": "string",
- "property2": "string"
}, - "lifeStage": "string",
- "sex": "string",
- "remarks": "string",
- "dwcVernacularName": "string",
- "determination": [
- {
- "verbatimScientificName": "string",
- "verbatimDeterminer": "string",
- "verbatimDate": "string",
- "scientificName": "string",
- "transcriberRemarks": "string",
- "verbatimRemarks": "string",
- "determinationRemarks": "string",
- "typeStatus": "string",
- "typeStatusEvidence": "string",
- "determiner": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "determinedOn": "2019-08-24",
- "qualifier": "string",
- "scientificNameSource": null,
- "scientificNameDetails": {
- "classificationPath": "string",
- "classificationRanks": "string",
- "labelHtml": "string",
- "recordedOn": "2019-08-24",
- "currentName": "string",
- "isSynonym": true
}, - "isPrimary": true,
- "isFiledAs": true,
- "managedAttributes": {
- "property1": "string",
- "property2": "string"
}
}
]
}
}
}update a organism
| Id required | string <uuid> organism id to patch |
organism to add
required | object |
{- "data": {
- "id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
- "type": "organism",
- "attributes": {
- "group": "string",
- "isTarget": true,
- "managedAttributes": {
- "property1": "string",
- "property2": "string"
}, - "lifeStage": "string",
- "sex": "string",
- "remarks": "string",
- "dwcVernacularName": "string",
- "determination": [
- {
- "verbatimScientificName": "string",
- "verbatimDeterminer": "string",
- "verbatimDate": "string",
- "scientificName": "string",
- "transcriberRemarks": "string",
- "verbatimRemarks": "string",
- "determinationRemarks": "string",
- "typeStatus": "string",
- "typeStatusEvidence": "string",
- "determiner": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "determinedOn": "2019-08-24",
- "qualifier": "string",
- "scientificNameSource": null,
- "scientificNameDetails": {
- "classificationPath": "string",
- "classificationRanks": "string",
- "labelHtml": "string",
- "recordedOn": "2019-08-24",
- "currentName": "string",
- "isSynonym": true
}, - "isPrimary": true,
- "isFiledAs": true,
- "managedAttributes": {
- "property1": "string",
- "property2": "string"
}
}
]
}
}
}By passing in query string, user can get available protocol types authorised
| filter[rsql] | string pass an optional search string for looking up the protocol types |
| sort | string optional sort order string, such as descending, denoted by "-" |
| page[offset] | integer <int32> number of records to skip when paging |
| page[limit] | integer <int32> [ 0 .. 50 ] maximum number of records to return when paging |
[- {
- "data": {
- "id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
- "type": "protocol",
- "attributes": {
- "name": "string",
- "protocolType": "string",
- "createdBy": "string",
- "createdOn": "1985-04-12T23:20:50.52Z",
- "group": "string",
- "multilingualDescription": {
- "descriptions": [
- {
- "lang": "string",
- "desc": "string"
}
]
}, - "protocolData": [
- {
- "key": "string",
- "vocabularyBased": true,
- "protocolDataElement": [
- {
- "elementType": "string",
- "value": "string",
- "vocabularyBased": true,
- "unit": "string"
}
]
}
]
}, - "relationships": {
- "attachments": {
- "data": [
- {
- "type": "metadata",
- "id": "8f68a05f-937d-4d40-88b4-ed92720d9c3f"
}
]
}
}
}
}
]Adds a protocol
Protocol to add
required | object |
{- "data": {
- "type": "protocol",
- "attributes": {
- "name": "string",
- "protocolType": "string",
- "group": "string",
- "multilingualDescription": {
- "descriptions": [
- {
- "lang": "string",
- "desc": "string"
}
]
}, - "protocolData": [
- {
- "key": "string",
- "vocabularyBased": true,
- "protocolDataElement": [
- {
- "elementType": "string",
- "value": "string",
- "vocabularyBased": true,
- "unit": "string"
}
]
}
]
}, - "relationships": {
- "attachments": {
- "data": [
- {
- "type": "metadata",
- "id": "8f68a05f-937d-4d40-88b4-ed92720d9c3f"
}
]
}
}
}
}Returns a single protocol
| Id required | string <uuid> ID of protocol to return |
{- "data": {
- "id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
- "type": "protocol",
- "attributes": {
- "name": "string",
- "protocolType": "string",
- "createdBy": "string",
- "createdOn": "1985-04-12T23:20:50.52Z",
- "group": "string",
- "multilingualDescription": {
- "descriptions": [
- {
- "lang": "string",
- "desc": "string"
}
]
}, - "protocolData": [
- {
- "key": "string",
- "vocabularyBased": true,
- "protocolDataElement": [
- {
- "elementType": "string",
- "value": "string",
- "vocabularyBased": true,
- "unit": "string"
}
]
}
]
}, - "relationships": {
- "attachments": {
- "data": [
- {
- "type": "metadata",
- "id": "8f68a05f-937d-4d40-88b4-ed92720d9c3f"
}
]
}
}
}
}update a protocol
| Id required | string <uuid> protocol id to patch |
protocol to add
required | object |
{- "data": {
- "id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
- "type": "protocol",
- "attributes": {
- "name": "string",
- "protocolType": "string",
- "group": "string",
- "multilingualDescription": {
- "descriptions": [
- {
- "lang": "string",
- "desc": "string"
}
]
}, - "protocolData": [
- {
- "key": "string",
- "vocabularyBased": true,
- "protocolDataElement": [
- {
- "elementType": "string",
- "value": "string",
- "vocabularyBased": true,
- "unit": "string"
}
]
}
]
}, - "relationships": {
- "attachments": {
- "data": [
- {
- "type": "metadata",
- "id": "8f68a05f-937d-4d40-88b4-ed92720d9c3f"
}
]
}
}
}
}By passing in query string, user can get available storage unit authorised
| filter[rsql] | string pass an optional search string for looking up the storage unit |
| sort | string optional sort order string, such as descending, denoted by "-" |
| page[offset] | integer <int32> number of records to skip when paging |
| page[limit] | integer <int32> [ 0 .. 50 ] maximum number of records to return when paging |
[- {
- "data": {
- "id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
- "type": "storage-unit",
- "attributes": {
- "name": "string",
- "isGeneric": true,
- "createdOn": "1985-04-12T23:20:50.52Z",
- "createdBy": "string",
- "group": "string",
- "barcode": "string",
- "storageUnitChildren": [
- {
- "uuid": "d290f1ee-6c54-4b01-90e6-d701748f0851",
- "id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
- "createdOn": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "group": "string",
- "name": "string"
}
]
}, - "relationships": {
- "parentStorageUnit": {
- "data": {
- "type": "storage-unit",
- "id": "a600f9da-fcbe-4fef-9ae3-0f131ca05e0c"
}
}, - "storageUnitType": {
- "data": {
- "type": "storage-unit-type",
- "id": "a600f9da-fcbe-4fef-9ae3-0f131ca05e0c"
}
}
}
}
}
]Adds a storage unit
StorageUnit to add
required | object |
{- "data": {
- "type": "storage-unit",
- "attributes": {
- "name": "string",
- "isGeneric": true,
- "group": "string",
- "barcode": "string",
- "storageUnitChildren": [
- {
- "uuid": "d290f1ee-6c54-4b01-90e6-d701748f0851",
- "id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
- "group": "string",
- "name": "string"
}
]
}, - "relationships": {
- "parentStorageUnit": {
- "data": {
- "type": "storage-unit",
- "id": "a600f9da-fcbe-4fef-9ae3-0f131ca05e0c"
}
}, - "storageUnitType": {
- "data": {
- "type": "storage-unit-type",
- "id": "a600f9da-fcbe-4fef-9ae3-0f131ca05e0c"
}
}
}
}
}Returns a single storage unit
| Id required | string <uuid> ID of storage unit to return |
{- "data": {
- "id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
- "type": "storage-unit",
- "attributes": {
- "name": "string",
- "isGeneric": true,
- "createdOn": "1985-04-12T23:20:50.52Z",
- "createdBy": "string",
- "group": "string",
- "barcode": "string",
- "storageUnitChildren": [
- {
- "uuid": "d290f1ee-6c54-4b01-90e6-d701748f0851",
- "id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
- "createdOn": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "group": "string",
- "name": "string"
}
]
}, - "relationships": {
- "parentStorageUnit": {
- "data": {
- "type": "storage-unit",
- "id": "a600f9da-fcbe-4fef-9ae3-0f131ca05e0c"
}
}, - "storageUnitType": {
- "data": {
- "type": "storage-unit-type",
- "id": "a600f9da-fcbe-4fef-9ae3-0f131ca05e0c"
}
}
}
}
}update a storage unit
| Id required | string <uuid> storage unit id to patch |
storage unit to add
required | object |
{- "data": {
- "id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
- "type": "storage-unit",
- "attributes": {
- "name": "string",
- "isGeneric": true,
- "group": "string",
- "barcode": "string",
- "storageUnitChildren": [
- {
- "uuid": "d290f1ee-6c54-4b01-90e6-d701748f0851",
- "id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
- "group": "string",
- "name": "string"
}
]
}, - "relationships": {
- "parentStorageUnit": {
- "data": {
- "type": "storage-unit",
- "id": "a600f9da-fcbe-4fef-9ae3-0f131ca05e0c"
}
}, - "storageUnitType": {
- "data": {
- "type": "storage-unit-type",
- "id": "a600f9da-fcbe-4fef-9ae3-0f131ca05e0c"
}
}
}
}
}By passing in query string, user can get available storage unit usage authorised
| filter[rsql] | string pass an optional search string for looking up the storage unit usage |
| sort | string optional sort order string, such as descending, denoted by "-" |
| page[offset] | integer <int32> number of records to skip when paging |
| page[limit] | integer <int32> [ 0 .. 50 ] maximum number of records to return when paging |
[- {
- "data": {
- "id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
- "type": "storage-unit-usage",
- "attributes": {
- "usageType": "material-sample",
- "wellRow": "A",
- "wellColumn": 7,
- "cellNumber": 0,
- "storageUnitName": "string",
- "createdOn": "1985-04-12T23:20:50.52Z",
- "createdBy": "string"
}, - "relationships": {
- "storageUnit": {
- "data": {
- "type": "storage-unit",
- "id": "a600f9da-fcbe-4fef-9ae3-0f131ca05e0c"
}
}, - "storageUnitType": {
- "data": {
- "type": "storage-unit-type",
- "id": "01903c04-036f-7a54-9c44-3df6091fdcc6"
}
}
}
}
}
]Adds a storage unit usage
StorageUnitUsage to add
required | object |
{- "data": {
- "type": "storage-unit-usage",
- "attributes": {
- "usageType": "material-sample",
- "wellRow": "A",
- "wellColumn": 7
}, - "relationships": {
- "storageUnit": {
- "data": {
- "type": "storage-unit",
- "id": "a600f9da-fcbe-4fef-9ae3-0f131ca05e0c"
}
}, - "storageUnitType": {
- "data": {
- "type": "storage-unit-type",
- "id": "01903c04-036f-7a54-9c44-3df6091fdcc6"
}
}
}
}
}Returns a single storage unit usage
| Id required | string <uuid> ID of storage unit usage to return |
{- "data": {
- "id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
- "type": "storage-unit-usage",
- "attributes": {
- "usageType": "material-sample",
- "wellRow": "A",
- "wellColumn": 7,
- "cellNumber": 0,
- "storageUnitName": "string",
- "createdOn": "1985-04-12T23:20:50.52Z",
- "createdBy": "string"
}, - "relationships": {
- "storageUnit": {
- "data": {
- "type": "storage-unit",
- "id": "a600f9da-fcbe-4fef-9ae3-0f131ca05e0c"
}
}, - "storageUnitType": {
- "data": {
- "type": "storage-unit-type",
- "id": "01903c04-036f-7a54-9c44-3df6091fdcc6"
}
}
}
}
}update a storage unit usage
| Id required | string <uuid> storage unit usage id to patch |
storage unit usage to add
required | object |
{- "data": {
- "id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
- "type": "storage-unit-usage",
- "attributes": {
- "usageType": "material-sample",
- "wellRow": "A",
- "wellColumn": 7
}, - "relationships": {
- "storageUnit": {
- "data": {
- "type": "storage-unit",
- "id": "a600f9da-fcbe-4fef-9ae3-0f131ca05e0c"
}
}, - "storageUnitType": {
- "data": {
- "type": "storage-unit-type",
- "id": "01903c04-036f-7a54-9c44-3df6091fdcc6"
}
}
}
}
}