{
  "opencollection": "1.0.0",
  "info": {
    "name": "Quinyx Absence Schedules Group API",
    "version": "v2"
  },
  "items": [
    {
      "info": {
        "name": "Group",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get a group",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.quinyx.com/organization/v3/groups/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Returns a group by ID."
        },
        {
          "info": {
            "name": "Update a group",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.quinyx.com/organization/v3/groups/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates the specified group with the provided attributes and returns the updated group."
        },
        {
          "info": {
            "name": "Deletes a group",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.quinyx.com/organization/v3/groups/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Permanently deletes the specified group and all associated data, including but not limited to employees, shifts, and punches."
        },
        {
          "info": {
            "name": "List groups",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.quinyx.com/organization/v3/groups",
            "params": [
              {
                "name": "pageToken",
                "value": "",
                "type": "query",
                "description": "Cursor for the next page of results."
              },
              {
                "name": "pageSize",
                "value": "",
                "type": "query",
                "description": "Maximum number of items to return."
              },
              {
                "name": "idIn",
                "value": "",
                "type": "query",
                "description": "Filter by id (IN). Supports external ids of types: xrefId"
              }
            ]
          },
          "docs": "Returns a paginated list of groups."
        },
        {
          "info": {
            "name": "Create a group",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.quinyx.com/organization/v3/groups",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a new group and returns the created group."
        }
      ]
    }
  ],
  "bundled": true
}