{
  "opencollection": "1.0.0",
  "info": {
    "name": "Fyle Platform Advances API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Advances",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List advance requests (admin)",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.fylehq.com/platform/v1/admin/advance_requests",
            "params": [
              {
                "name": "offset",
                "value": "",
                "type": "query",
                "description": "Number of records to skip for pagination (mandatory)."
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Maximum number of records to return per page (mandatory)."
              },
              {
                "name": "order",
                "value": "",
                "type": "query",
                "description": "Sort order, e.g. `created_at.desc` or `updated_at.asc` (mandatory)."
              }
            ]
          },
          "docs": "Lists advance requests raised by employees, with filtering and pagination."
        },
        {
          "info": {
            "name": "Create or update an advance request (admin)",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.fylehq.com/platform/v1/admin/advance_requests",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates or updates an advance request."
        }
      ]
    }
  ],
  "bundled": true
}