lib/debt_management_center/financial_status_report_service.rb
##
# Submit a financial status report to the Debt Management Center
#
# @param form [JSON] JSON serialized form data of a Financial Status Report form (VA-5655)
# @return [Hash]
#
Submit a financial status report to the Debt Management Center
Submit a financial status report to the Debt Management Center
def submit_financial_status_report(form)
      with_monitoring_and_error_handling do
        form = camelize(form)
        raise_client_error unless form.key?('personalIdentification')
        form['personalIdentification']['fileNumber'] = @file_number
        set_certification_date(form)
        response = DebtManagementCenter::FinancialStatusReportResponse.new(
          perform(:post, 'financial-status-report/formtopdf', form).body
        )
        update_filenet_id(response)
        { status: response.status }
      end
    end
def submit_financial_status_report ( form ) with_monitoring_and_error_handling do form = camelize ( form ) raise_client_error unless form . key? ( 'personalIdentification' ) form [ 'personalIdentification' ] [ 'fileNumber' ] = @file_number set_certification_date ( form ) response = DebtManagementCenter :: FinancialStatusReportResponse . new ( perform ( :post , 'financial-status-report/formtopdf' , form ) . body ) update_filenet_id ( response ) { status : response . status } end end
Submit a financial status report to the Debt Management Center
Submit a financial status report to the Debt Management Center
None
Hash
form
JSON serialized form data of a Financial Status Report form (VA-5655)
JSON serialized form data of a Financial Status Report form ( VA - 5655 )