Address Verification (On-Premises)
- Address Verification (On-Premises) 6.3.0
- All Products
IDVE_EXPORTCALL1 IDVE_StatusCode IDVE_EXPORTCALL2IDVE_GetJSON( const char* const kpksCustomerID, const char* const kpksURI, char* const kpsValueBuffer, const IDVE_U64 ku64ValueBufferSize, IDVE_U64* const kpu64SizeWritten, IDVE_Bool* const kpbIsValuePresent, char* const kpsExtStatusMsg );
Parameter
| Operation
| Comment
|
---|---|---|
const char* const kpksCustomerID
| [in]
| Pointer to the zero-terminated 7-bit ASCII-encoded customer ID. The value might not be NULL.
|
const char* const kpksURI
| [in]
| Pointer to the zero-terminated 7-bit ASCII URI, for example " AV/v1/Jobs/0/IO/Outputs/0/Results/0/Variants/0 ". The value might not be NULL.
|
char* const kpsValueBuffer
| [out]
| Pointer to the output buffer that receives the UTF-8-encoded JSON value and the terminating zero.
The JSON value may be an output address, or it may be the path to the file that contains the set of output addresses.
|
const IDVE_U64 ku64ValueBufferSize
| [in]
| Size of the output buffer in code units, including the terminating zero.
|
IDVE_U64* const kpu64SizeWritten
| [out]
| Pointer to an unsigned 64-bit integer value that receives the size of the output written in code units, excluding the terminating zero. The value can be NULL.
|
IDVE_Bool* const kpbIsValuePresent
| [out]
| Pointer to the JSON value to be retrieved by the function call. If you provide a valid pointer for kpbIsValuePresent, the function will indicate if the value at the given URI is present by setting kpbIsValuePresent to true or false.
If you provide NULL for kpbIsValuePresent and the JSON value that you want to retrieve does not exist, the function call reports an error. If you provide NULL for kpbIsValuePresent and the JSON value exists, it is retrieved normally.
|
char* const kpsExtStatusMsg
| [out]
| Pointer to a buffer of size IDVE_EXT_STATUS_MSG_BUFFER_SIZE for an optional extended status message. The value can be NULL.
|
IDVE_EXPORTCALL1 IDVE_StatusCode IDVE_EXPORTCALL2IDVE_GetJSONW( const char* const kpksCustomerID, const char* const kpksURI, IDVE_WChar* const kpsValueBuffer, const IDVE_U64 ku64ValueBufferSize, IDVE_U64* const kpu64SizeWritten, IDVE_Bool* const kpbIsValuePresent, char* const kpsExtStatusMsg );
Parameter
| Operation
| Comment
|
---|---|---|
const char* const kpksCustomerID
| [in]
| Pointer to the zero-terminated 7-bit ASCII-encoded customer ID. The value might not be NULL.
|
const char* const kpksURI
| [in]
| Pointer to the zero-terminated 7-bit ASCII URI, for example " AV/v1/Jobs/0/IO/Outputs/0/Results/0/Variants/0 ". The value might not be NULL.
|
IDVE_WChar* const kpsValueBuffer
| [out]
| Pointer to the output buffer that receives the UTF-16-encoded JSON value and the terminating zero.
The JSON value may be an output address, or it may be the path to the file that contains the set of output addresses.
|
const IDVE_U64 ku64ValueBufferSize
| [in]
| Size of the output buffer in code units, including the terminating zero.
|
IDVE_U64* const kpu64SizeWritten
| [out]
| Pointer to an unsigned 64-bit integer value that receives the size of the output written in code units, excluding the terminating zero. The value can be NULL.
|
IDVE_Bool* const kpbIsValuePresent
| [out]
| Pointer to the JSON value to be retrieved by the function call. If you provide a valid pointer for kpbIsValuePresent, the function will indicate if the value at the given URI is present by setting kpbIsValuePresent to true or false.
If you provide NULL for kpbIsValuePresent and the JSON value that you want to retrieve does not exist, the function call reports an error. If you provide NULL for kpbIsValuePresent and the JSON value exists, it is retrieved normally.
|
char* const kpsExtStatusMsg
| [out]
| Pointer to a buffer of size IDVE_EXT_STATUS_MSG_BUFFER_SIZE for an optional extended status message. The value can be NULL.
|
char sJSON[ 50 * 1024 ]; char sExtStatusMsg[ IDVE_EXT_STATUS_MSG_BUFFER_SIZE ]; IDVE_StatusCode i32StatusCode = IDVE_GetJSON( "", “AV/v1/Jobs/0/IO/Outputs/0”, sJSON, sizeof( sJSON ), NULL, NULL, sExtStatusMsg );