respAddNumFieldAsString()

This procedure adds Numeric field as string value into response. The big numeric (more than 15 digits) must be passed as string via JSON.

ParameterTypeDescription
element30A VARYING, VARSIZEMandatoryName of element
fieldName30A VARYING, VARSIZEMandatoryField name
value30P 9MandatoryNumeric value

The procedure returns pointer of field. If procedure can’t add field, then returns null.

NOTE: Numeric values must be rounded to reqired number of decimals prior to add value to response. `

Examples:

respAddNumericField('data': 'quantity': 123456789012345678);
//This will put into response 'quantity':'123456789012345678'