- endpoint: "https://www2.donotcall.gov"
- submit_registration_url: endpoint + "/save-phone-registration",
- confirm_registration_url: endpoint + "/confirm-phone-registration",
- submit_verification_url: endpoint + "/save-phone-verification",
- submit_complaint_url: endpoint + "/save-complaint",
- complaint_step2_url: endpoint + "/complaint-step2" (Doesn't appear to be used)
- complaint_text_url: endpoint + "/complaint-text-message-link"
- phoneNumber
- dateOfCall
- timeOfCall
- minuteOfCall
- wasPrerecorded
- isMobileCall
- subjectMatter
- companyPhoneNumber
- companyName
- haveDoneBusiness
- askedToStop
- firstName
- lastName
- streetAddress1
- streetAddress2
- city
- state
- zip
- comments
- language
- validFlag
- Step 1
- Validation
- Send to URL dnc_app.config.complaint_step2_url
- Only data _model.phoneNumber, _model.dateOfCall
- Send to URL dnc_app.config.complaint_step2_url
- Outcomes
- DONE Outcomes
- 0 (full success)
- partials/report/step2InvalidPhoneRegistration
- partials/report/step2InGracePeriod
- Issue: run dnc_app.utils.getSupportId(e)
- FAIL Outcomes [1]
- DONE Outcomes
- Step 2
- Final validation
- validFlag not ""
- run chkConsumerCompanyPhone()
- 4 possible outcomes
- Subject Matter # 8 -> "partials/report/step2DebtCollectorCall"
- Subject Matter #15 -> "partials/report/step2SurveyCall"
- Text Message Step 2 -> "partials/report/step2MobileCall"
- Subject Matter Values
- 0 Unknown
- 1 Other
- 2 Dropped call or no message
- 3 Reducing your debt (credit cards, mortgage, student loans)
- 4 Calls pretending to be government, businesses, or family and friends
- 5 Medical & prescriptions
- 6 Home security & alarms
- 7 Computer & technical support
- 8 Debt collection
- 9 Energy, solar, & utilities
- 10 Home improvement & cleaning
- 11 Work from home & other ways to make money
- 12 Warranties & protection plans
- 13 Lotteries, prizes & sweepstakes
- 14 Vacation & timeshares
- 15 Surveys & political calls
- 16 Charities