Topic: Getting Institution Profile
A way to discover all the info you need about a given institution, including ofx version, security requirements, etc., is to use this query. Note that the institution should respond with this info using the anonymous login and password shown.
Note 1: DTCLIENT: I use today's date, not important really
Note 2: DTPROFUP: The date we last received an update. I don't keep the profile, so I arbitrarily use today's date minus 2 years. I really don't think it matters when using anonymous login ...
POST https://the.appropriate.url HTTP/1.1
Content-Type: application/x-oFX
Content-length: whatever.the.right.length.is
ENCODING:USASCII
OFXHEADER:200
DATA:OFXSGML
VERSION:211
SECURITY:NONE
CHARSET:UTF-8
COMPRESSION:NONE
OLDFILEUID:NONE
NEWFILEUID:NONE
<OFX>
<SIGNONMSGSRQV1>
<SONRQ>
<DTCLIENT>20130726092234
<USERID>anonymous00000000000000000000000
<USERPASS>anonymous00000000000000000000000
<LANGUAGE>ENG
<FI>
<ORG>fidelity.com
<FID>7776
</FI>
<APPID>5char
<APPVER>0001
</SONRQ>
</SIGNONMSGSRQV1>
<PROFMSGSRQV1>
<PROFTRNRQ>
<TRNUID>whatever.you.would.like.it.to.be
<PROFRQ>
<CLIENTROUTING>MSGSET
<DTPROFUP>20110726092234
</PROFRQ>
</PROFTRNRQ>
</PROFMSGSRQV1>
</OFX>