SOAP API and file assets


(Mahearnpad) #1

Is it possible to "create" a pdf file in Matrix, using the SOAP API, rather than "uploading" one that already exists?


Does the SOAP API have a method for this, or does it only allow for the upload to an existing asset?



Has anyone done this before? I need to create a pdf under a standard page. I've tried the CreateAsset method, but suspect that this doesn't recognize binary file types.



Can't delete this post - but I think I've found the answer - "reading the manual" carefully always helps :wink:


(Nic Hubbard) #2

Did you look at the base64 option?


(Mahearnpad) #3

[quote]
Did you look at the base64 option?

[/quote]



Yep, thanks Nick. Soon after writing the post, I actually read the manual. I've now got it working.