Survey questions can be displayed to operators on order save.
Http Verb | Operation | ||
---|---|---|---|
GET | Method: Get, URL: ReferenceData/SurveyQuestions/{id}?filter={filter}&maintenanceMode={maintenanceMode} | Test | |
Get the details of a survey question by id. To get the resource only if the user has write/edit access, pass filter="writeonly". To get the resources in maintenance mode(ignore Control Groups), pass maintenanceMode="true". Maintenance mode requires users to have access to the reference tables. (Specified in TX_REFTABLE_USERGROUP). |
|||
GET | Method: GetAll, URL: ReferenceData/SurveyQuestions?modeOfSaleId={modeOfSaleId}&filter={filter}&maintenanceMode={maintenanceMode} | Test | |
Get details of all survey questions. To get only the resources for which the user has write/edit access, pass filter="writeonly". To get them in maintenance mode (which ignores Control Groups), pass maintenanceMode="true". Maintenance mode requires users to have access to the reference tables. (Specified in TX_REFTABLE_USERGROUP). Optionally provide a mode of sale id. |
|||
GET | Method: GetDataFor, URL: ReferenceData/SurveyQuestions/Data?questionId={questionId} | Test | |
Get answer data for a survey question if it refers to another reference table. |
|||
GET | Method: GetSummaries, URL: ReferenceData/SurveyQuestions/Summary | Test | |
Get a summary representation of all survey questions. |
|||
POST | Method: Create, URL: ReferenceData/SurveyQuestions | Test | |
Create a new survey question. |
|||
PUT | Method: Update, URL: ReferenceData/SurveyQuestions/{id} | Test | |
Update an existing survey question. |
|||
DELETE | Method: Delete, URL: ReferenceData/SurveyQuestions/{id} | Test | |
Delete an existing survey question. |