Check if analysis is running

isAnalysisRunning

URL

/api/v1/isAnalysisRunning

Description

Checks the status of the analysis. Returns JSON with true and message if any analysis is running in that user account.

Method

POST

Request query parameters

userId

String. Mandatory.

UserId

Example request

https://ionreporter.thermofisher.com/api/v1/isAnalysisRunning

Request headers

Content-Type: application/x-www-form-urlencoded

Authorization:API Token

Returns

{ "status":true, "message":"success"}

Response fields

Status code

Response message

200

Successful response

400

Bad request

404

Not found

401

User is not authenticated

500

Error occurred

Curl command

curl -X POST -k https://<server name>/api/v1/isAnalysisRunning -H "Content-Type:application/x-www-form-urlencoded" -H
"Authorization:NjMyZmUwODMzOTY3YzVhYzA1OGE5M2I4ZjMyZWY0ZmY1NWQ0YzgyYzhjOTJmZTBjZjZkZTg2N2QxZjA3MGZlMA" -d "userId=100"