Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Request (if qualification exists on survey)


Code Block
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

Code Block
languagejson
[
    {
        "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)


Code Block
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

Code Block
languagejson
[]


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