Get all qualifications of a survey

Request (if qualification exists on survey)


GET $apihost/$basepath/surveys/7654/qualifications

($apihost is the environment against which you are testing, and $basepath is the base path with the api version. All Buy API calls will require access-token parameter in the header) 

Response


Response Code

200

Response Body

[ { "condition_codes": [ "111", "112" ], "qualification_code": 211 }, { "range_sets": [ { "from": 1, "to": 999999, "units": 321 } ], "qualification_code": 213 }, ]

 

Request (if qualification does not exists on survey)


GET $apihost/$basepath/surveys/7654/qualifications

($apihost is the environment against which you are testing, and $basepath is the base path with the api version. All Buy API calls will require access-token parameter in the header) 

Response


Response Code

200

Response Body

[]


Ticket reference:
https://purespectrum.atlassian.net/browse/PD-4277