|
Carlos Kozuszko wrote: > > Im trying to call this API and i keep getting CPF226E Parameter value ain't > valid (that would be my translation to "El valor de un parámetro no era > válido.") > > Maybe the problem is with the fourth parameter that is defined as Array(*) > of Binary(4), i not sure if im prototyping it right.... > If you are defining it as an array of 4B 0, that's the problem. Define them as 10i 0. Binary(4) in the API documentation means 4-byte binary. 4B is 2-byte binary, 4 digits. 10-digit integer (10i) is an exact match for the API type, but RPG's "binary" type would also probably work, but only if defined as 9B. I say "probably" because it depends on whether the values might be bigger than 999999999 (9 9s).
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.