I’ve been trying to use WordsApi.UpdateFields(UpdateFieldsRequest), but I keep getting back a ‘Bad Request’ response.
WordsApi wordsApi = new WordsApi(clientid, secret);
mStream.Position = 0; //reset stream position so it’s not starting at EOF
UpdateFieldsRequest request = new UpdateFieldsRequest(**fileName, **folderName, **storageName, null, null, “NEW^” + **fileName);
DocumentResponse result = wordsApi.UpdateFields(request);
- fileName is a file that I already have uploaded in my azure storage folder
- folderName is the file that the original file already resides in
- storageName is the name I have configured in Aspose Cloud Admin
- and the last parameter I’m just appending a value on the front of the new file.
This is a C# example. Does anyone have experience using this method?