Skip to content

Commit

Permalink
add documentation for public file validation endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
kgudel committed Aug 7, 2020
1 parent a377ae1 commit 63a26c4
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions docs/v2/api/public-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -474,5 +474,43 @@ This documentation describes de public HMDA Platform HTTP API
2|loan type is not numeric
```

### Parsing

* `hmda/validate/<year>`

* `POST` - Parses and validates a HMDA file.

Example response, in `JSON` format:

```json
{
"parserErrors": [
{
"rowNumber": 1,
"estimatedULI": "Transmittal Sheet",
"errorMessages": [
{
"fieldName": "Calendar Quarter",
"inputValue": "a",
"validValues": "Integer"
}
]
}
],
"validationErrors": [
[
{
"uli": "B90YWS6AFX2LGWOXJ1LDNIXOQ6OO7BRA5SLR6FSJJ5R89",
"editName": "V619-2",
"editDescription": "\"The Action Taken Date must be in the reporting year.\"",
"fields": {
"Action Taken Date": "20180908",
"Application Date": "NA"
}
}
]
]
}
```


0 comments on commit 63a26c4

Please sign in to comment.