Support

Expand all | Collapse all

download attachments with REST API

  • 1.  download attachments with REST API

    Posted 7 days ago
    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 7 days ago
    Edited by Decoteau Wilkerson 7 days ago
    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 7 days ago
    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
    ------------------------------