Options for parameters using Public Api

Options for parameters using Public Api

This question has suggested answer(s)

I'm attempting to use the PublicApi for a number of things and having a hard time figuring out what to put in for certain parameters.  For instance, for the following method, it says a few parameters are required, of type string, but what are the valid strings I can pass in?

Media Create(int mediaGalleryId, string name, string contentType, string fileName, MediaCreateOptions options = null);

All Replies
  • telligent.com/.../22172.media-in-process-api-service.aspx

    The method you called out above is for creating a media gallery post/file. The name param is the name of the post, the contentType param is the MIME content type (text/html, audio/mp3, image/jpeg, etc.) of the file you are uploading/linking to, and fileName param is the name of the file (like myvideo.mpeg).