Follow

API Method: CreateReportMedia()

This method will create a new report media item object based on the parameters provided.

Request

Method: POST
Body Parameters:

Output = Xml | Json (Defaults to Xml)
Callback (Optional)
Xml = 
<?xml version="1.0" encoding="utf-8" ?>
<CsRequest>
   <ApiAuthKey>{INSERT YOUR AUTH KEY HERE!}</ApiAuthKey>
   <ApiRequestType>CreateReportMedia</ApiRequestType>
   <ApiRequestVersion>4</ApiRequestVersion>
   <DateCreated>1974-05-20T13:45:30</DateCreated>
   <ReportId>56848</ReportId>
   <MediaItemType>IMAGE</MediaItemType>
   <MediaItemExtension>PNG</MediaItemExtension>
</CsRequest>
 Xml Node Name  Required? Data Type Default
ApiAuthKey Yes String  
ApiRequestType Yes String  
ApiRequestVersion Yes String  
DateCreated Yes DateTime  
ReportId Yes Int64  
MediaItemType Yes Values: IMAGE|VIDEO|AUDIO  
MediaItemExtension Yes Values: PNG|JPG|MP4|MP3  


Response

<?xml version="1.0" encoding="utf-16"?>
<CsResponse>
   <Message>[Message Value...]</Message>
   <ResponseTime>1.4370822 Seconds</ResponseTime>
</CsResponse>
Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

0 Comments

Article is closed for comments.
Powered by Zendesk