Hi John,
I managed to send a file this way
defVar --name success --type Boolean
defVar --name objectStoreId --type HttpContent
defVar --name responseHeader --type StringDictionary --innertype String
defVar --name response --type String
defVar --name statusCode --type Numeric
defVar --name multipart --type HttpContent
defVar --name fileContent --type HttpContent
defVar --name authVariable --type StringDictionary --innertype String
strDictAdd --key Authorization --value "Basic cDhhZG1pbjpsaGMkbzcxMw==" --dictionary ${authVariable}
createHttpContent --formattype "Bytes" --file "I:\\OoPdfFormExample.pdf" fileContent=value
createHttpContent --formattype "Text" --body "{F94CF4D3-8FA7-43D6-8FCD-3C687E914766}" --encoding "Default" --mediatype "multipart/form-data" objectStoreId=value
createHttpContent --formattype "Multipart" --contentlist "{\"file\":\"${fileContent}\",\"objectStoreId\":\"${objectStoreId}\"}" multipart=value
httpRequest --verb "Post" --url "https://SERVER:9443/integrator/rest/docs" --headers ${authVariable} --formatter "Instance" --source "${multipart}" success=success response=value statusCode=statusCode responseHeader=headers
logMessage --message "Sucess: ${success}\r\nResponse: ${response}\r\nStatus Code: ${statusCode}\r\nResponse Header: ${responseHeader}" --type "Info"
------------------------------
Angelo Alves
IBM RPA Technical Specialist
------------------------------