Hello,
can you provide an example of how to attach a file to a request with a given id with REST API v3?
There is no documentation for that, just a tool in admin- api which uploads a file but doesn't say how to do it...
I tried :
input_data={
"attachment": {"request": {"id": "979"},
"name": "filename",
"content_url": "correct url to some file with filename"
}
}
result:
{"response_status":{"messages":[{"status_code":"4001","type":"failed","message":"value for fields [name] [content_url] is incorrect"}],"status":"failed"}}
Regards
Rafal