POST Api/Profiles/GetTeamPayroll

Request Information

URI Parameters

None.

Body Parameters

TeamFilter
NameDescriptionTypeAdditional information
TextFilter

Filtrowanie w zależności od tekstu. Jeśli null to brak filtrowania.

string

None.

SortOrder

Określa sposób sortowania wyników

ProfileSortEnum

None.

OrgUnitFilter

Filtruje listę wyników według identyfikatora obiektu OrganizationalUnit.

integer

None.

ShowAssignedFilter

Filtruje listę wyników według zapisanych.

boolean

None.

ShowTimeRemovedFilter

Filtruje listę wyników według wypisanych czasowo.

boolean

None.

ShowRemovedFilter

Filtruje listę wyników według wypisanych.

boolean

None.

StartDate

date

Required

EndDate

date

Required

Status

string

None.

ContractOrgUnitId

integer

None.

ContractWorkPositionId

integer

None.

DatesRangeName

string

None.

FromDate

date

None.

ToDate

date

None.

ShowAllContracts

boolean

None.

ItemsPerPage

Ilość obiektów na stronę

integer

None.

CurrentPage

Obecna strona

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "textFilter": "sample string 1",
  "sortOrder": 0,
  "orgUnitFilter": 2,
  "showAssignedFilter": true,
  "showTimeRemovedFilter": true,
  "showRemovedFilter": true,
  "startDate": "2024-05-18T07:25:23.6581862+00:00",
  "endDate": "2024-05-18T07:25:23.6581862+00:00",
  "status": "sample string 8",
  "contractOrgUnitId": 1,
  "contractWorkPositionId": 1,
  "datesRangeName": "sample string 9",
  "fromDate": "2024-05-18T07:25:23.6581862+00:00",
  "toDate": "2024-05-18T07:25:23.6581862+00:00",
  "showAllContracts": true,
  "itemsPerPage": 11,
  "currentPage": 12
}

multipart/form-data

Sample:
{"textFilter":"sample string 1","sortOrder":0,"orgUnitFilter":2,"showAssignedFilter":true,"showTimeRemovedFilter":true,"showRemovedFilter":true,"startDate":"2024-05-18T07:25:23.6581862+00:00","endDate":"2024-05-18T07:25:23.6581862+00:00","status":"sample string 8","contractOrgUnitId":1,"contractWorkPositionId":1,"datesRangeName":"sample string 9","fromDate":"2024-05-18T07:25:23.6581862+00:00","toDate":"2024-05-18T07:25:23.6581862+00:00","showAllContracts":true,"itemsPerPage":11,"currentPage":12}

application/xml, text/xml

Sample:
<TeamFilter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <ItemsPerPage>11</ItemsPerPage>
  <CurrentPage>12</CurrentPage>
  <TextFilter>sample string 1</TextFilter>
  <SortOrder>ProfileIdAsc</SortOrder>
  <OrgUnitFilter>2</OrgUnitFilter>
  <ShowAssignedFilter>true</ShowAssignedFilter>
  <ShowTimeRemovedFilter>true</ShowTimeRemovedFilter>
  <ShowRemovedFilter>true</ShowRemovedFilter>
  <StartDate />
  <EndDate />
  <Status>sample string 8</Status>
  <ContractOrgUnitId>1</ContractOrgUnitId>
  <ContractWorkPositionId>1</ContractWorkPositionId>
  <DatesRangeName>sample string 9</DatesRangeName>
  <FromDate />
  <ToDate />
  <ShowAllContracts>true</ShowAllContracts>
</TeamFilter>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of WorkerPayrollSummary
NameDescriptionTypeAdditional information
ProfileId

string

None.

Name

string

None.

Surname

string

None.

Email

string

None.

CellPhone

string

None.

Identity

string

None.

EmployerName

string

None.

HasAccountNo

boolean

None.

ContractId

integer

None.

WorkPositionName

string

None.

TypeOfContractId

integer

None.

ContractStartDate

date

None.

ContractEndDate

date

None.

ProviderName

string

None.

Year

integer

None.

Month

integer

None.

PayrollElements

Collection of PayrollElement

None.

Comments

string

None.

ErrorMessage

string

None.

CorrectionDate

date

None.

Downloaded

