Getting Question Options
Gets a list of question options for a question on a collect page.
Method Info
| Url | https://www.payitsquare.com/api/v1/collect-page/{CollectPageId}/question/{QuestionId}/options |
|---|---|
| Verb | GET |
| Headers | X-PayItSquare-AppKey, X-PayItSquare-Token |
| {CollectPageId} | The id of the collect page. |
| {QuestionId} | The id of the question. |
Output
| Property | Data Type | Other Info |
|---|---|---|
| Id | Guid | The Id of the question option. |
| OptionText | String | The text for the option that the user will see. |
| SortOrder | Int32 | The order that the option will be displayed. |
Sample Get Output
[
{
"Id": "29c60a50-7c4c-4045-833f-e42be8f1967d",
"OptionText": "My Option",
"SortOrder": 2
},
{
"Id": "cf1b3840-a521-4a69-a076-a8e5487e4de0",
"OptionText": "My Option",
"SortOrder": 2
}
]





