Get available cancer types

getAvailableCancerType

URL

/api/v1/getAvailableCancerType

Description

Returns the list of all available cancer types defined in attribute-controlled vocabulary.

Method

POST

Example request

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

Request headers

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

Authorization:API Token

Returns

 ["Bladder Cancer","Breast Cancer","Colorectal Cancer","Endometrial Cancer",
"Esophageal Cancer","Gastric Cancer","Gastrointestinal Stromal Tumor","Glioblastoma"
,"Head and Neck Cancer","Kidney Cancer","Liver Cancer","Melanoma","Mesothelioma",
"Non-Small Cell Lung Cancer","Osteosarcoma","Ovarian Cancer","Pancreatic Cancer",
"Prostate Cancer","Skin Basal Cell Carcinoma","Small Cell Lung Cancer",
"Soft Tissue Sarcoma","Testicular Cancer","Thyroid Cancer","Unknown"] 
				  

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/getAvailableCancerType -H "Content-Type:application/x-www-form-urlencoded" -H "Authorization:NDliYmU0OWE4MzA3YmE2MWVmMjhlZTlhOTEyMmE5ODM0NzU3NjQ4OGM5NzVjODU3YjdlMWM4Mjk3OGYzODE4Yw"