Jump to content

Search the Community

Showing results for tags 'api'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Hornbill Platform and Applications
    • Announcements
    • Blog Article Discussions
    • General Non-Product Discussions
    • Application Beta Program
    • Collaboration
    • Service Manager
    • Project Manager
    • Customer Manager
    • Document Manager
    • Configuration Manager
    • Timesheet Manager
    • Live Chat
    • Board Manager
    • Mobile Apps
    • System Administration
    • Integration Connectors, API & Webhooks
    • Performance Analytics
    • Hornbill Switch On & Implementation Questions
  • Gamers Club's Games
  • Gamers Club's LFT

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Location


Interests


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype

Found 23 results

  1. All, We are looking to run a query involving requests for historic updates - https://api.hornbill.com/apps/com.hornbill.servicemanager/RequestHistoricUpdates?op=read. Unfortunately our API call does not complete as a "queryName" is required as well as the requestid. Our other arguments do not use this parameter. Could you provide some context to what the "queryName" is or what should be specified? I imagine it is something quite simple. Many Thanks, Josh M
  2. Hello everybody We are using the Requests::smGetRequests API to extract data about incidents / requests. What we are trying to do is to find out which requests have received Customer Feedback, and then extract the Customer Feedback via an API. We have gone through the API documents, but cannot work out how to do this. I can see that Requests::smGetDetails does have this information, but this needs a requestId (e.g. IN123456789), and cannot be filtered on the date the feedback was given. Is there an API to get the 'Request Feedback' entity, or the h_itsm_request_feedback? Hope you can help. Alex
  3. Morning, Is there a way to intergrate hornbill logged tickets into Service now? One of our external suppliers uses service now and we would like to make it so we can raise a ticket through HB into Service now? Many thanks Hayley.
  4. Hi, I'm wondering if anyone has any pointers on how the advancedSearch Input Parameter works as part of this operation: https://api.hornbill.com/apps/com.hornbill.servicemanager/?op=getOrganisationsList i'm am trying to retrieve organisations based on a phone number. The phone number is part of an object which is then serialized to a JSON String that outputs for example: {"h_phone_number":"123456789"} This is then given as a string for the input parameter advancedSearch. This gives me no errors, but also does not find any results. although the phone number is known for an organisation. Input XML: <methodCall service="apps/com.hornbill.servicemanager" method="getOrganisationsList"><params><rowstart>0</rowstart><limit>3</limit><advancedSearch>{"h_phone_number":"123456789"}</advancedSearch></params></methodCall> OutPut XML <?xml version="1.0" encoding="utf-8"?><methodCallResult status="ok"><params><organisations>[]</organisations><count>0</count></params><flowCodeDebugState><step>xxxxxxx</step><executionId>xxxxxxxx</executionId></flowCodeDebugState></methodCallResult> Any help would be greatly appreciated!
  5. Hi I've had a look through the API documentation but can't seem to find anything... Is there an API operation (or query for queryExec) that will return details of all tasks/activities associated with a given request? Thanks Carl
  6. Hi Is there an API method that will return the type of entries that would appear in the request timeline? Ideally I'm after the data that would be in the h_buz_activities database table - preferably filtering that data directly rather than having to supply a request or an activityStream ID. Thanks
  7. I am struggling to locate a specific API method for adding a new set of values to a simple list (Service Manager). Is this just done via the generic addRecord method? Cheers Martyn
  8. I couldn't find an API specific group, so posting here, hopefully this is more or less the right place. The Integration Wiki page mentions simplified language bindings to the API are available for C#, where might I find these? I've had a look through the Hornbill's repositories on GitHub, and have manged to get something working with API, but it would save me a lot of time if Hornbill already have built a .Net wrapper for the API. Many thanks, Will
  9. I am trying to retrieve cancelled calls via the API I've tried the smGetRequests call, just setting the statusEquals, rowstart and limit parameters - which returns data for all statuses apart from 'status.cancelled' - it gives a count of 0 (we do have cancelled calls). Is there another API call or perhaps a queryExec query that will return cancelled calls? Thanks Carl
  10. Hi Everyone, I've been asked to test if we can log a job using the API scheduler and not been given a great deal of time to come back with a definitive answer - out of (as mentioned above) pure laziness (and to speed the process up) rather than poring over the documentation I thought I'd ask if anyone has a working conf file for generating a Request from the scheduler that I can adjust to my requirements? I'm particularly interested in having one that uses a Catalog Item that expects two questions in this instance. Cheers, Steve.
  11. Hi We're having issues with the getReqQuestions API method call. We're passing the 3 required parameters (in the correct order) bpmId, requestId and formId but the response is 'Failed to load FlowCode script'. The logs also show: Failed to load the script for operation '\\?\D:\Hornbill\ESP Server\instances\lbdigitalservices\apps\com.hornbill.core\entities\Requests\fc_ops\getReqQuestions.xml' Is there a problem with this API call? What we are trying to do is pull the progressive capture answers for a given a request and getReqQuestions seemed to be the most appropriate call. Is there another method we could use? Thanks Carl
  12. Martyn Houghton

    API and PHP Toolkit

    Is anyone making use of the API and PHP Toolkit for the Collaboration system yet? We just getting started, looking at the API and sticking with PHP since we used the latter with Support Works for the time being. Not sure whether it would be worth creating a separate sub-topic for the API on the forum. Cheers Martyn
  13. Hi guys, Just tried the API scheduler today and I am facing some issues so I was trying to troubleshoot... Here is my config file: conf.json Is there a screen in the admin section where we can see all the custom scheduled API calls? Thanks, Lyonel
  14. Hi all, I am trying to get the scheduler to run a few .json files before I compile them into one big schedule. The files are named for the task they are to create eg. 'ivr_reboot' When I use the file switch the scheduler still calls config.json rather than the file I have specified. Any ideas? Thanks Dan
  15. Hi all, We are looking for a way to integrate our (JSON enabled) work slip application within our workflow. Is it possible to have the BPM either trigger a preconfigured Webhook or have it create the relevant API call on the fly? There is a JIRA integration node within the BPM, but nothing more generic for us to use as far as I know. Thanks! Best regards, Alex
  16. Hi, To interface Hornbill with some of our in house systems, I need to setup something up. I was hoping to add a new web method to one of our web service. It is coded in ASP VB.NET and uses the framework v3.5. Going through your sample code (on Github), I managed to get a working query. However, your espapi_dotnet dll is coded for .NET v4 Any chance you would have a version for .NET v3.5? Thanks
  17. I'm looking at the details for assets and when I use a getEntityRecord for the class Asset, or AssetComputer etc. I get returned slightly different data than is documented. The documentation (here) lists: usedById xs:string optional The userid of the user who uses the asset. usedByName xs:string optional The name of the user of the asset. usedByType xs:string optional The user type of the asset. (0 = coworker, 1= contact) But getEntityRecord only returns 'h_used_by' and 'h_used_by_name'. Where h_used_by is the urn format.
  18. I'm trying to carry out a simple asset update of a Computer Peripheral and it's proven quite hard work. I only want to change the "location" of the asset. In order to achieve success I couldn't just submit the "required" fields as the FlowCode refused to validate the data that must already be part of the record. So I have had to populate all kinds of other fields to get it to work. Required fields are: assetId, name, type, version But I actually had to fill in all of these. $peripheral = [ 'acqMethod' => 1, 'actualRetireDate' => '1970-01-01 00:00:00', 'assetId' => 3533, 'cost' => 0, 'deprecMethod' => 0, 'deprecStart' => '1970-01-01 00:00:00', 'deprecValue' => 0, 'disposalPrice' => 0, 'location' => 'Bedroom', 'locationType' => 0, 'maintenanceCost' => 0, 'maintenanceRef' => '', 'name' => 'CBC8522', 'operationalState' => 0, 'orderDate' => '1970-01-01 00:00:00', 'receivedDate' => '1970-01-01 00:00:00', 'residualValue' => 0, 'scheduledRetireDate' => '1970-01-01 00:00:00', 'siteId' => 1, 'sourceImage' => '', 'state' => 0, 'type' => 8, //'Monitor', 'version' => 0, 'warrantyExpires' => '1970-01-01 00:00:00', 'warrantyStart' => '1970-01-01 00:00:00', 'wireless' => '' ]; Which produces the XML: <methodCall service="apps/com.hornbill.servicemanager/AssetsComputerPeripheral" method="updateAssetComputerPeripheral"><params> <acqMethod>1</acqMethod> <actualRetireDate>1970-01-01 00:00:00</actualRetireDate> <assetId>3533</assetId> <cost>0</cost> <deprecMethod>0</deprecMethod> <deprecStart>1970-01-01 00:00:00</deprecStart> <deprecValue>0</deprecValue> <disposalPrice>0</disposalPrice> <location>Bedroom</location> <locationType>0</locationType> <maintenanceCost>0</maintenanceCost> <maintenanceRef></maintenanceRef> <name>CBC8522</name> <operationalState>0</operationalState> <orderDate>1970-01-01 00:00:00</orderDate> <receivedDate>1970-01-01 00:00:00</receivedDate> <residualValue>0</residualValue> <scheduledRetireDate>1970-01-01 00:00:00</scheduledRetireDate> <siteId>1</siteId> <sourceImage></sourceImage> <state>0</state> <type>8</type> <version>0</version> <warrantyExpires>1970-01-01 00:00:00</warrantyExpires> <warrantyStart>1970-01-01 00:00:00</warrantyStart> <wireless></wireless> </params></methodCall> I can understand the validation reasoning, but it would seem that all this is bypassed during the asset import process, which is probably going to leave a minefield for later. My only recourse would be to search for the asset, retrieve all the current values, validate them locally and populate them where necessary, then resubmit the data just to update the one field I want to update. If the fields aren't set as mandatory surely the flowcode shouldn't be acting like this?
  19. I thought I'd spend some time tidying up my PHP implementation of Invoke() as I was using little in the way of error checking and was pretty much dumping the response back to the calling functions. It works, but it's not as I'd like. So I started adding in some error checking on the responses and found that I'm at a loss as to what Invoke() is actually returning. My initial understanding was that by submitting the headers and xml parameters I'd be getting back json as requested in the header. 'Accept' => 'Application/json', But it looks like this isn't necessarily the case. If an error is returned then the response looks like xml. So then I thought I'd best check the response header for the type returned and use that to determine what I got back. So I didn't try parsing xml as json. Seemed straight forward, but then I ran into apps/com.hornbill.servicemanager/Requests::smGetRequests() and apps/com.hornbill.core::getCoWorkersList() and that plan went out of the window. It seems these return xml with json embedded in it as params. So the data returned, even though I ask for json, could be json, could be xml or could be xml with json in. That doesn't seem too smart. Is this really how it works or am I doing something wrong?
  20. Is there a query or task function that will return a list of all tasks, not just those assigned to you? I'm after a way of looking for tasks assigned to a particular user, or all open tasks.
  21. com.hornbill.core::getCoWorkersList The documentation seems to imply that all of the parameters are optional. This doesn't seem to be the case. If I leave any out the call fails with a Flow Code error. <?xml version="1.0" encoding="utf-8" ?> <methodCallResult status="fail"> <state> <code>0200</code> <service>apps</service> <operation>getCoWorkersList</operation> <error>FlowCode Exception (com.hornbill.core/flowcode/fc_ops/getCoWorkersList): nodeName: CoWorker Search; nodeId: 2b21fc1e-de0c-41a7-b536-74c7ed3690da; At 170/1: &quot;Uncaught EspMethodCall::invoke: Operation[data::queryExec] queryParams validation error: Non-digit characters found in the element &lt;rowstart&gt;, the expected data type is &apos;integer&apos;. The value was [undefined] at location &apos;/methodCall/params/queryParams/rowstart&apos;&quot; throw(e); _fc_node_exec_2b21fc1e_de0c_41a7_b536_74c7ed3690da</error> </state> </methodCallResult>
  22. Where can I get this? It's reference in the self documenting api and without it the api is becoming less useful. For example: data::entityBrowseRecords - What can I pass as an entity to get the entity data? apps/com.hornbill.servicemanager/Asset::searchAssetGlobal - what can I pass as filter to get the list of assets I'm looking for? data::queryExec - What are the names of the available queries to pass as queryName? There's only so much guessing I can do.
  23. Looking at the documentation for the api I see PHP examples make use of a class ESP. Is this class publically available? It would save me a lot of time translating from go. $the_transport = new \Esp\Transport("", "xmlmc", "dav"); $mc = new \Esp\MethodCall($the_transport); try {
×