Attachinga a file to a bug

Attachinga a file to a bug

I'm trying to make an import from our bugtraker to zoho... What I'm missing is hou to use the uploaddoc field in the create bug api!

How can I associate a file to a bug?

I cannot find this also inthe wrapper:

edit:
What I'm using now is python