Ofex v0.2.5 Ofex.Signon View Source

Link to this section Summary

Functions

Parses SIGNONMSGSRSV1 message set for details of the OFX signon response

Link to this section Functions

Link to this function create(ofx_data) View Source
create(tuple) :: %{signon: map}

Parses SIGNONMSGSRSV1 message set for details of the OFX signon response.

  • :status_code
  • :status_severity
  • :language
  • :financial_institution

Returns a tuple that is later used to create a map.

Example of a typical SIGNONMSGSRSV1 message:

<!-- <SIGNONMSGSRSV1> --> <!-- Top level tag parsed out before getting here -->
    <SONRS>
        <STATUS>
            <CODE>0</CODE>
            <SEVERITY>INFO</SEVERITY>
        </STATUS>
        <DTSERVER>20170127110131.603[-5:EST]</DTSERVER>
        <LANGUAGE>ENG</LANGUAGE>
        <FI>
          <ORG>Galactic CU</ORG>
        </FI>
    </SONRS>
<!-- </SIGNONMSGSRSV1> -->