GET
/
reports#getPaidEmployeesCountBasedOnDateRange
curl --request GET \
  --url 'https://sandbox.rollfi.xyz/reports#getPaidEmployeesCountBasedOnDateRange' \
  --header 'Content-Type: application/json' \
  --data '{
  "method": "getPaidEmployeesCountBasedOnDateRange",
  "startDate": "2024-01-01",
  "endDate": "2024-04-20"
}'
{
  "1": {
    "summary": "Success",
    "value": [
      {
        "filterStartDate": "2024-01-01",
        "filterEndDate": "2024-04-20",
        "companies": [
          {
            "company": "sony liv Inc",
            "companyId": "64FF8C21-808B-45CE-AAA8-B21E5DA8ED14",
            "paidEmployeesDistinctCount": 2,
            "payPeriods": [
              {
                "payPeriod": "12/22/2023 - 01/05/2024",
                "payDate": "2024-01-08",
                "paidEmployeesCount": 1,
                "employees": [
                  {
                    "employee": "Perry Jones",
                    "employeeId": "5C97B864-3A2C-471E-8C3E-7DEBBE7FE706"
                  }
                ]
              },
              {
                "payPeriod": "01/05/2024 - 01/18/2024",
                "payDate": "2024-01-19",
                "paidEmployeesCount": 2,
                "employees": [
                  {
                    "employee": "Perry Jones",
                    "employeeId": "5C97B864-3A2C-471E-8C3E-7DEBBE7FE706"
                  },
                  {
                    "employee": "Leo  Joen",
                    "employeeId": "FDBCB472-F0DF-4095-B1BB-F56A11E2C1EF"
                  }
                ]
              }
            ]
          },
          {
            "company": "Educationpro",
            "companyId": "86C1D489-FC8C-4C6F-B511-6AE78D5366B4",
            "paidEmployeesDistinctCount": 6,
            "payPeriods": [
              {
                "payPeriod": "01/08/2024 - 01/22/2024",
                "payDate": "2024-01-23",
                "paidEmployeesCount": 1,
                "employees": [
                  {
                    "employee": "John  Smith",
                    "employeeId": "A84FF6A3-5B1E-41B6-B1B4-862B9CE75744"
                  }
                ]
              },
              {
                "payPeriod": "01/14/2024 - 01/27/2024",
                "payDate": "2024-01-26",
                "paidEmployeesCount": 3,
                "employees": [
                  {
                    "employee": "Jerry   Byrne",
                    "employeeId": "1C58E147-2F3F-46C1-B6B7-098B6EA94993"
                  },
                  {
                    "employee": "John   Smith",
                    "employeeId": "D9CBCBC8-1D17-431D-A57B-70D0E8C5DB91"
                  },
                  {
                    "employee": "Robert  James",
                    "employeeId": "AB788827-4634-4BA9-B8B5-E5F2E809E65E"
                  }
                ]
              },
              {
                "payPeriod": "01/16/2024 - 01/30/2024",
                "payDate": "2024-02-05",
                "paidEmployeesCount": 1,
                "employees": [
                  {
                    "employee": "Calvin   Mayo",
                    "employeeId": "026676E2-F86A-4FC1-8F6A-E77EA52E502D"
                  }
                ]
              },
              {
                "payPeriod": "01/22/2024 - 02/05/2024",
                "payDate": "2024-02-06",
                "paidEmployeesCount": 1,
                "employees": [
                  {
                    "employee": "John  Smith",
                    "employeeId": "A84FF6A3-5B1E-41B6-B1B4-862B9CE75744"
                  }
                ]
              },
              {
                "payPeriod": "01/28/2024 - 02/10/2024",
                "payDate": "2024-02-09",
                "paidEmployeesCount": 3,
                "employees": [
                  {
                    "employee": "Jerry   Byrne",
                    "employeeId": "1C58E147-2F3F-46C1-B6B7-098B6EA94993"
                  },
                  {
                    "employee": "John   Smith",
                    "employeeId": "D9CBCBC8-1D17-431D-A57B-70D0E8C5DB91"
                  },
                  {
                    "employee": "Robert  James",
                    "employeeId": "AB788827-4634-4BA9-B8B5-E5F2E809E65E"
                  }
                ]
              },
              {
                "payPeriod": "02/11/2024 - 02/24/2024",
                "payDate": "2024-02-23",
                "paidEmployeesCount": 3,
                "employees": [
                  {
                    "employee": "Jerry   Byrne",
                    "employeeId": "1C58E147-2F3F-46C1-B6B7-098B6EA94993"
                  },
                  {
                    "employee": "John   Smith",
                    "employeeId": "D9CBCBC8-1D17-431D-A57B-70D0E8C5DB91"
                  },
                  {
                    "employee": "Robert  James",
                    "employeeId": "AB788827-4634-4BA9-B8B5-E5F2E809E65E"
                  }
                ]
              },
              {
                "payPeriod": "03/06/2024 - 03/06/2024",
                "payDate": "2024-03-06",
                "paidEmployeesCount": 0,
                "employees": []
              },
              {
                "payPeriod": "03/06/2024 - 03/06/2024",
                "payDate": "2024-03-06",
                "paidEmployeesCount": 1,
                "employees": [
                  {
                    "employee": "John   Smith",
                    "employeeId": "D9CBCBC8-1D17-431D-A57B-70D0E8C5DB91"
                  }
                ]
              },
              {
                "payPeriod": "03/06/2024 - 03/06/2024",
                "payDate": "2024-03-06",
                "paidEmployeesCount": 1,
                "employees": [
                  {
                    "employee": "John   Smith",
                    "employeeId": "D9CBCBC8-1D17-431D-A57B-70D0E8C5DB91"
                  }
                ]
              },
              {
                "payPeriod": "03/11/2024 - 03/13/2024",
                "payDate": "2024-03-13",
                "paidEmployeesCount": 4,
                "employees": [
                  {
                    "employee": "Jerry   Byrne",
                    "employeeId": "1C58E147-2F3F-46C1-B6B7-098B6EA94993"
                  },
                  {
                    "employee": "Amy  Bennet",
                    "employeeId": "56A0B11F-0E06-453F-8839-3688EBAD1322"
                  },
                  {
                    "employee": "John   Smith",
                    "employeeId": "D9CBCBC8-1D17-431D-A57B-70D0E8C5DB91"
                  },
                  {
                    "employee": "Robert  James",
                    "employeeId": "AB788827-4634-4BA9-B8B5-E5F2E809E65E"
                  }
                ]
              },
              {
                "payPeriod": "03/05/2024 - 03/13/2024",
                "payDate": "2024-03-13",
                "paidEmployeesCount": 2,
                "employees": [
                  {
                    "employee": "Amy  Bennet",
                    "employeeId": "56A0B11F-0E06-453F-8839-3688EBAD1322"
                  },
                  {
                    "employee": "John   Smith",
                    "employeeId": "D9CBCBC8-1D17-431D-A57B-70D0E8C5DB91"
                  }
                ]
              }
            ]
          }
        ]
      }
    ]
  }
}

Body

application/json
method
string
default: getPaidEmployeesCountBasedOnDateRangerequired
startDate
string
required
endDate
string
required

Response

200 - application/json
filterStartDate
string
filterEndDate
string
companies
object[]