Skip to content

Commit

Permalink
API-27180-add-526-v2-getpdf-endpoint (#12913)
Browse files Browse the repository at this point in the history
* Adds /526/getPDF endpoint (GET)
* Adds Route in routes file for the endpoint

Changes to be committed:
	modified:   modules/claims_api/app/controllers/claims_api/v2/veterans/disability_compensation_controller.rb
	modified:   modules/claims_api/config/routes.rb
  • Loading branch information
rockwellwindsor-va authored Jun 12, 2023
1 parent 044c7ed commit 1fb4da3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ def validate; end

def attachments; end

def get_pdf
# Returns filled out 526EZ form as PDF
end

private

def pdf_mapper_service(auto_claim, pdf_data, target_veteran)
Expand Down
1 change: 1 addition & 0 deletions modules/claims_api/config/routes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@
post '/:veteranId/526', to: 'disability_compensation#submit'
post '/:veteranId/526/validate', to: 'disability_compensation#validate'
post '/:veteranId/526/attachments', to: 'disability_compensation#attachments'
get '/:veteranId/526/getPDF', to: 'disability_compensation#get_pdf'
end
end

Expand Down

0 comments on commit 1fb4da3

Please sign in to comment.