This ticket defines implementing the vets-api endpoint for creating a claim and adding an expense, as well as implementing the client & service code for calling the submit endpoint on the travel pay API (below).
Essentially the wrapper logic for:
Creating a claim - #92324
Adding an expense - #92329
Submitting the claim - #92256
Impact
Doing this will allow us to submit a claim for the Veteran.
Notes
The idea is to not make vets-website call 3-4 endpoints to submit a claim, though that could be valid, comment below if you prefer one way or the other.
Endpoint Path
Local: POST http://localhost:3000/travel_pay/v0/claims
Issue Description
Context
This ticket defines implementing the vets-api endpoint for creating a claim and adding an expense, as well as implementing the client & service code for calling the submit endpoint on the travel pay API (below).
Essentially the wrapper logic for:
Impact
Doing this will allow us to submit a claim for the Veteran.
Notes
Endpoint Path
POST http://localhost:3000/travel_pay/v0/claims
https://staging-api.va.gov/travel_pay/v0/claims
https://api.va.gov/travel_pay/v0/claims
Response Schema
Back end tasks
Acceptance Criteria