The fannie-mae integration is used to convert to an from the FNM 3.2 File Format
| Method | URI | Headers | 
|---|---|---|
| POST | /api/v1/integrations/fannie-mae/fnm-v32 | 
{"Authorization": "Bearer {access_token}"} | 
{
    "data"    : "[loan object]"
}
{success} Success Response
200{
  "data"    : "[loan object]"
}
| Method | URI | Headers | 
|---|---|---|
| POST | /api/v1/integrations/fannie-mae/fnm-v32/data | 
{"Authorization": "Bearer {access_token}"} | 
{
  "data"    : "[loan object]"
}
{success} Success Response
200{
    "data"    : "[loan object]"
}
A loan object consists of 3 core properties, attributes, mapped, and body
attributes contain the data values linked directly to their FNM file format field id's, ie: 03A-040mapped contain the data values linked via a readable field key, ie: applicant_first_namebody contains the converted body data for a FNMv3.2 file based on the given attributesFor a full list of available FNM field id's view the array available at: app/Integrations/FannieMae/Services/DataRules.php
For a full list of FNM mapped field keys, view the array available at: app/Integrations/FannieMae/Services/DataMapper.php
{                                            
  "body":"02A2505 S Creek ST\r\n
          03A           John\r\n
          03A           Mary",
  "attributes":{
    "02A-020": "2505 S Creek ST",
    "03A-040": [
      0:"John",
      1:"Mary"
    ]                                                          
  }                                                            
  "mapped": {
    "property_street_address_2a": "2505 S Creek ST",
    "applicant_first_name": [                         
      0:"John",
      1:"Mary"
    ]                                                          
  }
}