{
  "opencollection": "1.0.0",
  "info": {
    "name": "Argyle Accounts Payroll Documents API",
    "version": "2.0"
  },
  "request": {
    "auth": {
      "type": "basic",
      "username": "{{username}}",
      "password": "{{password}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Payroll Documents",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Retrieve a payroll document",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.argyle.com/v2/payroll-documents/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "ID of the payroll document object to be retrieved."
              }
            ]
          },
          "docs": "Retrieves a payroll document object."
        },
        {
          "info": {
            "name": "List all payroll documents",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.argyle.com/v2/payroll-documents",
            "params": [
              {
                "name": "account",
                "value": "",
                "type": "query",
                "description": "Filter by account ID."
              },
              {
                "name": "user",
                "value": "",
                "type": "query",
                "description": "Filter by user ID."
              },
              {
                "name": "employment",
                "value": "",
                "type": "query",
                "description": "Filter by employment ID."
              },
              {
                "name": "from_available_date",
                "value": "",
                "type": "query",
                "description": "Filter for payroll documents with an `available_date` on or after this timestamp ([ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)).\n"
              },
              {
                "name": "to_available_date",
                "value": "",
                "type": "query",
                "description": "Filter for payroll documents with an `available_date` on or before this timestamp ([ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)).\n"
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Number of payroll document objects returned [per page](/api-guide/overview#pagination). Default: 10. Maximum: 200.\n"
              },
              {
                "name": "cursor",
                "value": "",
                "type": "query",
                "description": "The URL returned in `next` or `previous` used to retrieve another [page](/api-guide/overview#pagination) of results."
              }
            ]
          },
          "docs": "Returns a paginated list of all payroll document objects."
        }
      ]
    }
  ],
  "bundled": true
}