Skip to main content

Application Rating


Use Application Rating to collect feedback about the Air Doctor service.



This screen includes:

#ElementDescription
1Feedback modalCollects service feedback.
2Modal titleDisplays Your opinion matters.
3Close actionCloses the modal.
4BrandingDisplays the Air Doctor logo.
5Rating titleDisplays Rate Air Doctor’s service.
6Rating questionAsks for recommendation likelihood.
7Rating scaleLets the user select a score from 0 to 10.
8Rating labelsDefines 0 = Not likely and 10 = Very likely.
9Feedback text fieldAccepts optional feedback.
10Character limit hintShows the 200-character limit.
11Contact consent checkboxLets the user agree to follow-up contact.
12Submit actionSubmits the feedback.

Workflow

  1. Open the application rating screen.
  2. Select a rating from 0 to 10.
  3. Enter optional feedback.
  4. Select contact consent when applicable.
  5. Submit the application rating.
  6. Continue to the next rating step or confirmation state.

Validations

ScenarioApp behaviorSDK output
Rating not selectedDisable Submitvalidation = rating_required
Rating selectedEnable Submitrating = selected
Feedback exceeds character limitDisplay character limit statevalidation = max_length_exceeded
Feedback within character limitAccept feedback textfeedback = valid
Contact consent selectedSave follow-up consentcontactConsent = true
Rating submittedContinue rating flowrating = submitted
Request rejectedDisplay error statestatus = 405

Actions

ScenarioApp behaviorSDK output
Application rating opensLoad application rating screenPUT /api/v3/rating/application
Rating selectedUpdate selected ratingrating = updated
Feedback enteredUpdate feedback textfeedback = updated
Contact consent changedUpdate contact consent statecontactConsent = updated
Submit selectedSubmit application ratingPOST /api/v3/rating/application
Close selectedClose the modalstate = dismissed
Request rejectedPreserve current statestate = unchanged

Endpoint Resources

Application Rating

PUT 

v3/rating/application

Returns the application rating screen.

Proceed Application Rating

POST 

V3/rating/application

Submits the application rating.