GET api/Samples
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of SampleViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Sample | Sample |
None. |
|
| SpeciesCount | integer |
None. |
|
| FindingsCount | integer |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Sample": {
"id": 1,
"place": "sample string 2",
"province": "sample string 3",
"country": "sample string 4",
"xCoordinate": "sample string 5",
"yCoordinate": "sample string 6",
"expanse": "sample string 7",
"accuracy": 1.1,
"datetime": "2025-12-15T01:35:25.8434522+01:00",
"duration": 1,
"description": "sample string 8",
"sampleTypeOld": "sample string 9",
"source": "sample string 10",
"statusId": "sample string 11",
"lastChanged": "2025-12-15T01:35:25.8434522+01:00",
"publicName": "sample string 12",
"internalComment": "sample string 13",
"estimatedNoOfSpecies": 1,
"ap_Metod": "sample string 14",
"ap_Noggrannhet": "sample string 15",
"latitude": 1.0,
"longitude": 1.0,
"reportable_bool": true,
"protected_bool": true,
"habitatId": "sample string 18",
"methodId": "sample string 19",
"project": "sample string 20",
"depth": "sample string 21",
"reportable": 1
},
"SpeciesCount": 1,
"FindingsCount": 2
},
{
"Sample": {
"id": 1,
"place": "sample string 2",
"province": "sample string 3",
"country": "sample string 4",
"xCoordinate": "sample string 5",
"yCoordinate": "sample string 6",
"expanse": "sample string 7",
"accuracy": 1.1,
"datetime": "2025-12-15T01:35:25.8434522+01:00",
"duration": 1,
"description": "sample string 8",
"sampleTypeOld": "sample string 9",
"source": "sample string 10",
"statusId": "sample string 11",
"lastChanged": "2025-12-15T01:35:25.8434522+01:00",
"publicName": "sample string 12",
"internalComment": "sample string 13",
"estimatedNoOfSpecies": 1,
"ap_Metod": "sample string 14",
"ap_Noggrannhet": "sample string 15",
"latitude": 1.0,
"longitude": 1.0,
"reportable_bool": true,
"protected_bool": true,
"habitatId": "sample string 18",
"methodId": "sample string 19",
"project": "sample string 20",
"depth": "sample string 21",
"reportable": 1
},
"SpeciesCount": 1,
"FindingsCount": 2
}
]