The service and client that integrate with the Travel Pay API have been written and tested. We need to expose an endpoint for SMOC and future use. This endpoint fires the sidekiq worker that:
creates the claim
attaches the mileage expense
submits the claim
Impact
Allows completion of SMOC work
Endpoint Path
/travel_pay/v0/claims
Request body
{
"appointmentId": "UUID"
}
Response Schema
202 Accepted
{
"message": "message here?"
}
Back end tasks
[ ] ~Client code written - calls correct endpoint~
[ ] ~Service code written - transforms/processes response from client~
Issue Description
Context
The service and client that integrate with the Travel Pay API have been written and tested. We need to expose an endpoint for SMOC and future use. This endpoint fires the sidekiq worker that:
Impact
Allows completion of SMOC work
Endpoint Path
/travel_pay/v0/claims
Request body
Response Schema
Back end tasks
Acceptance Criteria