{
  "opencollection": "1.0.0",
  "info": {
    "name": "Avalara AvaTax DataSources API",
    "version": "1.0.0"
  },
  "request": {
    "auth": {
      "type": "basic",
      "username": "{{username}}",
      "password": "{{password}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "DataSources",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Avalara ListDataSources",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://{{baseurl}}/api/v2/companies/:companyId/datasources",
            "headers": [
              {
                "name": "X-Avalara-Client",
                "value": "AvaTax Postman Collection"
              }
            ],
            "params": [
              {
                "name": "companyId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Gets multiple datasource objects for a given company.\n\n### Security Policies\n\n* This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, ECMAccountUser, ECMCompanyUser, FirmAdmin, FirmUser, ProStoresOperator, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.\n* This API d"
        },
        {
          "info": {
            "name": "Avalara CreateDataSources",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "http://{{baseurl}}/api/v2/companies/:companyId/datasources",
            "headers": [
              {
                "name": "Content-Type",
                "value": "application/json"
              },
              {
                "name": "X-Avalara-Client",
                "value": "AvaTax Postman Collection"
              }
            ],
            "params": [
              {
                "name": "companyId",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create one or more datasource objects.\n\n### Security Policies\n\n* This API requires one of the following user roles: AccountAdmin, BatchServiceAdmin, CompanyAdmin, CSPTester, FirmAdmin, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin.\n* This API depends on the following active services:*Required* (all):  AvaTaxPro, BasicReturns.\n"
        },
        {
          "info": {
            "name": "Avalara GetDataSourceById",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://{{baseurl}}/api/v2/companies/:companyId/datasources/:id",
            "headers": [
              {
                "name": "X-Avalara-Client",
                "value": "AvaTax Postman Collection"
              }
            ],
            "params": [
              {
                "name": "companyId",
                "value": "",
                "type": "path"
              },
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Retrieve the data source by its unique ID number.\n\n### Security Policies\n\n* This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, ECMAccountUser, ECMCompanyUser, FirmAdmin, FirmUser, ProStoresOperator, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.\n* This API depen"
        },
        {
          "info": {
            "name": "Avalara UpdateDataSource",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "http://{{baseurl}}/api/v2/companies/:companyId/datasources/:id",
            "headers": [
              {
                "name": "Content-Type",
                "value": "application/json"
              },
              {
                "name": "X-Avalara-Client",
                "value": "AvaTax Postman Collection"
              }
            ],
            "params": [
              {
                "name": "companyId",
                "value": "",
                "type": "path"
              },
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates a datasource for a company.\n\n### Security Policies\n\n* This API requires one of the following user roles: AccountAdmin, BatchServiceAdmin, CompanyAdmin, CSPTester, FirmAdmin, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin.\n* This API depends on the following active services:*Required* (all):  AvaTaxPro, BasicReturns.\n"
        },
        {
          "info": {
            "name": "Avalara DeleteDataSource",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "http://{{baseurl}}/api/v2/companies/:companyId/datasources/:id",
            "headers": [
              {
                "name": "X-Avalara-Client",
                "value": "AvaTax Postman Collection"
              }
            ],
            "params": [
              {
                "name": "companyId",
                "value": "",
                "type": "path"
              },
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Marks the existing datasource for a company as deleted.\n\n### Security Policies\n\n* This API requires one of the following user roles: AccountAdmin, BatchServiceAdmin, CompanyAdmin, CSPTester, FirmAdmin, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin.\n* This API depends on the following active services:*Required* (all):  AvaTaxPro, BasicReturns.\n"
        },
        {
          "info": {
            "name": "Avalara QueryDataSources",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://{{baseurl}}/api/v2/datasources",
            "headers": [
              {
                "name": "X-Avalara-Client",
                "value": "AvaTax Postman Collection"
              }
            ]
          },
          "docs": "Get multiple datasource objects across all companies.\n            \nSearch for specific objects using the criteria in the `$filter` parameter; full documentation is available on [Filtering in REST](http://developer.avalara.com/avatax/filtering-in-rest/) .\nPaginate your results using the `$top`, `$skip`, and `$orderby` parameters.\n\n### Security Policies\n\n* This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Co"
        }
      ]
    }
  ],
  "bundled": true
}