You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Documents/public-api.md
+143Lines changed: 143 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -84,6 +84,149 @@ This documenatation describes de public HMDA Platform HTTP API
84
84
For a definition of these fields, please consult the [HMDA Filing Instructions Guide](http://www.consumerfinance.gov/data-research/hmda/static/for-filers/2017/2017-HMDA-FIG.pdf).
85
85
Please note that the Modified LAR does not include the fields `Loan Application Number`, `Date Application Received` or `Date of Action` described in HMDA Filing Instructions Guide.
86
86
87
+
## Check Digit
87
88
89
+
### Check digit generation
90
+
91
+
*`/uli/checkDigit`
92
+
93
+
*`POST` - Calculates check digit and full ULI from a loan id.
94
+
95
+
Example payload, in `JSON` format:
96
+
97
+
```json
98
+
{
99
+
"loanId": "10Bx939c5543TqA1144M999143X"
100
+
}
101
+
```
102
+
103
+
Example response:
104
+
105
+
```json
106
+
{
107
+
"loanId": "10Cx939c5543TqA1144M999143X",
108
+
"checkDigit": 10,
109
+
"uli": "10Cx939c5543TqA1144M999143X10"
110
+
}
111
+
```
112
+
113
+
A file with a list of Loan Ids can also be uploaded to this endpoint for batch check digit generation.
114
+
115
+
Example file contents:
116
+
117
+
```
118
+
10Cx939c5543TqA1144M999143X
119
+
10Bx939c5543TqA1144M999143X
120
+
```
121
+
122
+
Example response in `JSON` format:
123
+
124
+
```json
125
+
{
126
+
"loanIds": [
127
+
{
128
+
"loanId": "10Bx939c5543TqA1144M999143X",
129
+
"checkDigit": 38,
130
+
"uli": "10Bx939c5543TqA1144M999143X38"
131
+
},
132
+
{
133
+
"loanId": "10Cx939c5543TqA1144M999143X",
134
+
"checkDigit": 10,
135
+
"uli": "10Cx939c5543TqA1144M999143X10"
136
+
}
137
+
]
138
+
}
139
+
```
140
+
141
+
*`/uli/checkDigit/csv`
142
+
143
+
*`POST` - calculates check digits for loan ids submitted as a file
0 commit comments