Jump to content

API for questions/answers


Recommended Posts

Hi @Giuseppe Iannacone,

The API you need is: https://api.hornbill.com/apps/com.hornbill.servicemanager/Questions?op=queryExec

And here's an example payload:

<methodCall service="apps/com.hornbill.servicemanager/Questions" method="queryExec">
	<params>
		<queryName>getRequestQuestions</queryName>
		<requestId>SR00013867</requestId>
		<rowstart>0</rowstart>
		<limit>100</limit>
		<resultType>allData</resultType>
	</params>
</methodCall>

Cheers,

Steve

Link to comment
Share on other sites

Hi @Giuseppe Iannacone,

The API to get posts and comments from an activity stream (timeline) is: https://api.hornbill.com/activity/?op=activityStreamQueryItem

Re: your other question, I'm not sure why the uploaded file would be corrupted. We use a similar process in our import utilities, check the code here against yours as this is working in production: https://github.com/hornbill/goLDAPUserImport/blob/master/image.go

Cheers,

Steve

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...