{
  "opencollection": "1.0.0",
  "info": {
    "name": "Company Details API",
    "version": "v1.0"
  },
  "items": [
    {
      "info": {
        "name": "Company Details",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "searchCompanies",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://apis.egencia.com/openconnect/api/v1/companies",
            "params": [
              {
                "name": "name",
                "value": "",
                "type": "query",
                "description": "Company name to search for"
              },
              {
                "name": "company_id",
                "value": "",
                "type": "query",
                "description": "Specific company ID"
              },
              {
                "name": "status",
                "value": "",
                "type": "query",
                "description": "Filter by company status(es)"
              },
              {
                "name": "start",
                "value": "",
                "type": "query",
                "description": "Pagination start index (default: 0)"
              },
              {
                "name": "sfid",
                "value": "",
                "type": "query",
                "description": "Salesforce ID"
              },
              {
                "name": "count",
                "value": "",
                "type": "query",
                "description": "Number of results per page (default: 100, max: 100)"
              },
              {
                "name": "sort_by",
                "value": "",
                "type": "query",
                "description": "Fields to sort by (default: [\"company_name\"])"
              },
              {
                "name": "sort_direction",
                "value": "",
                "type": "query",
                "description": "Sort direction: \"ASC\" or \"DESC\" (default: \"ASC\")"
              },
              {
                "name": "has_finance_consultant",
                "value": "",
                "type": "query",
                "description": "Filter by finance consultant presence"
              },
              {
                "name": "comcode",
                "value": "",
                "type": "query",
                "description": "Company code filter"
              }
            ]
          },
          "docs": "<p><b>Request Parameters</b></p>\n<div>\n    <table>\n        <thead>\n        <tr>\n            <th>\n               Attribute\n            </th>\n            <th>\n                Type\n            </th>\n            <th>\n                Description\n            </th>\n        </tr>\n        </thead>\n        <tbody>\n           <tr><td colspan=\"3\"><strong>Query Parameters</strong></td></tr>\n           <tr>\n               <td>name</td>\n               <td>String</td>\n               <td>Company name to search f"
        },
        {
          "info": {
            "name": "retrieveCompany",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://apis.egencia.com/openconnect/api/v1/companies/:company_id",
            "params": [
              {
                "name": "company_id",
                "value": "",
                "type": "path",
                "description": "Company Id"
              }
            ]
          },
          "docs": "<p><b>Request Parameters</b></p>\n<div>\n    <table>\n        <thead>\n        <tr>\n            <th>\n               Attribute\n            </th>\n            <th>\n                Type\n            </th>\n            <th>\n                Description\n            </th>\n        </tr>\n        </thead>\n        <tbody>\n           <tr><td colspan=\"3\"><strong>metadata</strong></td></tr>\n           <tr>\n               <td>companyId</td>\n               <td>Integer</td>\n               <td>Id of the company for whic"
        }
      ]
    },
    {
      "info": {
        "name": "ecommerce-settings-controller",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "getSettings",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://apis.egencia.com/openconnect/api/v1/companies/ecommerce-settings",
            "params": [
              {
                "name": "billing_dk",
                "value": "",
                "type": "query"
              },
              {
                "name": "traveler_dk",
                "value": "",
                "type": "query"
              },
              {
                "name": "setting_type",
                "value": "",
                "type": "query"
              }
            ]
          }
        },
        {
          "info": {
            "name": "getAudit",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://apis.egencia.com/openconnect/api/v1/companies/ecommerce-settings/audit",
            "params": [
              {
                "name": "start",
                "value": "",
                "type": "query",
                "description": "Start Timestamp"
              },
              {
                "name": "end",
                "value": "",
                "type": "query",
                "description": "End Timestamp"
              },
              {
                "name": "setting_type",
                "value": "",
                "type": "query"
              }
            ]
          }
        }
      ]
    }
  ],
  "bundled": true
}