Support

Expand all | Collapse all

download attachments with REST API

  • 1.  download attachments with REST API

    Posted 02-11-2020 06:08
    I read all the documentation and posts about downloading attachments,
    but finally ended at this point the request:
    get <server>/files?https://{base_url}/attachment/{attachmentValue}/attachmentFileName

    returns with Error 400 : Not a valid url

    if i just enter the address  https://{base_url}/attachment/{attachmentValue}/attachmentFileName
    directly into the browser, I can see and download. So the file address seem to be correct.

    Has some one an idea?

    best regards Jan

    ------------------------------
    Jan Peter Welsch
    Honeywell Security Fire
    ------------------------------


  • 2.  RE: download attachments with REST API

    Posted 02-11-2020 13:05
    Edited by Decoteau Wilkerson 02-11-2020 13:05
    Hi Jan,

    Thank you for reaching out! Have you tried doing this in Swagger? If you're unfamiliar with Swagger, we recommend checking out this Community article: Using Swagger

    ------------------------------
    Decoteau Wilkerson
    Jama Software
    OR
    ------------------------------



  • 3.  RE: download attachments with REST API

    Posted 02-12-2020 00:29
    Unfortunately in our installation the swagger does not work. it respond to all requests with:  "error": "no response from server"
    I talked many time to our support group, but for some reason they do not get it to work.

    ------------------------------
    Jan Peter Welsch
    Honeywell Security Fire
    ------------------------------