GET /external/api/v3/basequestion
Get a list of all base questions.
Request Information
URI Parameters
Name | Description | Type | Additional information | Nullable |
---|---|---|---|---|
DateFilter | DateFilter |
None |
False | |
QuestionTypes |
Filter on specific question types, contact your expoints experience manager for more information about the various options Most frequently used: 1 (Flexible), 2 (Continue), 3 (Open). |
Collection of integer |
None |
False |
DataFilters | Collection of CustomerDataFilter |
None |
False |
Body Parameters
None.
Response Information
Resource Description
List of base questions.
GetBaseQuestionResponseName | Description | Type | Additional information | Nullable |
---|---|---|---|---|
BaseQuestions | Collection of BaseQuestion |
None |
False |
Response Formats
application/json, text/json
Sample:
{ "BaseQuestions": [ { "Id": 1, "Description": "sample string 2", "QuestionType": "sample string 3", "CalculationType": "sample string 4", "ScalePositions": [ { "Id": 1, "Label": "sample string 1", "Value": 2, "TopN": true, "BottomN": true, "Sequence": 5 }, { "Id": 1, "Label": "sample string 1", "Value": 2, "TopN": true, "BottomN": true, "Sequence": 5 } ] }, { "Id": 1, "Description": "sample string 2", "QuestionType": "sample string 3", "CalculationType": "sample string 4", "ScalePositions": [ { "Id": 1, "Label": "sample string 1", "Value": 2, "TopN": true, "BottomN": true, "Sequence": 5 }, { "Id": 1, "Label": "sample string 1", "Value": 2, "TopN": true, "BottomN": true, "Sequence": 5 } ] } ] }
application/xml, text/xml
Sample:
<GetBaseQuestionResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Expoints.API.Extern.V3.Responses"> <BaseQuestions xmlns:d2p1="http://schemas.datacontract.org/2004/07/Expoints.API.Extern.V3.Models"> <d2p1:BaseQuestion> <d2p1:CalculationType>sample string 4</d2p1:CalculationType> <d2p1:Description>sample string 2</d2p1:Description> <d2p1:Id>1</d2p1:Id> <d2p1:QuestionType>sample string 3</d2p1:QuestionType> <d2p1:ScalePositions> <d2p1:BaseQuestionScalePosition> <d2p1:BottomN>true</d2p1:BottomN> <d2p1:Id>1</d2p1:Id> <d2p1:Label>sample string 1</d2p1:Label> <d2p1:Sequence>5</d2p1:Sequence> <d2p1:TopN>true</d2p1:TopN> <d2p1:Value>2</d2p1:Value> </d2p1:BaseQuestionScalePosition> <d2p1:BaseQuestionScalePosition> <d2p1:BottomN>true</d2p1:BottomN> <d2p1:Id>1</d2p1:Id> <d2p1:Label>sample string 1</d2p1:Label> <d2p1:Sequence>5</d2p1:Sequence> <d2p1:TopN>true</d2p1:TopN> <d2p1:Value>2</d2p1:Value> </d2p1:BaseQuestionScalePosition> </d2p1:ScalePositions> </d2p1:BaseQuestion> <d2p1:BaseQuestion> <d2p1:CalculationType>sample string 4</d2p1:CalculationType> <d2p1:Description>sample string 2</d2p1:Description> <d2p1:Id>1</d2p1:Id> <d2p1:QuestionType>sample string 3</d2p1:QuestionType> <d2p1:ScalePositions> <d2p1:BaseQuestionScalePosition> <d2p1:BottomN>true</d2p1:BottomN> <d2p1:Id>1</d2p1:Id> <d2p1:Label>sample string 1</d2p1:Label> <d2p1:Sequence>5</d2p1:Sequence> <d2p1:TopN>true</d2p1:TopN> <d2p1:Value>2</d2p1:Value> </d2p1:BaseQuestionScalePosition> <d2p1:BaseQuestionScalePosition> <d2p1:BottomN>true</d2p1:BottomN> <d2p1:Id>1</d2p1:Id> <d2p1:Label>sample string 1</d2p1:Label> <d2p1:Sequence>5</d2p1:Sequence> <d2p1:TopN>true</d2p1:TopN> <d2p1:Value>2</d2p1:Value> </d2p1:BaseQuestionScalePosition> </d2p1:ScalePositions> </d2p1:BaseQuestion> </BaseQuestions> </GetBaseQuestionResponse>
Response Status Codes
Status Code | Name | Description |
---|---|---|
200 | OK | The request has succeeded. |
400 | Bad Request | Fulfilling the request would cause an invalid state. Request needs modification. |
401 | Unauthorized | Missing or invalid authentication token. |
403 | Forbidden | Server refuses to authorize the request. |
408 | Request Timeout | The server timed out waiting for the request. |
429 | Too Many Requests | Too many requests in a given amount of time. |
500 | Internal Server Error | The server encountered an unexpected condition which prevented it from fulfilling the request. |
503 | Service Unavailable | The server is unable to proces the request at the moment, try again later. |