Hi, I've been looking through API documentation and it seems to be a little thin on the ground. I was wondering if anyone had an example in PHP where they have called: add_document_with_metadata.
I'm unclear what some of the variables that the function expects as arguments should be. For example $metadata, does this have to be a fieldset, string of text etc. Where do I get values for $sig_username = '', $sig_password = ''? I Was thinking this information is probably available in the session variable, but again there's very little documentation on this.
To give a bigger picture, I want to call this method once a form has been submitted and a file has been created - the metadata is crucial in order for the document to be retrieved.
Any hints or help much appreciated.