API Overview

Was this article helpful?
6 found this article helpful.

  • Can the API be used to insert e-mails into Ungerboeck?

  • Craig Dudenhoeffer

    Lee, 

    Thanks for your question.  At this time the API does not have an e-mail endpoint.  

    Can you comment more on your use case?

    Thanks,
    Craig

  • We wanted to build an app to allow drag and drop of files into Ungerboeck. It would have been awesome if we could have used the app to drag and drop emails from outlook too (essentially replacing the outlook add-in).

    Thanks

  • John Klingelhoets

    Lee - did you successfully build a drag and drop application to add files into ungerboeck?

  • We have started a proof of concept but don't currently have budget for it so it's taken a bit of a back seat. I will see if we can bump it back up the priority list a little.

    Would you be prepared to share your requirements so we can see if they align with ours and how quickly we may be able to get something to you to play around with?

    L

  • John Klingelhoets

    I was just intrigued by your idea, if you do complete it would be curious to see a demo.

  • Oliver Zieger

    Guys,

     

    i just stumpled upon this thread, and i might have a prototype for u. We had a students groupd realizing a interface between alfresco and ungerboeck. I believe this is the way to go, as alfresco brings dms features ungerboeck has still a long way to guy. unfortunately for our needs, alfresco would be cool, but is too large for our needs - but maybe someone else could take this up?

    any alfresco experts around?

    cheers, Oliver from Vienna

     

  • william wu

    Hello,

    We use API tools like postman and httpmaster to test your API calls but getting 401 response code. With the same user/pass and request, your sandbox returns successfully with 200 code. See below (data omitted with *).

    using postman:

    curl -X GET --header 'Accept: application/json' --header 'Authorization: Basic *******************************' 'https://****.ungerboeck.com/prod/api/v1/Events/**?search=All'

    401 {"Message":"Authorization has been denied for this request."}

    using https://****.ungerboeck.com/prod/api/help/index :

    curl -X GET --header 'Accept: application/json' --header 'Authorization: Basic *******************************' 'https://****.ungerboeck.com/prod/api/v1/Events/**?search=All'

    200 and data

    Do we miss something here? Do we need a special user or API module?

    Any help or direction is appreciated, thanks!

    William

  • Rudy Scoggins

    Hi William,

    To use the API, you perform two steps:

    1.  Initialize to get a token

    2. Use that token to do additional calls.

    The sandbox somewhat abstracts this since the first step is done in the top right of the page, but the 'Try It Now' calls includes a token with the calls (The curl commands were made more straightforward in 20.95).

    Include the initialization token in on the Events search and you should get a 200 response.

    Read more about it here:

    https://supportcenter.ungerboeck.com/hc/en-us/articles/115010462527-Getting-Started-with-the-API

  • Qi Long

    Hi,   

    I tried to make an api test call,  but got below error, could you please help?

     

  • Rudy Scoggins

    Hi Qi,

    This happens when the token used to do API calls gets out of date between versions or corrupted somehow.  Reload the page, authenticate again in the top right, then try another call.  If it still doesn't work, there's a deeper problem in your system and a ticket would be in order.

    Thanks,

    Rudy

     

  • I believe there have been some changes recently around authentication and how to setup API users.

    Is there an article with the latest details/instructions please?

  • On a separate note... I am trying for the first time to use JWT authentication using the /api/help link. Authorization is successful, but hitting basic endpoints (like get accounts with a vague search like Class eq 'O' returns an empty array. Any ideas?

  • Craig Dudenhoeffer

    There will be updates and/or new articles in the next 1-2 weeks regarding authentication changes.

  • Last, but not least- are USI aware of a bug with authentication on /api/help often incorrectly reporting success? 

    Looking at the network I can see the API returns my username instead of a token- it's getting confused somewhere?

  • Rudy Scoggins

    Hey Lee,

    That's the first I heard of this.  If you can recreate it, can you send it in as a support ticket?  I'd love to take a look.

    Edit: The new articles are up!  Take a look:
    https://supportcenter.ungerboeck.com/hc/en-us/articles/4417892599063-JWT-Authentication-and-the-Refreshed-SDK-Overview

  • Rudy Scoggins sorry for the delay- i'm not sure if you were referring to the JWT issue or the other...

    We have finally got round to raising the JWT issue via one of our clients MCCC and will possibly also raise via ETC shortly too.

  • Rudy Scoggins

    Thanks Lee!

  • Elisabeth Bollmann

    We've been trying to set the Heading of Documents imported via the API but have been unsucessful.

    The documents are imported just fine, but no heading is assigned.

    I even tried to update the heading via PUT with the following values

    "PrimaryHeading": 10,
    "SecondaryHeading": 0,
    "Heading": 10
    but keep getting the response code 200 and there's no change. PrimaryHeading is still 0 and Heading is null.
     
    Has anyone been successful in assigning a document heading via the API? Or is this a bug?
    Thanks
  • Rudy Scoggins

    Hi Elisabeth,

    All Document Heading fields are Read Only. 


    This is intentional as they are the Document Heading design isn't a great fit for API use since there's no way to edit or delete headers in Ungerboeck.