Skip to content

526ez | Count user provided supporting evidence file uploads for 526 claims  #42995

Open
@michelpmcdonald

Description

@michelpmcdonald

Create a ruby script to run in production to count the % of claims filed through vets-api that have user supplied files attached.

Based on this slack conversation:

https://dsva.slack.com/archives/C5AGLBNRK/p1655248009960399

Matt Self and Emily "Fast Track" Theis want to count user supplied 526 file uploads. Specifically, they are after the percent of claims submitted through vets-api that have user supplied files.

For the initial count, we can look at the Form526Submissions table. Filter on successfully submitted claims and the user attached files are down in the From526Submission record form_json field.

For CST file uploads, the endpoint is:
v0/evss_claims/<claim_id>/documents
So for example https://staging-api.va.gov/v0/evss_claims/600307936/documents

Follow that code, but the files might end up in the form_attachments table.

Some very basic notes I jotted down:
https://docs.google.com/document/d/1fOPZWyfcoWFJZ2LNne4rgK-OcDptg5bUqoLA5rSVLMA/edit

  • ruby script to run in production to count the % of claims filed through vets-api that have user supplied files attached

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    526v 1 and 2

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions