{
  "opencollection": "1.0.0",
  "info": {
    "name": "Apideck Accounting Activities Attachments API",
    "version": "10.24.12"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "Authorization",
      "value": "{{Authorization}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Attachments",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Apideck List Attachments",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://unify.apideck.com/accounting/attachments/:reference_type/:reference_id",
            "headers": [
              {
                "name": "x-apideck-consumer-id",
                "value": "test-consumer"
              },
              {
                "name": "x-apideck-app-id",
                "value": "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX"
              },
              {
                "name": "x-apideck-service-id",
                "value": "salesforce"
              },
              {
                "name": "x-apideck-company-id",
                "value": "12345"
              }
            ],
            "params": [
              {
                "name": "reference_type",
                "value": "invoice",
                "type": "path",
                "description": "The reference type of the document."
              },
              {
                "name": "reference_id",
                "value": "123456",
                "type": "path",
                "description": "The reference id of the object to retrieve."
              },
              {
                "name": "raw",
                "value": "",
                "type": "query",
                "description": "Include raw response. Mostly used for debugging purposes"
              },
              {
                "name": "cursor",
                "value": "",
                "type": "query",
                "description": "Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response."
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Number of results to return. Minimum 1, Maximum 200, Default 20"
              },
              {
                "name": "fields",
                "value": "id,updated_at",
                "type": "query",
                "description": "The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded."
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          },
          "docs": "List Attachments"
        },
        {
          "info": {
            "name": "Apideck Upload attachment",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://unify.apideck.com/accounting/attachments/:reference_type/:reference_id",
            "headers": [
              {
                "name": "x-apideck-metadata",
                "value": ""
              },
              {
                "name": "x-apideck-consumer-id",
                "value": "test-consumer"
              },
              {
                "name": "x-apideck-app-id",
                "value": "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX"
              },
              {
                "name": "x-apideck-service-id",
                "value": "salesforce"
              },
              {
                "name": "content-type",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "reference_type",
                "value": "invoice",
                "type": "path",
                "description": "The reference type of the document."
              },
              {
                "name": "reference_id",
                "value": "123456",
                "type": "path",
                "description": "The reference id of the object to retrieve."
              },
              {
                "name": "raw",
                "value": "",
                "type": "query",
                "description": "Include raw response. Mostly used for debugging purposes"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          },
          "docs": "Upload attachment"
        },
        {
          "info": {
            "name": "Apideck Get Attachment",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://unify.apideck.com/accounting/attachments/:reference_type/:reference_id/:id",
            "headers": [
              {
                "name": "x-apideck-consumer-id",
                "value": "test-consumer"
              },
              {
                "name": "x-apideck-app-id",
                "value": "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX"
              },
              {
                "name": "x-apideck-service-id",
                "value": "salesforce"
              },
              {
                "name": "x-apideck-company-id",
                "value": "12345"
              }
            ],
            "params": [
              {
                "name": "reference_type",
                "value": "invoice",
                "type": "path",
                "description": "The reference type of the document."
              },
              {
                "name": "reference_id",
                "value": "123456",
                "type": "path",
                "description": "The reference id of the object to retrieve."
              },
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "ID of the record you are acting upon."
              },
              {
                "name": "raw",
                "value": "",
                "type": "query",
                "description": "Include raw response. Mostly used for debugging purposes"
              },
              {
                "name": "fields",
                "value": "id,updated_at",
                "type": "query",
                "description": "The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded."
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          },
          "docs": "Get Attachment"
        },
        {
          "info": {
            "name": "Apideck Delete Attachment",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://unify.apideck.com/accounting/attachments/:reference_type/:reference_id/:id",
            "headers": [
              {
                "name": "x-apideck-consumer-id",
                "value": "test-consumer"
              },
              {
                "name": "x-apideck-app-id",
                "value": "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX"
              },
              {
                "name": "x-apideck-service-id",
                "value": "salesforce"
              }
            ],
            "params": [
              {
                "name": "reference_type",
                "value": "invoice",
                "type": "path",
                "description": "The reference type of the document."
              },
              {
                "name": "reference_id",
                "value": "123456",
                "type": "path",
                "description": "The reference id of the object to retrieve."
              },
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "ID of the record you are acting upon."
              },
              {
                "name": "raw",
                "value": "",
                "type": "query",
                "description": "Include raw response. Mostly used for debugging purposes"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          },
          "docs": "Delete Attachment"
        },
        {
          "info": {
            "name": "Apideck Download Attachment",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://unify.apideck.com/accounting/attachments/:reference_type/:reference_id/:id/download",
            "headers": [
              {
                "name": "x-apideck-consumer-id",
                "value": "test-consumer"
              },
              {
                "name": "x-apideck-app-id",
                "value": "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX"
              },
              {
                "name": "x-apideck-service-id",
                "value": "salesforce"
              },
              {
                "name": "x-apideck-company-id",
                "value": "12345"
              }
            ],
            "params": [
              {
                "name": "reference_type",
                "value": "invoice",
                "type": "path",
                "description": "The reference type of the document."
              },
              {
                "name": "reference_id",
                "value": "123456",
                "type": "path",
                "description": "The reference id of the object to retrieve."
              },
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "ID of the record you are acting upon."
              },
              {
                "name": "fields",
                "value": "id,updated_at",
                "type": "query",
                "description": "The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded."
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          },
          "docs": "Download Attachment"
        }
      ]
    }
  ],
  "bundled": true
}