Survey Questions

Survey questions can be displayed to operators on order save.

Http Verb Operation
Get ReferenceData/SurveyQuestions/{id}?filter={filter}&maintenanceMode={maintenanceMode} 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: 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).

GetAll ReferenceData/SurveyQuestions?modeOfSaleId={modeOfSaleId}&filter={filter}&maintenanceMode={maintenanceMode} 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: 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.

GetDataFor ReferenceData/SurveyQuestions/Data?questionId={questionId} Get answer data for a survey question if it refers to another reference table.
GET Method: GetDataFor, URL: ReferenceData/SurveyQuestions/Data?questionId={questionId} Test

Get answer data for a survey question if it refers to another reference table.

GetSummaries ReferenceData/SurveyQuestions/Summary Get a summary representation of all survey questions.
GET Method: GetSummaries, URL: ReferenceData/SurveyQuestions/Summary Test

Get a summary representation of all survey questions.

Create ReferenceData/SurveyQuestions Create a new survey question.
POST Method: Create, URL: ReferenceData/SurveyQuestions Test

Create a new survey question.

Update ReferenceData/SurveyQuestions/{id} Update an existing survey question.
PUT Method: Update, URL: ReferenceData/SurveyQuestions/{id} Test

Update an existing survey question.

Delete ReferenceData/SurveyQuestions/{id} Delete an existing survey question.
DELETE Method: Delete, URL: ReferenceData/SurveyQuestions/{id} Test

Delete an existing survey question.