OFXVersion Property

OFX API version.

Syntax

ANSI (Cross Platform)
char* GetOFXVersion();
int SetOFXVersion(const char* lpszOFXVersion); Unicode (Windows) LPWSTR GetOFXVersion();
INT SetOFXVersion(LPCWSTR lpszOFXVersion);
@property (nonatomic,readwrite,assign,getter=OFXVersion,setter=setOFXVersion:) NSString* OFXVersion;
- (NSString*)OFXVersion;
- (void)setOFXVersion:(NSString*)newOFXVersion;
#define PID_INVSTATEMENT_OFXVERSION 44

IPWORKSOFX_EXTERNAL void* IPWORKSOFX_CALL IPWorksOFX_InvStatement_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKSOFX_EXTERNAL int IPWORKSOFX_CALL IPWorksOFX_InvStatement_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);

Default Value

"102"

Remarks

This is the OFX API version used in all requests sent to your FI server (such as 1.0.2, 2.0.1, 2.1.1, etc.). Valid values: 102, 103, 200, 201, 203, 210, 211. Note that not all OFX Versions are supported by FIs.

Note: If the OFXVersion is set to 1x, the request and the response are going to be in SGML format. If set to 2x, the request will be in XML format (the response format depends on the FI's server capabilities). Note that if the OFX FI server does not support version 2x, the server will return an error (such as 'Bad Request').

Certain services are available only for a specific OFX version. For example, image download, is available only in OFX version 2.1.1.

Data Type

String

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