{
  "opencollection": "1.0.0",
  "info": {
    "name": "Unified.to account group API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "authorization",
      "value": "{{authorization}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "group",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List All Groups",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.unified.to/ads/:connection_id/group",
            "params": [
              {
                "name": "limit",
                "value": "",
                "type": "query"
              },
              {
                "name": "offset",
                "value": "",
                "type": "query"
              },
              {
                "name": "updated_gte",
                "value": "",
                "type": "query",
                "description": "Return only results whose updated date is equal or greater to this value (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"
              },
              {
                "name": "sort",
                "value": "",
                "type": "query"
              },
              {
                "name": "order",
                "value": "",
                "type": "query"
              },
              {
                "name": "query",
                "value": "",
                "type": "query",
                "description": "Query string to search. eg. email address or name"
              },
              {
                "name": "org_id",
                "value": "",
                "type": "query",
                "description": "The org ID to filter by (reference to AdsOrganization)"
              },
              {
                "name": "campaign_id",
                "value": "",
                "type": "query",
                "description": "The campaign ID to filter by"
              },
              {
                "name": "parent_id",
                "value": "",
                "type": "query",
                "description": "The parent ID to filter by"
              },
              {
                "name": "io_id",
                "value": "",
                "type": "query",
                "description": "The IO ID to filter by"
              },
              {
                "name": "start_gte",
                "value": "",
                "type": "query",
                "description": "The start date to filter by (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"
              },
              {
                "name": "end_lt",
                "value": "",
                "type": "query",
                "description": "The end date to filter by (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"
              },
              {
                "name": "fields",
                "value": "",
                "type": "query",
                "description": "Fields to return"
              },
              {
                "name": "raw",
                "value": "",
                "type": "query",
                "description": "Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar"
              },
              {
                "name": "connection_id",
                "value": "",
                "type": "path",
                "description": "ID of the connection"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "authorization",
              "value": "{{authorization}}",
              "placement": "header"
            }
          },
          "docs": "List All Groups"
        },
        {
          "info": {
            "name": "Create a Group",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.unified.to/ads/:connection_id/group",
            "params": [
              {
                "name": "fields",
                "value": "",
                "type": "query",
                "description": "Fields to return"
              },
              {
                "name": "raw",
                "value": "",
                "type": "query",
                "description": "Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar"
              },
              {
                "name": "connection_id",
                "value": "",
                "type": "path",
                "description": "ID of the connection"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "authorization",
              "value": "{{authorization}}",
              "placement": "header"
            }
          },
          "docs": "Create a Group"
        },
        {
          "info": {
            "name": "Retrieve a Group",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.unified.to/ads/:connection_id/group/:id",
            "params": [
              {
                "name": "fields",
                "value": "",
                "type": "query",
                "description": "Fields to return"
              },
              {
                "name": "raw",
                "value": "",
                "type": "query",
                "description": "Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar"
              },
              {
                "name": "connection_id",
                "value": "",
                "type": "path",
                "description": "ID of the connection"
              },
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "ID of the Group"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "authorization",
              "value": "{{authorization}}",
              "placement": "header"
            }
          },
          "docs": "Retrieve a Group"
        },
        {
          "info": {
            "name": "Update a Group",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.unified.to/ads/:connection_id/group/:id",
            "params": [
              {
                "name": "fields",
                "value": "",
                "type": "query",
                "description": "Fields to return"
              },
              {
                "name": "raw",
                "value": "",
                "type": "query",
                "description": "Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar"
              },
              {
                "name": "connection_id",
                "value": "",
                "type": "path",
                "description": "ID of the connection"
              },
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "ID of the Group"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "authorization",
              "value": "{{authorization}}",
              "placement": "header"
            }
          },
          "docs": "Update a Group"
        },
        {
          "info": {
            "name": "Update a Group",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.unified.to/ads/:connection_id/group/:id",
            "params": [
              {
                "name": "fields",
                "value": "",
                "type": "query",
                "description": "Fields to return"
              },
              {
                "name": "raw",
                "value": "",
                "type": "query",
                "description": "Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar"
              },
              {
                "name": "connection_id",
                "value": "",
                "type": "path",
                "description": "ID of the connection"
              },
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "ID of the Group"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "authorization",
              "value": "{{authorization}}",
              "placement": "header"
            }
          },
          "docs": "Update a Group"
        },
        {
          "info": {
            "name": "Remove a Group",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.unified.to/ads/:connection_id/group/:id",
            "params": [
              {
                "name": "connection_id",
                "value": "",
                "type": "path",
                "description": "ID of the connection"
              },
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "ID of the Group"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "authorization",
              "value": "{{authorization}}",
              "placement": "header"
            }
          },
          "docs": "Remove a Group"
        },
        {
          "info": {
            "name": "List All Groups",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.unified.to/hris/:connection_id/group",
            "params": [
              {
                "name": "limit",
                "value": "",
                "type": "query"
              },
              {
                "name": "offset",
                "value": "",
                "type": "query"
              },
              {
                "name": "updated_gte",
                "value": "",
                "type": "query",
                "description": "Return only results whose updated date is equal or greater to this value (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"
              },
              {
                "name": "sort",
                "value": "",
                "type": "query"
              },
              {
                "name": "order",
                "value": "",
                "type": "query"
              },
              {
                "name": "query",
                "value": "",
                "type": "query",
                "description": "Query string to search. eg. email address or name"
              },
              {
                "name": "company_id",
                "value": "",
                "type": "query",
                "description": "The company ID to filter by (reference to HrisCompany)"
              },
              {
                "name": "type",
                "value": "",
                "type": "query",
                "description": "The type to filter by"
              },
              {
                "name": "fields",
                "value": "",
                "type": "query",
                "description": "Fields to return"
              },
              {
                "name": "raw",
                "value": "",
                "type": "query",
                "description": "Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar"
              },
              {
                "name": "connection_id",
                "value": "",
                "type": "path",
                "description": "ID of the connection"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "authorization",
              "value": "{{authorization}}",
              "placement": "header"
            }
          },
          "docs": "List All Groups"
        },
        {
          "info": {
            "name": "Create a Group",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.unified.to/hris/:connection_id/group",
            "params": [
              {
                "name": "fields",
                "value": "",
                "type": "query",
                "description": "Fields to return"
              },
              {
                "name": "raw",
                "value": "",
                "type": "query",
                "description": "Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar"
              },
              {
                "name": "connection_id",
                "value": "",
                "type": "path",
                "description": "ID of the connection"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "authorization",
              "value": "{{authorization}}",
              "placement": "header"
            }
          },
          "docs": "Create a Group"
        },
        {
          "info": {
            "name": "Retrieve a Group",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.unified.to/hris/:connection_id/group/:id",
            "params": [
              {
                "name": "fields",
                "value": "",
                "type": "query",
                "description": "Fields to return"
              },
              {
                "name": "raw",
                "value": "",
                "type": "query",
                "description": "Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar"
              },
              {
                "name": "connection_id",
                "value": "",
                "type": "path",
                "description": "ID of the connection"
              },
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "ID of the Group"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "authorization",
              "value": "{{authorization}}",
              "placement": "header"
            }
          },
          "docs": "Retrieve a Group"
        },
        {
          "info": {
            "name": "Update a Group",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.unified.to/hris/:connection_id/group/:id",
            "params": [
              {
                "name": "fields",
                "value": "",
                "type": "query",
                "description": "Fields to return"
              },
              {
                "name": "raw",
                "value": "",
                "type": "query",
                "description": "Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar"
              },
              {
                "name": "connection_id",
                "value": "",
                "type": "path",
                "description": "ID of the connection"
              },
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "ID of the Group"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "authorization",
              "value": "{{authorization}}",
              "placement": "header"
            }
          },
          "docs": "Update a Group"
        },
        {
          "info": {
            "name": "Update a Group",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.unified.to/hris/:connection_id/group/:id",
            "params": [
              {
                "name": "fields",
                "value": "",
                "type": "query",
                "description": "Fields to return"
              },
              {
                "name": "raw",
                "value": "",
                "type": "query",
                "description": "Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar"
              },
              {
                "name": "connection_id",
                "value": "",
                "type": "path",
                "description": "ID of the connection"
              },
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "ID of the Group"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "authorization",
              "value": "{{authorization}}",
              "placement": "header"
            }
          },
          "docs": "Update a Group"
        },
        {
          "info": {
            "name": "Remove a Group",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.unified.to/hris/:connection_id/group/:id",
            "params": [
              {
                "name": "connection_id",
                "value": "",
                "type": "path",
                "description": "ID of the connection"
              },
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "ID of the Group"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "authorization",
              "value": "{{authorization}}",
              "placement": "header"
            }
          },
          "docs": "Remove a Group"
        },
        {
          "info": {
            "name": "List Groups",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.unified.to/scim/:connection_id/groups",
            "params": [
              {
                "name": "filter",
                "value": "",
                "type": "query"
              },
              {
                "name": "sortBy",
                "value": "",
                "type": "query"
              },
              {
                "name": "sortOrder",
                "value": "",
                "type": "query"
              },
              {
                "name": "startIndex",
                "value": "",
                "type": "query"
              },
              {
                "name": "count",
                "value": "",
                "type": "query"
              },
              {
                "name": "connection_id",
                "value": "",
                "type": "path",
                "description": "ID of the connection"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "authorization",
              "value": "{{authorization}}",
              "placement": "header"
            }
          },
          "docs": "List Groups"
        },
        {
          "info": {
            "name": "Create Group",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.unified.to/scim/:connection_id/groups",
            "params": [
              {
                "name": "connection_id",
                "value": "",
                "type": "path",
                "description": "ID of the connection"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "authorization",
              "value": "{{authorization}}",
              "placement": "header"
            }
          },
          "docs": "Create Group"
        },
        {
          "info": {
            "name": "Get Group",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.unified.to/scim/:connection_id/groups/:id",
            "params": [
              {
                "name": "connection_id",
                "value": "",
                "type": "path",
                "description": "ID of the connection"
              },
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "ID of the Group"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "authorization",
              "value": "{{authorization}}",
              "placement": "header"
            }
          },
          "docs": "Get Group"
        },
        {
          "info": {
            "name": "Update Group",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.unified.to/scim/:connection_id/groups/:id",
            "params": [
              {
                "name": "connection_id",
                "value": "",
                "type": "path",
                "description": "ID of the connection"
              },
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "ID of the Group"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "authorization",
              "value": "{{authorization}}",
              "placement": "header"
            }
          },
          "docs": "Update Group"
        },
        {
          "info": {
            "name": "Update Group",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.unified.to/scim/:connection_id/groups/:id",
            "params": [
              {
                "name": "connection_id",
                "value": "",
                "type": "path",
                "description": "ID of the connection"
              },
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "ID of the Group"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "authorization",
              "value": "{{authorization}}",
              "placement": "header"
            }
          },
          "docs": "Update Group"
        },
        {
          "info": {
            "name": "Delete Group",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.unified.to/scim/:connection_id/groups/:id",
            "params": [
              {
                "name": "connection_id",
                "value": "",
                "type": "path",
                "description": "ID of the connection"
              },
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "ID of the Group"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "authorization",
              "value": "{{authorization}}",
              "placement": "header"
            }
          },
          "docs": "Delete Group"
        }
      ]
    }
  ],
  "bundled": true
}