{
  "opencollection": "1.0.0",
  "info": {
    "name": "Veem API v1.2 attachment-controller API",
    "version": "v1.2.1"
  },
  "items": [
    {
      "info": {
        "name": "attachment-controller",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Downloads the referenced file",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "//sandbox-api.veem.com/veem/v1.2/attachments",
            "params": [
              {
                "name": "name",
                "value": "",
                "type": "query",
                "description": "The file name from the upload response"
              },
              {
                "name": "referenceId",
                "value": "",
                "type": "query",
                "description": "The unique reference ID from the upload response"
              }
            ]
          },
          "docs": "Downloads the referenced file"
        },
        {
          "info": {
            "name": "Uploads the external attachment for an entity Payment or Invoice",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "//sandbox-api.veem.com/veem/v1.2/attachments",
            "body": {
              "type": "multipart-form",
              "data": [
                {
                  "name": "file",
                  "type": "text",
                  "value": ""
                }
              ]
            }
          },
          "docs": "Uploads the external attachment for an entity Payment or Invoice"
        }
      ]
    }
  ],
  "bundled": true
}