Jump to content

Recommended Posts

Posted

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

Posted

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

  • 1 year later...
Posted
On 05/10/2022 at 09:01, Steve G said:

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

Hi, I want to do the same, but that link doesn't work anymore.
I wanted to call this from powershell?

My aim is to get hold of the relatedentitydata ?

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
×
×
  • Create New...