This API will allow supplier to pull down list of all questions associated with the specified category ( i.e. category passed in request). These questions are used as survey criteria and will be helpful to match user’s profile with survey criteria.
Request
Path Params
Header Params
Request Code Samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request GET 'https://supplier.innovatemr.net/api/v2/supply/getQuestionsByCategory/' \
--header'x-access-token;'
Responses
🟢200OK
application/json
Body
Example
{"apiStatus":"success","msg":"Questions are successfully fetched","result":[{"QuestionId":801,"QuestionText":"ma hi easimat alhind?","QuestionKey":"TESTING_A_8012","QuestionType":"Single Punch","language":"ARABIC","country":"US"},{"QuestionId":804,"QuestionText":"'ayn taeish?","QuestionKey":"TESTING_AB_804","QuestionType":"Single Punch","language":"ARABIC","country":"US"}]}