Have you tried printing out the JSON the Python script is pushing to the API to validate it's correct? Then take that printed output and try pushing it to the API using curl. That will eliminate the JSON as the problem.
Thanks a lot for your response, we have tried that but it is still the same, i.e. the CURL command from CLI and also from python using: os.system works but not from the pycurl POST command.