This service will get spectral data in a binary chunk. It requires a speclogid that can be obtained through the getDatasetCollection service. You can optionally provide a start and end sample number to restrict the range of data returned. The data will be returned as 4 byte floating point numbers. You will need to use the spectral log's 'wavelengths' string array to determine how many floats to expect per sample.
Parameter | Description | Required | Example values |
---|---|---|---|
speclogid | obtained by looking at the spectral logs returned by calling the getDatasetCollection service | yes | 3923f5f9-08f3-415f-8503-7578ab1d784 |
startsampleno | the sample number of the first spectrum to be returned | no, Default value=0 | 0 |
endsampleno | the sample number of the last spectrum to be returned | no, Default value=999999 | 10 |
outputformat | binary or json | no | json |
A stadard query for spectral data: getspectraldata.html?speclogid=3923f5f9-08f3-415f-8503-7578ab1d784&startsampleno=0&endsampleno=10