Skip to content

restfull service #1023

@Nuadire

Description

@Nuadire

Are you requesting a feature, reporting a bug or ask a question?

Questions and suggestion

Provide the test code and the tested page URL (if applicable)

https://surveyjs.io/Examples/Library/?id=questiontype-dropdownrestfull&platform=jQuery&theme=default

A new choicesByUrl attribute/object has been added into dropdown, radio and checkox questions.
valueName: string - the name of the value in the json array. If it is empty, the first attribute is used.

I can do what would return an object, not a value. This possibility is very necessary.
example: result: {"question1":[{"chapterId":"1", "name": "abc", "image":"http://something.png"}]}

Test the service - Does it work?testTheService.PNG

path: string - the path the data from returning json. For example, for this service, the path will be: "RestResponse;result".
have a suggestion to use: http://jsonpath.com/

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions