- Joined
- Feb 4, 2014
- Messages
- 24
- Reaction score
- 3
Like most API's, we need to create a specific formatted JSON POST and in this case it must contain a single array item with no key value. It works if we have the JSON formatted in this way and this also validates correctly at JSONLint. We've tried to use the Zoho CRM template as an example but an error occurs if you leave out the "Key" attribute in the <Value ... Although you can assign an empty string to the key, it still generates a blank key and also the array object generates a pair of curly braces, within the square braces which is unwanted.
I suspect the only answer will be to generate a raw JSON object (if that's possible) with the syntax, which again we thought might be the case using the vTiger example.
Please could someone suggest how we might generate the correct <PostValues> items to format the JSON as illustrated in the following image?

As always, hopefully this will help others out to that might be having the same or similar issues?
I suspect the only answer will be to generate a raw JSON object (if that's possible) with the syntax, which again we thought might be the case using the vTiger example.
Please could someone suggest how we might generate the correct <PostValues> items to format the JSON as illustrated in the following image?

As always, hopefully this will help others out to that might be having the same or similar issues?