boolean

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "profileId": "sample string 1",
    "name": "sample string 2",
    "surname": "sample string 3",
    "email": "sample string 4",
    "cellPhone": "sample string 5",
    "identity": "sample string 6",
    "employerName": "sample string 7",
    "hasAccountNo": true,
    "contractId": 1,
    "workPositionName": "sample string 9",
    "typeOfContractId": 1,
    "contractStartDate": "2024-05-18T07:25:23.6581862+00:00",
    "contractEndDate": "2024-05-18T07:25:23.6581862+00:00",
    "providerName": "sample string 10",
    "year": 11,
    "month": 12,
    "payrollElements": [
      {
        "typeOfPayrollElementId": 1,
        "hourRate": 1.0,
        "value": 1.0,
        "workStartDate": "2024-05-18T07:25:23.6581862+00:00",
        "workEndDate": "2024-05-18T07:25:23.6581862+00:00",
        "durationInMin": 1.0,
        "isNetto": true
      },
      {
        "typeOfPayrollElementId": 1,
        "hourRate": 1.0,
        "value": 1.0,
        "workStartDate": "2024-05-18T07:25:23.6581862+00:00",
        "workEndDate": "2024-05-18T07:25:23.6581862+00:00",
        "durationInMin": 1.0,
        "isNetto": true
      }
    ],
    "comments": "sample string 13",
    "errorMessage": "sample string 14",
    "correctionDate": "2024-05-18T07:25:23.6581862+00:00",
    "downloaded": true
  },
  {
    "profileId": "sample string 1",
    "name": "sample string 2",
    "surname": "sample string 3",
    "email": "sample string 4",
    "cellPhone": "sample string 5",
    "identity": "sample string 6",
    "employerName": "sample string 7",
    "hasAccountNo": true,
    "contractId": 1,
    "workPositionName": "sample string 9",
    "typeOfContractId": 1,
    "contractStartDate": "2024-05-18T07:25:23.6581862+00:00",
    "contractEndDate": "2024-05-18T07:25:23.6581862+00:00",
    "providerName": "sample string 10",
    "year": 11,
    "month": 12,
    "payrollElements": [
      {
        "typeOfPayrollElementId": 1,
        "hourRate": 1.0,
        "value": 1.0,
        "workStartDate": "2024-05-18T07:25:23.6581862+00:00",
        "workEndDate": "2024-05-18T07:25:23.6581862+00:00",
        "durationInMin": 1.0,
        "isNetto": true
      },
      {
        "typeOfPayrollElementId": 1,
        "hourRate": 1.0,
        "value": 1.0,
        "workStartDate": "2024-05-18T07:25:23.6581862+00:00",
        "workEndDate": "2024-05-18T07:25:23.6581862+00:00",
        "durationInMin": 1.0,
        "isNetto": true
      }
    ],
    "comments": "sample string 13",
    "errorMessage": "sample string 14",
    "correctionDate": "2024-05-18T07:25:23.6581862+00:00",
    "downloaded": true
  }
]

multipart/form-data

Sample:
[{"profileId":"sample string 1","name":"sample string 2","surname":"sample string 3","email":"sample string 4","cellPhone":"sample string 5","identity":"sample string 6","employerName":"sample string 7","hasAccountNo":true,"contractId":1,"workPositionName":"sample string 9","typeOfContractId":1,"contractStartDate":"2024-05-18T07:25:23.6581862+00:00","contractEndDate":"2024-05-18T07:25:23.6581862+00:00","providerName":"sample string 10","year":11,"month":12,"payrollElements":[{"typeOfPayrollElementId":1,"hourRate":1.0,"value":1.0,"workStartDate":"2024-05-18T07:25:23.6581862+00:00","workEndDate":"2024-05-18T07:25:23.6581862+00:00","durationInMin":1.0,"isNetto":true},{"typeOfPayrollElementId":1,"hourRate":1.0,"value":1.0,"workStartDate":"2024-05-18T07:25:23.6581862+00:00","workEndDate":"2024-05-18T07:25:23.6581862+00:00","durationInMin":1.0,"isNetto":true}],"comments":"sample string 13","errorMessage":"sample string 14","correctionDate":"2024-05-18T07:25:23.6581862+00:00","downloaded":true},{"profileId":"sample string 1","name":"sample string 2","surname":"sample string 3","email":"sample string 4","cellPhone":"sample string 5","identity":"sample string 6","employerName":"sample string 7","hasAccountNo":true,"contractId":1,"workPositionName":"sample string 9","typeOfContractId":1,"contractStartDate":"2024-05-18T07:25:23.6581862+00:00","contractEndDate":"2024-05-18T07:25:23.6581862+00:00","providerName":"sample string 10","year":11,"month":12,"payrollElements":[{"typeOfPayrollElementId":1,"hourRate":1.0,"value":1.0,"workStartDate":"2024-05-18T07:25:23.6581862+00:00","workEndDate":"2024-05-18T07:25:23.6581862+00:00","durationInMin":1.0,"isNetto":true},{"typeOfPayrollElementId":1,"hourRate":1.0,"value":1.0,"workStartDate":"2024-05-18T07:25:23.6581862+00:00","workEndDate":"2024-05-18T07:25:23.6581862+00:00","durationInMin":1.0,"isNetto":true}],"comments":"sample string 13","errorMessage":"sample string 14","correctionDate":"2024-05-18T07:25:23.6581862+00:00","downloaded":true}]

