The Margin Service API currently supports string encoding of transactions. Other encodings may be supported in the future.
String
Transactions may be specified in string format as the actual XML/CSV content. When using this method, the content should be enclosed by a CDATA
block.
Example
For the following FIXML content:
<FIXML><!-- Content goes here --></FIXML>
The payload element would look like this:
<payload format="FIXML" encoding="STRING"> <string><![CDATA[<FIXML><!-- Content goes here --></FIXML>]]></string> </payload>