Download OpenAPI specification:
Collection API Schema
By passing in query string, user can get available collecting events authorised
| fiql | string FIQL (Feed Item Query Language) filter for querying resources. FIQL provides a URI-friendly syntax for expressing filters. This parameter is supported across most DINA collection APIs for consistent querying. FIQL cannot be applied to nested fields. FIQL Syntax
Comparison Operators
Logical Operators
WildcardsUse wildcards within string values for pattern matching:
Examples:
Use Query ExamplesSimple Queries
Wildcard Searches
Numeric Comparisons
Date Ranges
Multiple Values
Combined Conditions (AND)
Combined Conditions (OR)
Complex Queries with Grouping
URL-Encoded Example
Important Notes
| ||||||||||||||||||||||||||||||||||||||||||||||||
| filter | any Simple search filter using key-value pairs with nested properties. Filter results by specifying field paths and comparison operators. Filter Syntax
Supported Operators
WildcardsUse wildcards within string values along with the LIKE or ILIKE operators for pattern matching:
Examples:
Use ExamplesSimple Equality
Nested Properties
Numeric Comparisons
Multiple Values (IN operator)
Multiple Filters (AND logic)
OR Logic within a Single Filter
URL-Encoded Example
Nested Property PathsUse dot notation to filter on nested/related objects:
Important Notes
| ||||||||||||||||||||||||||||||||||||||||||||||||
| 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"
}
}
}, - "meta": {
- "permissionsProvider": "GroupAuthorizationService",
- "permissions": [
- "create",
- "update",
- "delete"
]
}, - "relationships": {
- "protocol": {
- "data": {
- "type": "protocol",
- "id": "8f68a05f-937d-4d40-88b4-ed92720d9c3f"
}
}, - "expedition": {
- "data": {
- "type": "expedition",
- "id": "8f68a05f-937d-4d40-88b4-ed92720d9c3f"
}
}, - "attachment": {
- "data": [
- {
- "type": "metadata",
- "id": "8f68a05f-937d-4d40-88b4-ed92720d9c3f"
}
]
}, - "collectors": {
- "data": [
- {
- "type": "person",
- "id": "8f68a05f-937d-4d40-88b4-ed92720d9c3f"
}
]
}
}
}
], - "meta": {
- "moduleVersion": "string",
- "totalResourceCount": 0
}
}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": {
- "type": "protocol",
- "id": "8f68a05f-937d-4d40-88b4-ed92720d9c3f"
}
}, - "expedition": {
- "data": {
- "type": "expedition",
- "id": "8f68a05f-937d-4d40-88b4-ed92720d9c3f"
}
}, - "attachment": {
- "data": [
- {
- "type": "metadata",
- "id": "8f68a05f-937d-4d40-88b4-ed92720d9c3f"
}
]
}, - "collectors": {
- "data": [
- {
- "type": "person",
- "id": "8f68a05f-937d-4d40-88b4-ed92720d9c3f"
}
]
}
}
}
}{- "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"
}
}
}, - "meta": {
- "permissionsProvider": "GroupAuthorizationService",
- "permissions": [
- "create",
- "update",
- "delete"
]
}, - "relationships": {
- "protocol": {
- "data": {
- "type": "protocol",
- "id": "8f68a05f-937d-4d40-88b4-ed92720d9c3f"
}
}, - "expedition": {
- "data": {
- "type": "expedition",
- "id": "8f68a05f-937d-4d40-88b4-ed92720d9c3f"
}
}, - "attachment": {
- "data": [
- {
- "type": "metadata",
- "id": "8f68a05f-937d-4d40-88b4-ed92720d9c3f"
}
]
}, - "collectors": {
- "data": [
- {
- "type": "person",
- "id": "8f68a05f-937d-4d40-88b4-ed92720d9c3f"
}
]
}
}
}, - "links": {
- "self": "${dina.apiPrefix}/collecting-event/019c0600-b7dd-75db-8601-86c57232b36f",
- "meta": {
- "isTemplated": true
}
}, - "meta": {
- "moduleVersion": "string"
}
}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"
}
}
}, - "meta": {
- "permissionsProvider": "GroupAuthorizationService",
- "permissions": [
- "create",
- "update",
- "delete"
]
}, - "relationships": {
- "protocol": {
- "data": {
- "type": "protocol",
- "id": "8f68a05f-937d-4d40-88b4-ed92720d9c3f"
}
}, - "expedition": {
- "data": {
- "type": "expedition",
- "id": "8f68a05f-937d-4d40-88b4-ed92720d9c3f"
}
}, - "attachment": {
- "data": [
- {
- "type": "metadata",
- "id": "8f68a05f-937d-4d40-88b4-ed92720d9c3f"
}
]
}, - "collectors": {
- "data": [
- {
- "type": "person",
- "id": "8f68a05f-937d-4d40-88b4-ed92720d9c3f"
}
]
}
}
}, - "meta": {
- "moduleVersion": "string"
}
}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": {
- "type": "protocol",
- "id": "8f68a05f-937d-4d40-88b4-ed92720d9c3f"
}
}, - "expedition": {
- "data": {
- "type": "expedition",
- "id": "8f68a05f-937d-4d40-88b4-ed92720d9c3f"
}
}, - "attachment": {
- "data": [
- {
- "type": "metadata",
- "id": "8f68a05f-937d-4d40-88b4-ed92720d9c3f"
}
]
}, - "collectors": {
- "data": [
- {
- "type": "person",
- "id": "8f68a05f-937d-4d40-88b4-ed92720d9c3f"
}
]
}
}
}
}{- "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"
}
}
}, - "meta": {
- "permissionsProvider": "GroupAuthorizationService",
- "permissions": [
- "create",
- "update",
- "delete"
]
}, - "relationships": {
- "protocol": {
- "data": {
- "type": "protocol",
- "id": "8f68a05f-937d-4d40-88b4-ed92720d9c3f"
}
}, - "expedition": {
- "data": {
- "type": "expedition",
- "id": "8f68a05f-937d-4d40-88b4-ed92720d9c3f"
}
}, - "attachment": {
- "data": [
- {
- "type": "metadata",
- "id": "8f68a05f-937d-4d40-88b4-ed92720d9c3f"
}
]
}, - "collectors": {
- "data": [
- {
- "type": "person",
- "id": "8f68a05f-937d-4d40-88b4-ed92720d9c3f"
}
]
}
}
}, - "meta": {
- "moduleVersion": "string"
}
}delete a collecting event
| Id required | string <uuid> collecting event id to delete |
{- "errors": [
- {
- "status": "400 BAD_REQUEST",
- "code": "400",
- "title": "Bad Request",
- "detail": "Invalid UUID string: 019c0576-3ba6-7b64-b45"
}
]
}By passing in query string, user can get available collections authorised
| fiql | string FIQL (Feed Item Query Language) filter for querying resources. FIQL provides a URI-friendly syntax for expressing filters. This parameter is supported across most DINA collection APIs for consistent querying. FIQL cannot be applied to nested fields. FIQL Syntax
Comparison Operators
Logical Operators
WildcardsUse wildcards within string values for pattern matching:
Examples:
Use Query ExamplesSimple Queries
Wildcard Searches
Numeric Comparisons
Date Ranges
Multiple Values
Combined Conditions (AND)
Combined Conditions (OR)
Complex Queries with Grouping
URL-Encoded Example
Important Notes
| ||||||||||||||||||||||||||||||||||||||||||||||||
| filter | any Simple search filter using key-value pairs with nested properties. Filter results by specifying field paths and comparison operators. Filter Syntax
Supported Operators
WildcardsUse wildcards within string values along with the LIKE or ILIKE operators for pattern matching:
Examples:
Use ExamplesSimple Equality
Nested Properties
Numeric Comparisons
Multiple Values (IN operator)
Multiple Filters (AND logic)
OR Logic within a Single Filter
URL-Encoded Example
Nested Property PathsUse dot notation to filter on nested/related objects:
Important Notes
| ||||||||||||||||||||||||||||||||||||||||||||||||
| 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",
}, - "meta": {
- "moduleVersion": "string"
}, - "relationships": {
- "institution": {
- "data": {
- "type": "institution",
- "id": "a600f9da-fcbe-4fef-9ae3-0f131ca05e0c"
}
}, - "parentCollection": {
- "data": {
- "type": "collection",
- "id": "a600f9da-fcbe-4fef-9ae3-0f131ca05e0c"
}
}
}
}
], - "meta": {
- "moduleVersion": "string",
- "totalResourceCount": 0
}
}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"
}
}
}
}
}{- "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",
}, - "meta": {
- "moduleVersion": "string"
}, - "relationships": {
- "institution": {
- "data": {
- "type": "institution",
- "id": "a600f9da-fcbe-4fef-9ae3-0f131ca05e0c"
}
}, - "parentCollection": {
- "data": {
- "type": "collection",
- "id": "a600f9da-fcbe-4fef-9ae3-0f131ca05e0c"
}
}
}
}, - "links": {
- "self": "${dina.apiPrefix}/collection/019c0600-b7dd-75db-8601-86c57232b36f",
- "meta": {
- "isTemplated": true
}
}, - "meta": {
- "moduleVersion": "string"
}
}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",
}, - "meta": {
- "moduleVersion": "string"
}, - "relationships": {
- "institution": {
- "data": {
- "type": "institution",
- "id": "a600f9da-fcbe-4fef-9ae3-0f131ca05e0c"
}
}, - "parentCollection": {
- "data": {
- "type": "collection",
- "id": "a600f9da-fcbe-4fef-9ae3-0f131ca05e0c"
}
}
}
}, - "meta": {
- "moduleVersion": "string"
}
}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"
}
}
}
}
}{- "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",
}, - "meta": {
- "moduleVersion": "string"
}, - "relationships": {
- "institution": {
- "data": {
- "type": "institution",
- "id": "a600f9da-fcbe-4fef-9ae3-0f131ca05e0c"
}
}, - "parentCollection": {
- "data": {
- "type": "collection",
- "id": "a600f9da-fcbe-4fef-9ae3-0f131ca05e0c"
}
}
}
}, - "meta": {
- "moduleVersion": "string"
}
}delete a collection
| Id required | string <uuid> collection id to delete |
{- "errors": [
- {
- "status": "400 BAD_REQUEST",
- "code": "400",
- "title": "Bad Request",
- "detail": "Invalid UUID string: 019c0576-3ba6-7b64-b45"
}
]
}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
}
}
}, - "links": {
- "self": "${dina.apiPrefix}/collection-sequence-generator/981a9bf3-70ef-44a4-ad3e-fb1907d4d4e9",
- "meta": {
- "isTemplated": true
}
}, - "meta": {
- "moduleVersion": "string"
}
}By passing in query string, user can get available expeditions authorised
| fiql | string FIQL (Feed Item Query Language) filter for querying resources. FIQL provides a URI-friendly syntax for expressing filters. This parameter is supported across most DINA collection APIs for consistent querying. FIQL cannot be applied to nested fields. FIQL Syntax
Comparison Operators
Logical Operators
WildcardsUse wildcards within string values for pattern matching:
Examples:
Use Query ExamplesSimple Queries
Wildcard Searches
Numeric Comparisons
Date Ranges
Multiple Values
Combined Conditions (AND)
Combined Conditions (OR)
Complex Queries with Grouping
URL-Encoded Example
Important Notes
| ||||||||||||||||||||||||||||||||||||||||||||||||
| filter | any Simple search filter using key-value pairs with nested properties. Filter results by specifying field paths and comparison operators. Filter Syntax
Supported Operators
WildcardsUse wildcards within string values along with the LIKE or ILIKE operators for pattern matching:
Examples:
Use ExamplesSimple Equality
Nested Properties
Numeric Comparisons
Multiple Values (IN operator)
Multiple Filters (AND logic)
OR Logic within a Single Filter
URL-Encoded Example
Nested Property PathsUse dot notation to filter on nested/related objects:
Important Notes
| ||||||||||||||||||||||||||||||||||||||||||||||||
| 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": "expedition",
- "attributes": {
- "name": "string",
- "createdBy": "string",
- "createdOn": "1985-04-12T23:20:50.52Z",
- "group": "string",
- "startDate": "2019-08-24",
- "endDate": "2019-08-24",
- "geographicContext": "string",
- "multilingualDescription": {
- "descriptions": [
- {
- "lang": "string",
- "desc": "string"
}
]
}
}, - "meta": {
- "permissionsProvider": "GroupAuthorizationService",
- "permissions": [
- "create",
- "update",
- "delete"
]
}, - "relationships": {
- "participants": {
- "data": [
- {
- "type": "person",
- "id": "8f68a05f-937d-4d40-88b4-ed92720d9c3f"
}
]
}
}
}
], - "meta": {
- "moduleVersion": "string",
- "totalResourceCount": 0
}
}Adds a expedition
Expedition to add
required | object |
{- "data": {
- "type": "expedition",
- "attributes": {
- "name": "string",
- "group": "string",
- "startDate": "2019-08-24",
- "endDate": "2019-08-24",
- "geographicContext": "string",
- "multilingualDescription": {
- "descriptions": [
- {
- "lang": "string",
- "desc": "string"
}
]
}
}, - "relationships": {
- "participants": {
- "data": [
- {
- "type": "person",
- "id": "8f68a05f-937d-4d40-88b4-ed92720d9c3f"
}
]
}
}
}
}{- "data": {
- "id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
- "type": "expedition",
- "attributes": {
- "name": "string",
- "createdBy": "string",
- "createdOn": "1985-04-12T23:20:50.52Z",
- "group": "string",
- "startDate": "2019-08-24",
- "endDate": "2019-08-24",
- "geographicContext": "string",
- "multilingualDescription": {
- "descriptions": [
- {
- "lang": "string",
- "desc": "string"
}
]
}
}, - "meta": {
- "permissionsProvider": "GroupAuthorizationService",
- "permissions": [
- "create",
- "update",
- "delete"
]
}, - "relationships": {
- "participants": {
- "data": [
- {
- "type": "person",
- "id": "8f68a05f-937d-4d40-88b4-ed92720d9c3f"
}
]
}
}
}, - "links": {
- "self": "${dina.apiPrefix}/collection-method/019c0600-b7dd-75db-8601-86c57232b36f",
- "meta": {
- "isTemplated": true
}
}, - "meta": {
- "moduleVersion": "string"
}
}Returns a single expedition
| Id required | string <uuid> ID of expedition to return |
{- "data": {
- "id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
- "type": "expedition",
- "attributes": {
- "name": "string",
- "createdBy": "string",
- "createdOn": "1985-04-12T23:20:50.52Z",
- "group": "string",
- "startDate": "2019-08-24",
- "endDate": "2019-08-24",
- "geographicContext": "string",
- "multilingualDescription": {
- "descriptions": [
- {
- "lang": "string",
- "desc": "string"
}
]
}
}, - "meta": {
- "permissionsProvider": "GroupAuthorizationService",
- "permissions": [
- "create",
- "update",
- "delete"
]
}, - "relationships": {
- "participants": {
- "data": [
- {
- "type": "person",
- "id": "8f68a05f-937d-4d40-88b4-ed92720d9c3f"
}
]
}
}
}, - "meta": {
- "moduleVersion": "string"
}
}update an expedition
| Id required | string <uuid> expedition id to patch |
expedition to add
required | object |
{- "data": {
- "id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
- "type": "expedition",
- "attributes": {
- "name": "string",
- "group": "string",
- "startDate": "2019-08-24",
- "endDate": "2019-08-24",
- "geographicContext": "string",
- "multilingualDescription": {
- "descriptions": [
- {
- "lang": "string",
- "desc": "string"
}
]
}
}, - "relationships": {
- "participants": {
- "data": [
- {
- "type": "person",
- "id": "8f68a05f-937d-4d40-88b4-ed92720d9c3f"
}
]
}
}
}
}{- "data": {
- "id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
- "type": "expedition",
- "attributes": {
- "name": "string",
- "createdBy": "string",
- "createdOn": "1985-04-12T23:20:50.52Z",
- "group": "string",
- "startDate": "2019-08-24",
- "endDate": "2019-08-24",
- "geographicContext": "string",
- "multilingualDescription": {
- "descriptions": [
- {
- "lang": "string",
- "desc": "string"
}
]
}
}, - "meta": {
- "permissionsProvider": "GroupAuthorizationService",
- "permissions": [
- "create",
- "update",
- "delete"
]
}, - "relationships": {
- "participants": {
- "data": [
- {
- "type": "person",
- "id": "8f68a05f-937d-4d40-88b4-ed92720d9c3f"
}
]
}
}
}, - "meta": {
- "moduleVersion": "string"
}
}delete a expedition
| Id required | string <uuid> expedition id to delete |
{- "errors": [
- {
- "status": "400 BAD_REQUEST",
- "code": "400",
- "title": "Bad Request",
- "detail": "Invalid UUID string: 019c0576-3ba6-7b64-b45"
}
]
}By passing in query string, user can get available collection managed attributes authorised
| fiql | string FIQL (Feed Item Query Language) filter for querying resources. FIQL provides a URI-friendly syntax for expressing filters. This parameter is supported across most DINA collection APIs for consistent querying. FIQL cannot be applied to nested fields. FIQL Syntax
Comparison Operators
Logical Operators
WildcardsUse wildcards within string values for pattern matching:
Examples:
Use Query ExamplesSimple Queries
Wildcard Searches
Numeric Comparisons
Date Ranges
Multiple Values
Combined Conditions (AND)
Combined Conditions (OR)
Complex Queries with Grouping
URL-Encoded Example
Important Notes
| ||||||||||||||||||||||||||||||||||||||||||||||||
| filter | any Simple search filter using key-value pairs with nested properties. Filter results by specifying field paths and comparison operators. Filter Syntax
Supported Operators
WildcardsUse wildcards within string values along with the LIKE or ILIKE operators for pattern matching:
Examples:
Use ExamplesSimple Equality
Nested Properties
Numeric Comparisons
Multiple Values (IN operator)
Multiple Filters (AND logic)
OR Logic within a Single Filter
URL-Encoded Example
Nested Property PathsUse dot notation to filter on nested/related objects:
Important Notes
| ||||||||||||||||||||||||||||||||||||||||||||||||
| 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"
}
]
}
}, - "meta": {
- "moduleVersion": "string"
}
}
], - "meta": {
- "moduleVersion": "string",
- "totalResourceCount": 0
}
}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"
}
]
}
}, - "meta": { }
}
}{- "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"
}
]
}
}, - "meta": {
- "moduleVersion": "string"
}
}, - "links": {
- "self": "${dina.apiPrefix}/managed-attribute/019c0600-b7dd-75db-8601-86c57232b36f",
- "meta": {
- "isTemplated": true
}
}, - "meta": {
- "moduleVersion": "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"
}
]
}
}, - "meta": {
- "moduleVersion": "string"
}
}, - "meta": {
- "moduleVersion": "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"
}
]
}
}, - "meta": { }
}
}{- "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"
}
]
}
}, - "meta": {
- "moduleVersion": "string"
}
}, - "meta": {
- "moduleVersion": "string"
}
}delete a collection managed attribute
| Id required | string <uuid> collection managed attribute id to delete |
{- "errors": [
- {
- "status": "400 BAD_REQUEST",
- "code": "400",
- "title": "Bad Request",
- "detail": "Invalid UUID string: 019c0576-3ba6-7b64-b45"
}
]
}By passing in query string, user can get available material samples authorised
| fiql | string FIQL (Feed Item Query Language) filter for querying resources. FIQL provides a URI-friendly syntax for expressing filters. This parameter is supported across most DINA collection APIs for consistent querying. FIQL cannot be applied to nested fields. FIQL Syntax
Comparison Operators
Logical Operators
WildcardsUse wildcards within string values for pattern matching:
Examples:
Use Query ExamplesSimple Queries
Wildcard Searches
Numeric Comparisons
Date Ranges
Multiple Values
Combined Conditions (AND)
Combined Conditions (OR)
Complex Queries with Grouping
URL-Encoded Example
Important Notes
| ||||||||||||||||||||||||||||||||||||||||||||||||
| filter | any Simple search filter using key-value pairs with nested properties. Filter results by specifying field paths and comparison operators. Filter Syntax
Supported Operators
WildcardsUse wildcards within string values along with the LIKE or ILIKE operators for pattern matching:
Examples:
Use ExamplesSimple Equality
Nested Properties
Numeric Comparisons
Multiple Values (IN operator)
Multiple Filters (AND logic)
OR Logic within a Single Filter
URL-Encoded Example
Nested Property PathsUse dot notation to filter on nested/related objects:
Important Notes
| ||||||||||||||||||||||||||||||||||||||||||||||||
| 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,
- "group": "string",
- "createdOn": "1985-04-12T23:20:50.52Z",
- "createdBy": "string",
- "dwcCatalogNumber": 18,
- "dwcOtherCatalogNumbers": [
- "string"
], - "materialSampleName": "XYZ-18",
- "identifiers": {
- "property1": "string",
- "property2": "string"
}, - "materialSampleType": "WHOLE_ORGANISM",
- "preparationDate": "2019-08-24",
- "preservationType": "Freeze-Dry",
- "preparationFixative": "EtOH 95%",
- "preparationMaterials": "glass vial",
- "preparationSubstrate": "agar",
- "managedAttributes": {
- "property1": "string",
- "property2": "string"
}, - "preparationManagedAttributes": {
- "property1": "string",
- "property2": "string"
}, - "extensionValues": {
- "property1": {
- "property1": "string",
- "property2": "string"
}, - "property2": {
- "property1": "string",
- "property2": "string"
}
}, - "preparationRemarks": "string",
- "dwcDegreeOfEstablishment": "string",
- "hierarchy": [
- {
- "uuid": "d290f1ee-6c54-4b01-90e6-d701748f0851",
- "name": "string",
- "rank": 0,
- "organismPrimaryDetermination": [ ]
}
], - "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
}
], - "targetOrganismPrimaryScientificName": "string",
- "targetOrganismPrimaryClassification": { },
- "effectiveScientificName": "string",
- "barcode": "string",
- "publiclyReleasable": true,
- "notPubliclyReleasableReason": "string",
- "tags": [
- "string"
], - "materialSampleState": "string",
- "materialSampleRemarks": "string",
- "stateChangedOn": "2019-08-24",
- "stateChangeRemarks": "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,
- "restrictionFieldsExtension": {
- "property1": {
- "property1": "string",
- "property2": "string"
}, - "property2": {
- "property1": "string",
- "property2": "string"
}
}, - "isRestricted": true,
- "restrictionRemarks": "string",
- "sourceSet": "string",
- "isBaseForSplitByType": true,
- "associations": [
- {
- "associatedSample": "8f68a05f-937d-4d40-88b4-ed92720d9c3f",
- "remarks": "string",
- "associationType": "string"
}
]
}, - "meta": {
- "permissionsProvider": "GroupAuthorizationService",
- "permissions": [
- "create",
- "update",
- "delete"
]
}, - "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"
}
}
}
}
], - "meta": {
- "moduleVersion": "string",
- "totalResourceCount": 0
}
}Adds a material sample
MaterialSample to add
required | object |
{- "data": {
- "type": "material-sample",
- "attributes": {
- "group": "string",
- "dwcCatalogNumber": 18,
- "dwcOtherCatalogNumbers": [
- "string"
], - "materialSampleName": "XYZ-18",
- "identifiers": {
- "property1": "string",
- "property2": "string"
}, - "materialSampleType": "WHOLE_ORGANISM",
- "preparationDate": "2019-08-24",
- "preservationType": "Freeze-Dry",
- "preparationFixative": "EtOH 95%",
- "preparationMaterials": "glass vial",
- "preparationSubstrate": "agar",
- "managedAttributes": {
- "property1": "string",
- "property2": "string"
}, - "preparationManagedAttributes": {
- "property1": "string",
- "property2": "string"
}, - "extensionValues": {
- "property1": {
- "property1": "string",
- "property2": "string"
}, - "property2": {
- "property1": "string",
- "property2": "string"
}
}, - "preparationRemarks": "string",
- "dwcDegreeOfEstablishment": "string",
- "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"
}
], - "barcode": "string",
- "publiclyReleasable": true,
- "notPubliclyReleasableReason": "string",
- "tags": [
- "string"
], - "materialSampleState": "string",
- "materialSampleRemarks": "string",
- "stateChangedOn": "2019-08-24",
- "stateChangeRemarks": "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,
- "restrictionFieldsExtension": {
- "property1": {
- "property1": "string",
- "property2": "string"
}, - "property2": {
- "property1": "string",
- "property2": "string"
}
}, - "isRestricted": true,
- "restrictionRemarks": "string",
- "sourceSet": "string",
- "isBaseForSplitByType": true,
- "associations": [
- {
- "associatedSample": "8f68a05f-937d-4d40-88b4-ed92720d9c3f",
- "remarks": "string",
- "associationType": "string"
}
]
}, - "meta": { },
- "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"
}
}
}
}
}{- "data": {
- "id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
- "type": "material-sample",
- "attributes": {
- "version": 0,
- "group": "string",
- "createdOn": "1985-04-12T23:20:50.52Z",
- "createdBy": "string",
- "dwcCatalogNumber": 18,
- "dwcOtherCatalogNumbers": [
- "string"
], - "materialSampleName": "XYZ-18",
- "identifiers": {
- "property1": "string",
- "property2": "string"
}, - "materialSampleType": "WHOLE_ORGANISM",
- "preparationDate": "2019-08-24",
- "preservationType": "Freeze-Dry",
- "preparationFixative": "EtOH 95%",
- "preparationMaterials": "glass vial",
- "preparationSubstrate": "agar",
- "managedAttributes": {
- "property1": "string",
- "property2": "string"
}, - "preparationManagedAttributes": {
- "property1": "string",
- "property2": "string"
}, - "extensionValues": {
- "property1": {
- "property1": "string",
- "property2": "string"
}, - "property2": {
- "property1": "string",
- "property2": "string"
}
}, - "preparationRemarks": "string",
- "dwcDegreeOfEstablishment": "string",
- "hierarchy": [
- {
- "uuid": "d290f1ee-6c54-4b01-90e6-d701748f0851",
- "name": "string",
- "rank": 0,
- "organismPrimaryDetermination": [ ]
}
], - "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
}
], - "targetOrganismPrimaryScientificName": "string",
- "targetOrganismPrimaryClassification": { },
- "effectiveScientificName": "string",
- "barcode": "string",
- "publiclyReleasable": true,
- "notPubliclyReleasableReason": "string",
- "tags": [
- "string"
], - "materialSampleState": "string",
- "materialSampleRemarks": "string",
- "stateChangedOn": "2019-08-24",
- "stateChangeRemarks": "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,
- "restrictionFieldsExtension": {
- "property1": {
- "property1": "string",
- "property2": "string"
}, - "property2": {
- "property1": "string",
- "property2": "string"
}
}, - "isRestricted": true,
- "restrictionRemarks": "string",
- "sourceSet": "string",
- "isBaseForSplitByType": true,
- "associations": [
- {
- "associatedSample": "8f68a05f-937d-4d40-88b4-ed92720d9c3f",
- "remarks": "string",
- "associationType": "string"
}
]
}, - "meta": {
- "permissionsProvider": "GroupAuthorizationService",
- "permissions": [
- "create",
- "update",
- "delete"
]
}, - "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"
}
}
}
}, - "links": {
- "self": "${dina.apiPrefix}/material-sample/019c0600-b7dd-75db-8601-86c57232b36f\"",
- "meta": {
- "isTemplated": true
}
}, - "meta": {
- "moduleVersion": "string"
}
}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,
- "group": "string",
- "createdOn": "1985-04-12T23:20:50.52Z",
- "createdBy": "string",
- "dwcCatalogNumber": 18,
- "dwcOtherCatalogNumbers": [
- "string"
], - "materialSampleName": "XYZ-18",
- "identifiers": {
- "property1": "string",
- "property2": "string"
}, - "materialSampleType": "WHOLE_ORGANISM",
- "preparationDate": "2019-08-24",
- "preservationType": "Freeze-Dry",
- "preparationFixative": "EtOH 95%",
- "preparationMaterials": "glass vial",
- "preparationSubstrate": "agar",
- "managedAttributes": {
- "property1": "string",
- "property2": "string"
}, - "preparationManagedAttributes": {
- "property1": "string",
- "property2": "string"
}, - "extensionValues": {
- "property1": {
- "property1": "string",
- "property2": "string"
}, - "property2": {
- "property1": "string",
- "property2": "string"
}
}, - "preparationRemarks": "string",
- "dwcDegreeOfEstablishment": "string",
- "hierarchy": [
- {
- "uuid": "d290f1ee-6c54-4b01-90e6-d701748f0851",
- "name": "string",
- "rank": 0,
- "organismPrimaryDetermination": [ ]
}
], - "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
}
], - "targetOrganismPrimaryScientificName": "string",
- "targetOrganismPrimaryClassification": { },
- "effectiveScientificName": "string",
- "barcode": "string",
- "publiclyReleasable": true,
- "notPubliclyReleasableReason": "string",
- "tags": [
- "string"
], - "materialSampleState": "string",
- "materialSampleRemarks": "string",
- "stateChangedOn": "2019-08-24",
- "stateChangeRemarks": "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,
- "restrictionFieldsExtension": {
- "property1": {
- "property1": "string",
- "property2": "string"
}, - "property2": {
- "property1": "string",
- "property2": "string"
}
}, - "isRestricted": true,
- "restrictionRemarks": "string",
- "sourceSet": "string",
- "isBaseForSplitByType": true,
- "associations": [
- {
- "associatedSample": "8f68a05f-937d-4d40-88b4-ed92720d9c3f",
- "remarks": "string",
- "associationType": "string"
}
]
}, - "meta": {
- "permissionsProvider": "GroupAuthorizationService",
- "permissions": [
- "create",
- "update",
- "delete"
]
}, - "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"
}
}
}
}, - "meta": {
- "moduleVersion": "string"
}
}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": {
- "group": "string",
- "dwcCatalogNumber": 18,
- "dwcOtherCatalogNumbers": [
- "string"
], - "materialSampleName": "XYZ-18",
- "identifiers": {
- "property1": "string",
- "property2": "string"
}, - "materialSampleType": "WHOLE_ORGANISM",
- "preparationDate": "2019-08-24",
- "preservationType": "Freeze-Dry",
- "preparationFixative": "EtOH 95%",
- "preparationMaterials": "glass vial",
- "preparationSubstrate": "agar",
- "managedAttributes": {
- "property1": "string",
- "property2": "string"
}, - "preparationManagedAttributes": {
- "property1": "string",
- "property2": "string"
}, - "extensionValues": {
- "property1": {
- "property1": "string",
- "property2": "string"
}, - "property2": {
- "property1": "string",
- "property2": "string"
}
}, - "preparationRemarks": "string",
- "dwcDegreeOfEstablishment": "string",
- "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"
}
], - "barcode": "string",
- "publiclyReleasable": true,
- "notPubliclyReleasableReason": "string",
- "tags": [
- "string"
], - "materialSampleState": "string",
- "materialSampleRemarks": "string",
- "stateChangedOn": "2019-08-24",
- "stateChangeRemarks": "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,
- "restrictionFieldsExtension": {
- "property1": {
- "property1": "string",
- "property2": "string"
}, - "property2": {
- "property1": "string",
- "property2": "string"
}
}, - "isRestricted": true,
- "restrictionRemarks": "string",
- "sourceSet": "string",
- "isBaseForSplitByType": true,
- "associations": [
- {
- "associatedSample": "8f68a05f-937d-4d40-88b4-ed92720d9c3f",
- "remarks": "string",
- "associationType": "string"
}
]
}, - "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"
}
}
}
}
}{- "data": {
- "id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
- "type": "material-sample",
- "attributes": {
- "version": 0,
- "group": "string",
- "createdOn": "1985-04-12T23:20:50.52Z",
- "createdBy": "string",
- "dwcCatalogNumber": 18,
- "dwcOtherCatalogNumbers": [
- "string"
], - "materialSampleName": "XYZ-18",
- "identifiers": {
- "property1": "string",
- "property2": "string"
}, - "materialSampleType": "WHOLE_ORGANISM",
- "preparationDate": "2019-08-24",
- "preservationType": "Freeze-Dry",
- "preparationFixative": "EtOH 95%",
- "preparationMaterials": "glass vial",
- "preparationSubstrate": "agar",
- "managedAttributes": {
- "property1": "string",
- "property2": "string"
}, - "preparationManagedAttributes": {
- "property1": "string",
- "property2": "string"
}, - "extensionValues": {
- "property1": {
- "property1": "string",
- "property2": "string"
}, - "property2": {
- "property1": "string",
- "property2": "string"
}
}, - "preparationRemarks": "string",
- "dwcDegreeOfEstablishment": "string",
- "hierarchy": [
- {
- "uuid": "d290f1ee-6c54-4b01-90e6-d701748f0851",
- "name": "string",
- "rank": 0,
- "organismPrimaryDetermination": [ ]
}
], - "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
}
], - "targetOrganismPrimaryScientificName": "string",
- "targetOrganismPrimaryClassification": { },
- "effectiveScientificName": "string",
- "barcode": "string",
- "publiclyReleasable": true,
- "notPubliclyReleasableReason": "string",
- "tags": [
- "string"
], - "materialSampleState": "string",
- "materialSampleRemarks": "string",
- "stateChangedOn": "2019-08-24",
- "stateChangeRemarks": "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,
- "restrictionFieldsExtension": {
- "property1": {
- "property1": "string",
- "property2": "string"
}, - "property2": {
- "property1": "string",
- "property2": "string"
}
}, - "isRestricted": true,
- "restrictionRemarks": "string",
- "sourceSet": "string",
- "isBaseForSplitByType": true,
- "associations": [
- {
- "associatedSample": "8f68a05f-937d-4d40-88b4-ed92720d9c3f",
- "remarks": "string",
- "associationType": "string"
}
]
}, - "meta": {
- "permissionsProvider": "GroupAuthorizationService",
- "permissions": [
- "create",
- "update",
- "delete"
]
}, - "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"
}
}
}
}, - "meta": {
- "moduleVersion": "string"
}
}delete a material sample
| Id required | string <uuid> material sample id to delete |
{- "errors": [
- {
- "status": "400 BAD_REQUEST",
- "code": "400",
- "title": "Bad Request",
- "detail": "Invalid UUID string: 019c0576-3ba6-7b64-b45"
}
]
}By passing in query string, user can get available preparation types authorised
| fiql | string FIQL (Feed Item Query Language) filter for querying resources. FIQL provides a URI-friendly syntax for expressing filters. This parameter is supported across most DINA collection APIs for consistent querying. FIQL cannot be applied to nested fields. FIQL Syntax
Comparison Operators
Logical Operators
WildcardsUse wildcards within string values for pattern matching:
Examples:
Use Query ExamplesSimple Queries
Wildcard Searches
Numeric Comparisons
Date Ranges
Multiple Values
Combined Conditions (AND)
Combined Conditions (OR)
Complex Queries with Grouping
URL-Encoded Example
Important Notes
| ||||||||||||||||||||||||||||||||||||||||||||||||
| filter | any Simple search filter using key-value pairs with nested properties. Filter results by specifying field paths and comparison operators. Filter Syntax
Supported Operators
WildcardsUse wildcards within string values along with the LIKE or ILIKE operators for pattern matching:
Examples:
Use ExamplesSimple Equality
Nested Properties
Numeric Comparisons
Multiple Values (IN operator)
Multiple Filters (AND logic)
OR Logic within a Single Filter
URL-Encoded Example
Nested Property PathsUse dot notation to filter on nested/related objects:
Important Notes
| ||||||||||||||||||||||||||||||||||||||||||||||||
| 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"
}
]
}
}, - "meta": {
- "permissionsProvider": "GroupAuthorizationService",
- "permissions": [
- "create",
- "update",
- "delete"
]
}
}
], - "meta": {
- "moduleVersion": "string",
- "totalResourceCount": 0
}
}Adds a preparation type
PreparationType to add
required | object |
{- "data": {
- "type": "preparation-type",
- "attributes": {
- "name": "string",
- "group": "string",
- "multilingualDescription": {
- "descriptions": [
- {
- "lang": "string",
- "desc": "string"
}
]
}
}
}
}{- "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"
}
]
}
}, - "meta": {
- "permissionsProvider": "GroupAuthorizationService",
- "permissions": [
- "create",
- "update",
- "delete"
]
}
}, - "links": {
- "meta": {
- "isTemplated": true
}
}, - "meta": {
- "moduleVersion": "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"
}
]
}
}, - "meta": {
- "permissionsProvider": "GroupAuthorizationService",
- "permissions": [
- "create",
- "update",
- "delete"
]
}
}, - "meta": {
- "moduleVersion": "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"
}
]
}
}
}
}{- "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"
}
]
}
}, - "meta": {
- "permissionsProvider": "GroupAuthorizationService",
- "permissions": [
- "create",
- "update",
- "delete"
]
}
}, - "meta": {
- "moduleVersion": "string"
}
}delete a preparation type
| Id required | string <uuid> preparation type id to delete |
{- "errors": [
- {
- "status": "400 BAD_REQUEST",
- "code": "400",
- "title": "Bad Request",
- "detail": "Invalid UUID string: 019c0576-3ba6-7b64-b45"
}
]
}By passing in query string, user can get available preparation methods authorized
| fiql | string FIQL (Feed Item Query Language) filter for querying resources. FIQL provides a URI-friendly syntax for expressing filters. This parameter is supported across most DINA collection APIs for consistent querying. FIQL cannot be applied to nested fields. FIQL Syntax
Comparison Operators
Logical Operators
WildcardsUse wildcards within string values for pattern matching:
Examples:
Use Query ExamplesSimple Queries
Wildcard Searches
Numeric Comparisons
Date Ranges
Multiple Values
Combined Conditions (AND)
Combined Conditions (OR)
Complex Queries with Grouping
URL-Encoded Example
Important Notes
| ||||||||||||||||||||||||||||||||||||||||||||||||
| filter | any Simple search filter using key-value pairs with nested properties. Filter results by specifying field paths and comparison operators. Filter Syntax
Supported Operators
WildcardsUse wildcards within string values along with the LIKE or ILIKE operators for pattern matching:
Examples:
Use ExamplesSimple Equality
Nested Properties
Numeric Comparisons
Multiple Values (IN operator)
Multiple Filters (AND logic)
OR Logic within a Single Filter
URL-Encoded Example
Nested Property PathsUse dot notation to filter on nested/related objects:
Important Notes
| ||||||||||||||||||||||||||||||||||||||||||||||||
| 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"
}
]
}
}, - "meta": {
- "permissionsProvider": "GroupAuthorizationService",
- "permissions": [
- "create",
- "update",
- "delete"
]
}
}
], - "meta": {
- "moduleVersion": "string",
- "totalResourceCount": 0
}
}Adds a preparation method
PreparationMethod to add
required | object |
{- "data": {
- "type": "preparation-method",
- "attributes": {
- "name": "string",
- "group": "string",
- "multilingualDescription": {
- "descriptions": [
- {
- "lang": "string",
- "desc": "string"
}
]
}
}
}
}{- "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"
}
]
}
}, - "meta": {
- "permissionsProvider": "GroupAuthorizationService",
- "permissions": [
- "create",
- "update",
- "delete"
]
}
}, - "links": {
- "self": "${dina.apiPrefix}/preparation-method/019c0600-b7dd-75db-8601-86c57232b36f",
- "meta": {
- "isTemplated": true
}
}, - "meta": {
- "moduleVersion": "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"
}
]
}
}, - "meta": {
- "permissionsProvider": "GroupAuthorizationService",
- "permissions": [
- "create",
- "update",
- "delete"
]
}
}, - "meta": {
- "moduleVersion": "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"
}
]
}
}
}
}{- "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"
}
]
}
}, - "meta": {
- "permissionsProvider": "GroupAuthorizationService",
- "permissions": [
- "create",
- "update",
- "delete"
]
}
}, - "meta": {
- "moduleVersion": "string"
}
}delete a preparation method
| Id required | string <uuid> preparation method id to delete |
{- "errors": [
- {
- "status": "400 BAD_REQUEST",
- "code": "400",
- "title": "Bad Request",
- "detail": "Invalid UUID string: 019c0576-3ba6-7b64-b45"
}
]
}By passing in query string, user can get available institutions authorised
| fiql | string FIQL (Feed Item Query Language) filter for querying resources. FIQL provides a URI-friendly syntax for expressing filters. This parameter is supported across most DINA collection APIs for consistent querying. FIQL cannot be applied to nested fields. FIQL Syntax
Comparison Operators
Logical Operators
WildcardsUse wildcards within string values for pattern matching:
Examples:
Use Query ExamplesSimple Queries
Wildcard Searches
Numeric Comparisons
Date Ranges
Multiple Values
Combined Conditions (AND)
Combined Conditions (OR)
Complex Queries with Grouping
URL-Encoded Example
Important Notes
| ||||||||||||||||||||||||||||||||||||||||||||||||
| filter | any Simple search filter using key-value pairs with nested properties. Filter results by specifying field paths and comparison operators. Filter Syntax
Supported Operators
WildcardsUse wildcards within string values along with the LIKE or ILIKE operators for pattern matching:
Examples:
Use ExamplesSimple Equality
Nested Properties
Numeric Comparisons
Multiple Values (IN operator)
Multiple Filters (AND logic)
OR Logic within a Single Filter
URL-Encoded Example
Nested Property PathsUse dot notation to filter on nested/related objects:
Important Notes
| ||||||||||||||||||||||||||||||||||||||||||||||||
| 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",
}, - "meta": {
- "permissionsProvider": "GroupAuthorizationService",
- "permissions": [
- "create",
- "update",
- "delete"
]
}
}
], - "meta": {
- "moduleVersion": "string",
- "totalResourceCount": 0
}
}Adds a institution
Institution to add
required | object |
{- "data": {
- "type": "institution",
- "attributes": {
- "name": "string",
- "multilingualDescription": {
- "descriptions": [
- {
- "lang": "string",
- "desc": "string"
}
]
}, - "address": "string",
- "remarks": "string",
}
}
}{- "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",
}, - "meta": {
- "permissionsProvider": "GroupAuthorizationService",
- "permissions": [
- "create",
- "update",
- "delete"
]
}
}, - "links": {
- "self": "${dina.apiPrefix}/institution/019c0600-b7dd-75db-8601-86c57232b36f",
- "meta": {
- "isTemplated": true
}
}, - "meta": {
- "moduleVersion": "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",
}, - "meta": {
- "permissionsProvider": "GroupAuthorizationService",
- "permissions": [
- "create",
- "update",
- "delete"
]
}
}, - "meta": {
- "moduleVersion": "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",
}
}
}{- "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",
}, - "meta": {
- "permissionsProvider": "GroupAuthorizationService",
- "permissions": [
- "create",
- "update",
- "delete"
]
}
}, - "meta": {
- "moduleVersion": "string"
}
}delete a institution
| Id required | string <uuid> institution id to delete |
{- "errors": [
- {
- "status": "400 BAD_REQUEST",
- "code": "400",
- "title": "Bad Request",
- "detail": "Invalid UUID string: 019c0576-3ba6-7b64-b45"
}
]
}By passing in query string, user can get available storage unit types authorised
| fiql | string FIQL (Feed Item Query Language) filter for querying resources. FIQL provides a URI-friendly syntax for expressing filters. This parameter is supported across most DINA collection APIs for consistent querying. FIQL cannot be applied to nested fields. FIQL Syntax
Comparison Operators
Logical Operators
WildcardsUse wildcards within string values for pattern matching:
Examples:
Use Query ExamplesSimple Queries
Wildcard Searches
Numeric Comparisons
Date Ranges
Multiple Values
Combined Conditions (AND)
Combined Conditions (OR)
Complex Queries with Grouping
URL-Encoded Example
Important Notes
| ||||||||||||||||||||||||||||||||||||||||||||||||
| filter | any Simple search filter using key-value pairs with nested properties. Filter results by specifying field paths and comparison operators. Filter Syntax
Supported Operators
WildcardsUse wildcards within string values along with the LIKE or ILIKE operators for pattern matching:
Examples:
Use ExamplesSimple Equality
Nested Properties
Numeric Comparisons
Multiple Values (IN operator)
Multiple Filters (AND logic)
OR Logic within a Single Filter
URL-Encoded Example
Nested Property PathsUse dot notation to filter on nested/related objects:
Important Notes
| ||||||||||||||||||||||||||||||||||||||||||||||||
| 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"
}
}, - "meta": {
- "permissionsProvider": "GroupAuthorizationService",
- "permissions": [
- "create",
- "update",
- "delete"
]
}
}
], - "meta": {
- "moduleVersion": "string",
- "totalResourceCount": 0
}
}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"
}
}
}
}{- "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"
}
}, - "meta": {
- "permissionsProvider": "GroupAuthorizationService",
- "permissions": [
- "create",
- "update",
- "delete"
]
}
}, - "links": {
- "self": "/storage-unit-type/d290f1ee-6c54-4b01-90e6-d701748f0851",
- "meta": {
- "isTemplated": true
}
}, - "meta": {
- "moduleVersion": "string"
}
}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"
}
}, - "meta": {
- "permissionsProvider": "GroupAuthorizationService",
- "permissions": [
- "create",
- "update",
- "delete"
]
}
}, - "meta": {
- "moduleVersion": "string"
}
}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"
}
}
}
}{- "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"
}
}, - "meta": {
- "permissionsProvider": "GroupAuthorizationService",
- "permissions": [
- "create",
- "update",
- "delete"
]
}
}, - "meta": {
- "moduleVersion": "string"
}
}delete a storage unit type
| Id required | string <uuid> storage unit type id to delete |
{- "errors": [
- {
- "status": "400 BAD_REQUEST",
- "code": "400",
- "title": "Bad Request",
- "detail": "Invalid UUID string: 019c0576-3ba6-7b64-b45"
}
]
}By passing in query string, user can get available projects authorised
| fiql | string FIQL (Feed Item Query Language) filter for querying resources. FIQL provides a URI-friendly syntax for expressing filters. This parameter is supported across most DINA collection APIs for consistent querying. FIQL cannot be applied to nested fields. FIQL Syntax
Comparison Operators
Logical Operators
WildcardsUse wildcards within string values for pattern matching:
Examples:
Use Query ExamplesSimple Queries
Wildcard Searches
Numeric Comparisons
Date Ranges
Multiple Values
Combined Conditions (AND)
Combined Conditions (OR)
Complex Queries with Grouping
URL-Encoded Example
Important Notes
| ||||||||||||||||||||||||||||||||||||||||||||||||
| filter | any Simple search filter using key-value pairs with nested properties. Filter results by specifying field paths and comparison operators. Filter Syntax
Supported Operators
WildcardsUse wildcards within string values along with the LIKE or ILIKE operators for pattern matching:
Examples:
Use ExamplesSimple Equality
Nested Properties
Numeric Comparisons
Multiple Values (IN operator)
Multiple Filters (AND logic)
OR Logic within a Single Filter
URL-Encoded Example
Nested Property PathsUse dot notation to filter on nested/related objects:
Important Notes
| ||||||||||||||||||||||||||||||||||||||||||||||||
| 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"
}
}
}, - "meta": {
- "permissionsProvider": "GroupAuthorizationService",
- "permissions": [
- "create",
- "update",
- "delete"
]
}, - "relationships": {
- "attachment": {
- "data": [
- {
- "type": "metadata",
- "id": "8f68a05f-937d-4d40-88b4-ed92720d9c3f"
}
]
}
}
}
], - "meta": {
- "moduleVersion": "string",
- "totalResourceCount": 0
}
}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"
}
]
}
}
}
}{- "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"
}
}
}, - "meta": {
- "permissionsProvider": "GroupAuthorizationService",
- "permissions": [
- "create",
- "update",
- "delete"
]
}, - "relationships": {
- "attachment": {
- "data": [
- {
- "type": "metadata",
- "id": "8f68a05f-937d-4d40-88b4-ed92720d9c3f"
}
]
}
}
}, - "links": {
- "self": "${dina.apiPrefix}/project/019c0600-b7dd-75db-8601-86c57232b36f",
- "meta": {
- "isTemplated": true
}
}, - "meta": {
- "moduleVersion": "string"
}
}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"
}
}
}, - "meta": {
- "permissionsProvider": "GroupAuthorizationService",
- "permissions": [
- "create",
- "update",
- "delete"
]
}, - "relationships": {
- "attachment": {
- "data": [
- {
- "type": "metadata",
- "id": "8f68a05f-937d-4d40-88b4-ed92720d9c3f"
}
]
}
}
}, - "meta": {
- "moduleVersion": "string"
}
}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"
}
]
}
}
}
}{- "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"
}
}
}, - "meta": {
- "permissionsProvider": "GroupAuthorizationService",
- "permissions": [
- "create",
- "update",
- "delete"
]
}, - "relationships": {
- "attachment": {
- "data": [
- {
- "type": "metadata",
- "id": "8f68a05f-937d-4d40-88b4-ed92720d9c3f"
}
]
}
}
}, - "meta": {
- "moduleVersion": "string"
}
}By passing in query string, user can get available assemblages authorised
| fiql | string FIQL (Feed Item Query Language) filter for querying resources. FIQL provides a URI-friendly syntax for expressing filters. This parameter is supported across most DINA collection APIs for consistent querying. FIQL cannot be applied to nested fields. FIQL Syntax
Comparison Operators
Logical Operators
WildcardsUse wildcards within string values for pattern matching:
Examples:
Use Query ExamplesSimple Queries
Wildcard Searches
Numeric Comparisons
Date Ranges
Multiple Values
Combined Conditions (AND)
Combined Conditions (OR)
Complex Queries with Grouping
URL-Encoded Example
Important Notes
| ||||||||||||||||||||||||||||||||||||||||||||||||
| filter | any Simple search filter using key-value pairs with nested properties. Filter results by specifying field paths and comparison operators. Filter Syntax
Supported Operators
WildcardsUse wildcards within string values along with the LIKE or ILIKE operators for pattern matching:
Examples:
Use ExamplesSimple Equality
Nested Properties
Numeric Comparisons
Multiple Values (IN operator)
Multiple Filters (AND logic)
OR Logic within a Single Filter
URL-Encoded Example
Nested Property PathsUse dot notation to filter on nested/related objects:
Important Notes
| ||||||||||||||||||||||||||||||||||||||||||||||||
| 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",
- "attritbutes": {
- "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"
}
]
}
}, - "meta": {
- "moduleVersion": "string"
}, - "relationships": {
- "attachment": {
- "data": [
- {
- "type": "metadata",
- "id": "8f68a05f-937d-4d40-88b4-ed92720d9c3f"
}
]
}
}
}
], - "meta": {
- "moduleVersion": "string",
- "totalResourceCount": 0
}
}Adds an assemblage
Assemblage to add
required | object |
{- "data": {
- "type": "assemblage",
- "attritbutes": {
- "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"
}
]
}
}
}
}{- "data": {
- "id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
- "type": "assemblage",
- "attritbutes": {
- "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"
}
]
}
}, - "meta": {
- "moduleVersion": "string"
}, - "relationships": {
- "attachment": {
- "data": [
- {
- "type": "metadata",
- "id": "8f68a05f-937d-4d40-88b4-ed92720d9c3f"
}
]
}
}
}, - "links": {
- "self": "${dina.apiPrefix}/assemblage/019c0600-b7dd-75db-8601-86c57232b36f\"",
- "meta": {
- "isTemplated": true
}
}, - "meta": {
- "moduleVersion": "string"
}
}Returns a single assemblage
| Id required | string <uuid> ID of assemblage to return |
{- "data": {
- "id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
- "type": "assemblage",
- "attritbutes": {
- "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"
}
]
}
}, - "meta": {
- "moduleVersion": "string"
}, - "relationships": {
- "attachment": {
- "data": [
- {
- "type": "metadata",
- "id": "8f68a05f-937d-4d40-88b4-ed92720d9c3f"
}
]
}
}
}, - "meta": {
- "moduleVersion": "string"
}
}Update an assemblage
| Id required | string <uuid> Assemblage id to patch |
Assemblage to add
required | object |
{- "data": {
- "id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
- "type": "assemblage",
- "attritbutes": {
- "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"
}
]
}
}
}
}{- "data": {
- "id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
- "type": "assemblage",
- "attritbutes": {
- "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"
}
]
}
}, - "meta": {
- "moduleVersion": "string"
}, - "relationships": {
- "attachment": {
- "data": [
- {
- "type": "metadata",
- "id": "8f68a05f-937d-4d40-88b4-ed92720d9c3f"
}
]
}
}
}, - "meta": {
- "moduleVersion": "string"
}
}delete an assemblage
| Id required | string <uuid> Assemblage id to delete |
{- "errors": [
- {
- "status": "400 BAD_REQUEST",
- "code": "400",
- "title": "Bad Request",
- "detail": "Invalid UUID string: 019c0576-3ba6-7b64-b45"
}
]
}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"
}, - "meta": {
- "permissionsProvider": "GroupAuthorizationService",
- "permissions": [
- "create",
- "update",
- "delete"
]
}
}
], - "meta": {
- "moduleVersion": "string",
- "totalResourceCount": 0
}
}Adds a Form Template
Form Template to add
required | object |
{- "data": {
- "type": "form-template",
- "attributes": {
- "name": "string",
- "group": "string",
- "restrictToCreatedBy": true,
- "viewConfiguration": { },
- "components": [
- { }
]
}
}
}{- "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"
}, - "meta": {
- "permissionsProvider": "GroupAuthorizationService",
- "permissions": [
- "create",
- "update",
- "delete"
]
}
}, - "links": {
- "self": "${dina.apiPrefix}/form-template/019c0600-b7dd-75db-8601-86c57232b36f",
- "meta": {
- "isTemplated": true
}
}, - "meta": {
- "moduleVersion": "string"
}
}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"
}, - "meta": {
- "permissionsProvider": "GroupAuthorizationService",
- "permissions": [
- "create",
- "update",
- "delete"
]
}
}, - "meta": {
- "moduleVersion": "string"
}
}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": [
- { }
]
}
}
}{- "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"
}, - "meta": {
- "permissionsProvider": "GroupAuthorizationService",
- "permissions": [
- "create",
- "update",
- "delete"
]
}
}, - "meta": {
- "moduleVersion": "string"
}
}delete a Form Template
| Id required | string <uuid> Form Template id to delete |
{- "errors": [
- {
- "status": "400 BAD_REQUEST",
- "code": "400",
- "title": "Bad Request",
- "detail": "Invalid UUID string: 019c0576-3ba6-7b64-b45"
}
]
}By passing in query string, user can get available organisms authorised
| fiql | string FIQL (Feed Item Query Language) filter for querying resources. FIQL provides a URI-friendly syntax for expressing filters. This parameter is supported across most DINA collection APIs for consistent querying. FIQL cannot be applied to nested fields. FIQL Syntax
Comparison Operators
Logical Operators
WildcardsUse wildcards within string values for pattern matching:
Examples:
Use Query ExamplesSimple Queries
Wildcard Searches
Numeric Comparisons
Date Ranges
Multiple Values
Combined Conditions (AND)
Combined Conditions (OR)
Complex Queries with Grouping
URL-Encoded Example
Important Notes
| ||||||||||||||||||||||||||||||||||||||||||||||||
| filter | any Simple search filter using key-value pairs with nested properties. Filter results by specifying field paths and comparison operators. Filter Syntax
Supported Operators
WildcardsUse wildcards within string values along with the LIKE or ILIKE operators for pattern matching:
Examples:
Use ExamplesSimple Equality
Nested Properties
Numeric Comparisons
Multiple Values (IN operator)
Multiple Filters (AND logic)
OR Logic within a Single Filter
URL-Encoded Example
Nested Property PathsUse dot notation to filter on nested/related objects:
Important Notes
| ||||||||||||||||||||||||||||||||||||||||||||||||
| 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"
}
}
]
}, - "meta": {
- "permissionsProvider": "GroupAuthorizationService",
- "permissions": [
- "create",
- "update",
- "delete"
]
}
}
], - "meta": {
- "moduleVersion": "string",
- "totalResourceCount": 0
}
}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"
}
}
]
}
}
}{- "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"
}
}
]
}, - "meta": {
- "permissionsProvider": "GroupAuthorizationService",
- "permissions": [
- "create",
- "update",
- "delete"
]
}
}, - "links": {
- "self": "${dina.apiPrefix}/organism/019c0600-b7dd-75db-8601-86c57232b36f",
- "meta": {
- "isTemplated": true
}
}, - "meta": {
- "moduleVersion": "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"
}
}
]
}, - "meta": {
- "permissionsProvider": "GroupAuthorizationService",
- "permissions": [
- "create",
- "update",
- "delete"
]
}
}, - "meta": {
- "moduleVersion": "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"
}
}
]
}
}
}{- "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"
}
}
]
}, - "meta": {
- "permissionsProvider": "GroupAuthorizationService",
- "permissions": [
- "create",
- "update",
- "delete"
]
}
}, - "meta": {
- "moduleVersion": "string"
}
}delete a organism
| Id required | string <uuid> organism id to delete |
{- "errors": [
- {
- "status": "400 BAD_REQUEST",
- "code": "400",
- "title": "Bad Request",
- "detail": "Invalid UUID string: 019c0576-3ba6-7b64-b45"
}
]
}By passing in query string, user can get available protocol types authorised
| fiql | string FIQL (Feed Item Query Language) filter for querying resources. FIQL provides a URI-friendly syntax for expressing filters. This parameter is supported across most DINA collection APIs for consistent querying. FIQL cannot be applied to nested fields. FIQL Syntax
Comparison Operators
Logical Operators
WildcardsUse wildcards within string values for pattern matching:
Examples:
Use Query ExamplesSimple Queries
Wildcard Searches
Numeric Comparisons
Date Ranges
Multiple Values
Combined Conditions (AND)
Combined Conditions (OR)
Complex Queries with Grouping
URL-Encoded Example
Important Notes
| ||||||||||||||||||||||||||||||||||||||||||||||||
| filter | any Simple search filter using key-value pairs with nested properties. Filter results by specifying field paths and comparison operators. Filter Syntax
Supported Operators
WildcardsUse wildcards within string values along with the LIKE or ILIKE operators for pattern matching:
Examples:
Use ExamplesSimple Equality
Nested Properties
Numeric Comparisons
Multiple Values (IN operator)
Multiple Filters (AND logic)
OR Logic within a Single Filter
URL-Encoded Example
Nested Property PathsUse dot notation to filter on nested/related objects:
Important Notes
| ||||||||||||||||||||||||||||||||||||||||||||||||
| 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"
}
]
}
]
}, - "meta": {
- "permissionsProvider": "GroupAuthorizationService",
- "permissions": [
- "create",
- "update",
- "delete"
]
}, - "relationships": {
- "attachments": {
- "data": [
- {
- "type": "metadata",
- "id": "8f68a05f-937d-4d40-88b4-ed92720d9c3f"
}
]
}
}
}
], - "meta": {
- "moduleVersion": "string",
- "totalResourceCount": 0
}
}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"
}
]
}
}
}
}{- "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"
}
]
}
]
}, - "meta": {
- "permissionsProvider": "GroupAuthorizationService",
- "permissions": [
- "create",
- "update",
- "delete"
]
}, - "relationships": {
- "attachments": {
- "data": [
- {
- "type": "metadata",
- "id": "8f68a05f-937d-4d40-88b4-ed92720d9c3f"
}
]
}
}
}, - "links": {
- "self": "${dina.apiPrefix}/protocol/019c0600-b7dd-75db-8601-86c57232b36f",
- "meta": {
- "isTemplated": true
}
}, - "meta": {
- "moduleVersion": "string"
}
}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"
}
]
}
]
}, - "meta": {
- "permissionsProvider": "GroupAuthorizationService",
- "permissions": [
- "create",
- "update",
- "delete"
]
}, - "relationships": {
- "attachments": {
- "data": [
- {
- "type": "metadata",
- "id": "8f68a05f-937d-4d40-88b4-ed92720d9c3f"
}
]
}
}
}, - "meta": {
- "moduleVersion": "string"
}
}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"
}
]
}
}
}
}{- "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"
}
]
}
]
}, - "meta": {
- "permissionsProvider": "GroupAuthorizationService",
- "permissions": [
- "create",
- "update",
- "delete"
]
}, - "relationships": {
- "attachments": {
- "data": [
- {
- "type": "metadata",
- "id": "8f68a05f-937d-4d40-88b4-ed92720d9c3f"
}
]
}
}
}, - "meta": {
- "moduleVersion": "string"
}
}delete a protocol
| Id required | string <uuid> protocol id to delete |
{- "errors": [
- {
- "status": "400 BAD_REQUEST",
- "code": "400",
- "title": "Bad Request",
- "detail": "Invalid UUID string: 019c0576-3ba6-7b64-b45"
}
]
}By passing in query string, user can get available storage unit authorised
| fiql | string FIQL (Feed Item Query Language) filter for querying resources. FIQL provides a URI-friendly syntax for expressing filters. This parameter is supported across most DINA collection APIs for consistent querying. FIQL cannot be applied to nested fields. FIQL Syntax
Comparison Operators
Logical Operators
WildcardsUse wildcards within string values for pattern matching:
Examples:
Use Query ExamplesSimple Queries
Wildcard Searches
Numeric Comparisons
Date Ranges
Multiple Values
Combined Conditions (AND)
Combined Conditions (OR)
Complex Queries with Grouping
URL-Encoded Example
Important Notes
| ||||||||||||||||||||||||||||||||||||||||||||||||
| filter | any Simple search filter using key-value pairs with nested properties. Filter results by specifying field paths and comparison operators. Filter Syntax
Supported Operators
WildcardsUse wildcards within string values along with the LIKE or ILIKE operators for pattern matching:
Examples:
Use ExamplesSimple Equality
Nested Properties
Numeric Comparisons
Multiple Values (IN operator)
Multiple Filters (AND logic)
OR Logic within a Single Filter
URL-Encoded Example
Nested Property PathsUse dot notation to filter on nested/related objects:
Important Notes
| ||||||||||||||||||||||||||||||||||||||||||||||||
| 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"
}
]
}, - "meta": {
- "permissionsProvider": "GroupAuthorizationService",
- "permissions": [
- "create",
- "update",
- "delete"
]
}, - "relationships": {
- "parentStorageUnit": {
- "data": {
- "type": "storage-unit",
- "id": "a600f9da-fcbe-4fef-9ae3-0f131ca05e0c"
}
}, - "storageUnitType": {
- "data": {
- "type": "storage-unit-type",
- "id": "a600f9da-fcbe-4fef-9ae3-0f131ca05e0c"
}
}
}
}
], - "meta": {
- "moduleVersion": "string",
- "totalResourceCount": 0
}
}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"
}
}
}
}
}{- "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"
}
]
}, - "meta": {
- "permissionsProvider": "GroupAuthorizationService",
- "permissions": [
- "create",
- "update",
- "delete"
]
}, - "relationships": {
- "parentStorageUnit": {
- "data": {
- "type": "storage-unit",
- "id": "a600f9da-fcbe-4fef-9ae3-0f131ca05e0c"
}
}, - "storageUnitType": {
- "data": {
- "type": "storage-unit-type",
- "id": "a600f9da-fcbe-4fef-9ae3-0f131ca05e0c"
}
}
}
}, - "links": {
- "meta": {
- "isTemplated": true
}
}, - "meta": {
- "moduleVersion": "string"
}
}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"
}
]
}, - "meta": {
- "permissionsProvider": "GroupAuthorizationService",
- "permissions": [
- "create",
- "update",
- "delete"
]
}, - "relationships": {
- "parentStorageUnit": {
- "data": {
- "type": "storage-unit",
- "id": "a600f9da-fcbe-4fef-9ae3-0f131ca05e0c"
}
}, - "storageUnitType": {
- "data": {
- "type": "storage-unit-type",
- "id": "a600f9da-fcbe-4fef-9ae3-0f131ca05e0c"
}
}
}
}, - "meta": {
- "moduleVersion": "string"
}
}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"
}
}
}
}
}{- "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"
}
]
}, - "meta": {
- "permissionsProvider": "GroupAuthorizationService",
- "permissions": [
- "create",
- "update",
- "delete"
]
}, - "relationships": {
- "parentStorageUnit": {
- "data": {
- "type": "storage-unit",
- "id": "a600f9da-fcbe-4fef-9ae3-0f131ca05e0c"
}
}, - "storageUnitType": {
- "data": {
- "type": "storage-unit-type",
- "id": "a600f9da-fcbe-4fef-9ae3-0f131ca05e0c"
}
}
}
}, - "meta": {
- "moduleVersion": "string"
}
}delete a storage unit
| Id required | string <uuid> storage unit id to delete |
{- "errors": [
- {
- "status": "400 BAD_REQUEST",
- "code": "400",
- "title": "Bad Request",
- "detail": "Invalid UUID string: 019c0576-3ba6-7b64-b45"
}
]
}By passing in query string, user can get available storage unit usage authorised
| fiql | string FIQL (Feed Item Query Language) filter for querying resources. FIQL provides a URI-friendly syntax for expressing filters. This parameter is supported across most DINA collection APIs for consistent querying. FIQL cannot be applied to nested fields. FIQL Syntax
Comparison Operators
Logical Operators
WildcardsUse wildcards within string values for pattern matching:
Examples:
Use Query ExamplesSimple Queries
Wildcard Searches
Numeric Comparisons
Date Ranges
Multiple Values
Combined Conditions (AND)
Combined Conditions (OR)
Complex Queries with Grouping
URL-Encoded Example
Important Notes
| ||||||||||||||||||||||||||||||||||||||||||||||||
| filter | any Simple search filter using key-value pairs with nested properties. Filter results by specifying field paths and comparison operators. Filter Syntax
Supported Operators
WildcardsUse wildcards within string values along with the LIKE or ILIKE operators for pattern matching:
Examples:
Use ExamplesSimple Equality
Nested Properties
Numeric Comparisons
Multiple Values (IN operator)
Multiple Filters (AND logic)
OR Logic within a Single Filter
URL-Encoded Example
Nested Property PathsUse dot notation to filter on nested/related objects:
Important Notes
| ||||||||||||||||||||||||||||||||||||||||||||||||
| 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"
}, - "meta": {
- "permissionsProvider": "GroupAuthorizationService",
- "permissions": [
- "create",
- "update",
- "delete"
]
}, - "relationships": {
- "storageUnit": {
- "data": {
- "type": "storage-unit",
- "id": "a600f9da-fcbe-4fef-9ae3-0f131ca05e0c"
}
}, - "storageUnitType": {
- "data": {
- "type": "storage-unit-type",
- "id": "01903c04-036f-7a54-9c44-3df6091fdcc6"
}
}
}
}
], - "meta": {
- "moduleVersion": "string",
- "totalResourceCount": 0
}
}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"
}
}
}
}
}{- "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"
}, - "meta": {
- "permissionsProvider": "GroupAuthorizationService",
- "permissions": [
- "create",
- "update",
- "delete"
]
}, - "relationships": {
- "storageUnit": {
- "data": {
- "type": "storage-unit",
- "id": "a600f9da-fcbe-4fef-9ae3-0f131ca05e0c"
}
}, - "storageUnitType": {
- "data": {
- "type": "storage-unit-type",
- "id": "01903c04-036f-7a54-9c44-3df6091fdcc6"
}
}
}
}, - "links": {
- "self": "/storage-unit-usage/d290f1ee-6c54-4b01-90e6-d701748f0851",
- "meta": {
- "isTemplated": true
}
}, - "meta": {
- "moduleVersion": "string"
}
}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"
}, - "meta": {
- "permissionsProvider": "GroupAuthorizationService",
- "permissions": [
- "create",
- "update",
- "delete"
]
}, - "relationships": {
- "storageUnit": {
- "data": {
- "type": "storage-unit",
- "id": "a600f9da-fcbe-4fef-9ae3-0f131ca05e0c"
}
}, - "storageUnitType": {
- "data": {
- "type": "storage-unit-type",
- "id": "01903c04-036f-7a54-9c44-3df6091fdcc6"
}
}
}
}, - "meta": {
- "moduleVersion": "string"
}
}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"
}
}
}
}
}{- "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"
}, - "meta": {
- "permissionsProvider": "GroupAuthorizationService",
- "permissions": [
- "create",
- "update",
- "delete"
]
}, - "relationships": {
- "storageUnit": {
- "data": {
- "type": "storage-unit",
- "id": "a600f9da-fcbe-4fef-9ae3-0f131ca05e0c"
}
}, - "storageUnitType": {
- "data": {
- "type": "storage-unit-type",
- "id": "01903c04-036f-7a54-9c44-3df6091fdcc6"
}
}
}
}, - "meta": {
- "moduleVersion": "string"
}
}delete a storage unit usage
| Id required | string <uuid> storage unit usage id to delete |
{- "errors": [
- {
- "status": "400 BAD_REQUEST",
- "code": "400",
- "title": "Bad Request",
- "detail": "Invalid UUID string: 019c0576-3ba6-7b64-b45"
}
]
}