application/xml, text/xml

Sample:
<ArrayOfWorkerPayrollSummary xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <WorkerPayrollSummary>
    <ProfileId>sample string 1</ProfileId>
    <Name>sample string 2</Name>
    <Surname>sample string 3</Surname>
    <Email>sample string 4</Email>
    <CellPhone>sample string 5</CellPhone>
    <Identity>sample string 6</Identity>
    <EmployerName>sample string 7</EmployerName>
    <HasAccountNo>true</HasAccountNo>
    <ContractId>1</ContractId>
    <WorkPositionName>sample string 9</WorkPositionName>
    <TypeOfContractId>1</TypeOfContractId>
    <ContractStartDate />
    <ContractEndDate />
    <ProviderName>sample string 10</ProviderName>
    <Year>11</Year>
    <Month>12</Month>
    <PayrollElements>
      <PayrollElement>
        <TypeOfPayrollElementId>1</TypeOfPayrollElementId>
        <HourRate>1</HourRate>
        <Value>1</Value>
        <WorkStartDate />
        <WorkEndDate />
        <DurationInMin>1</DurationInMin>
        <IsNetto>true</IsNetto>
      </PayrollElement>
      <PayrollElement>
        <TypeOfPayrollElementId>1</TypeOfPayrollElementId>
        <HourRate>1</HourRate>
        <Value>1</Value>
        <WorkStartDate />
        <WorkEndDate />
        <DurationInMin>1</DurationInMin>
        <IsNetto>true</IsNetto>
      </PayrollElement>
    </PayrollElements>
    <Comments>sample string 13</Comments>
    <ErrorMessage>sample string 14</ErrorMessage>
    <CorrectionDate />
    <Downloaded>true</Downloaded>
  </WorkerPayrollSummary>
  <WorkerPayrollSummary>
    <ProfileId>sample string 1</ProfileId>
    <Name>sample string 2</Name>
    <Surname>sample string 3</Surname>
    <Email>sample string 4</Email>
    <CellPhone>sample string 5</CellPhone>
    <Identity>sample string 6</Identity>
    <EmployerName>sample string 7</EmployerName>
    <HasAccountNo>true</HasAccountNo>
    <ContractId>1</ContractId>
    <WorkPositionName>sample string 9</WorkPositionName>
    <TypeOfContractId>1</TypeOfContractId>
    <ContractStartDate />
    <ContractEndDate />
    <ProviderName>sample string 10</ProviderName>
    <Year>11</Year>
    <Month>12</Month>
    <PayrollElements>
      <PayrollElement>
        <TypeOfPayrollElementId>1</TypeOfPayrollElementId>
        <HourRate>1</HourRate>
        <Value>1</Value>
        <WorkStartDate />
        <WorkEndDate />
        <DurationInMin>1</DurationInMin>
        <IsNetto>true</IsNetto>
      </PayrollElement>
      <PayrollElement>
        <TypeOfPayrollElementId>1</TypeOfPayrollElementId>
        <HourRate>1</HourRate>
        <Value>1</Value>
        <WorkStartDate />
        <WorkEndDate />
        <DurationInMin>1</DurationInMin>
        <IsNetto>true</IsNetto>
      </PayrollElement>
    </PayrollElements>
    <Comments>sample string 13</Comments>
    <ErrorMessage>sample string 14</ErrorMessage>
    <CorrectionDate />
    <Downloaded>true</Downloaded>
  </WorkerPayrollSummary>
</ArrayOfWorkerPayrollSummary>