IPWorks OFX 2020 macOS Edition

Questions / Feedback?

PostRequest Method

Submits a batch of requests to an OFX server through a single connection.

Syntax

public func postRequest() throws -> Void

Remarks

This function generates the Signon and multiple requests page, submits it to the financial institution via secure HTTPS Post, and receives the multiple responses stored in OFXBatchItems property.

To create the batch of requests, first you will to create instances of the corresponding components to request type such as BankStatement, CCStatement, InvStatement, or FIProfile. Then, build the OFX request for each component used.

Finally, set the Request array property to each OFXRequest of the corresponding component.

When PostRequest is called, the server response will be returned in Response array property, ready to be retrieved by each individual component.

Copyright (c) 2021 /n software inc. - All rights reserved.
IPWorks OFX 2020 macOS Edition - Version 20.0 [Build 7941]