<script src="//cdnjs.cloudflare.com/ajax/libs/lodash.js/3.5.0/lodash.min.js"></script>
<textarea id="help">
app_token string The api token for the given account. You can find the api token when navigating through account->api accounts
apiv integer The api version; only version 5 supported.
p string projectUuid of the project to retrieve programs for
start int Will return a subset of available programs. Used primarily for pagination. Default is set to 0
end integer Will return a subset of available programs. Used primarily for pagination. Default is set to start+20. Max length cannot exceed 100
categoryid int The id of the category to search for, if working with a category project.
v string program uuid of the program
refid string project reference id
prefid string program reference id
sortby string sort params . Possible values (sortnum, dateStart, dateEnd, viewcount)
include_viewcount boolean Will return the total view count of the program.
</textarea>
<input type="text" id="url" value='/ws/ws_program/api/{app_token}/mode/json/apiv/5?p={project_uuid}&refid={project_refrenceId}&v={program_uuid}&prefid={program_refrenceId}&date_start={date_start}&date_end={date_end}&start={start}&end={end}&category_id={categoryID}&sortby={sortby}&sortdir={sortdir}&include_viewcount={true|false}'/>
<pre id="json"></pre>
<button id="process">process</button>