Such a good product!
I've looked at the documentation of the APIs, the sad fact is, most of it is terrible described
. I'm sorry for being rude.
Please advice how to get an Attachment (file) using APIs.
API request:
Attachment/5e95750bccc13d6d2
API results:
I've looked at the documentation of the APIs, the sad fact is, most of it is terrible described
![Frown](https://forum.espocrm.com/core/images/smilies/frown.png)
Please advice how to get an Attachment (file) using APIs.
API request:
Attachment/5e95750bccc13d6d2
API results:
PHP Code:
[response] => {"id":"5e95750bccc13d6d2","name":"image.png","deleted":false,"type":"image\/png","size":48493,"sourceId":null,"field":"image","createdAt":"2020-04-14 08:32:11","role":"Attachment","storage":null,"storageFilePath":null,"global":false,"parentId":null,"parentType":null,"parentName":null,"relatedId":"5e956201647c76d31","relatedType":"Account","relatedName":"7","createdById":"1","createdByName":"Admin"}
[code] => 200
Comment