POST Api/Profiles/GetWorkerPayroll

Request Information

URI Parameters

None.

Body Parameters

WorkerPayrollFilter
NameDescriptionTypeAdditional information
ProfileId

string

None.

StartDate

date

None.

EndDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "profileId": "sample string 1",
  "startDate": "2024-05-18T06:44:08.6861012+00:00",
  "endDate": "2024-05-18T06:44:08.6861012+00:00"
}

multipart/form-data

Sample:
{"profileId":"sample string 1","startDate":"2024-05-18T06:44:08.6861012+00:00","endDate":"2024-05-18T06:44:08.6861012+00:00"}

application/xml, text/xml

Sample:
<WorkerPayrollFilter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <ProfileId>sample string 1</ProfileId>
  <StartDate />
  <EndDate />
</WorkerPayrollFilter>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

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-18T06:44:08.7017604+00:00",
  "contractEndDate": "2024-05-18T06:44:08.7017604+00:00",
  "providerName": "sample string 10",
  "year": 11,
  "month": 12,
  "payrollElements": [
    {
      "typeOfPayrollElementId": 1,
      "hourRate": 1.0,
      "value": 1.0,
      "workStartDate": "2024-05-18T06:44:08.7017604+00:00",
      "workEndDate": "2024-05-18T06:44:08.7017604+00:00",
      "durationInMin": 1.0,
      "isNetto": true
    },
    {
      "typeOfPayrollElementId": 1,
      "hourRate": 1.0,
      "value": 1.0,
      "workStartDate": "2024-05-18T06:44:08.7017604+00:00",
      "workEndDate": "2024-05-18T06:44:08.7017604+00:00",
      "durationInMin": 1.0,
      "isNetto": true
    }
  ],
  "comments": "sample string 13",
  "errorMessage": "sample string 14",
  "correctionDate": "2024-05-18T06:44:08.7017604+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-18T06:44:08.7017604+00:00","contractEndDate":"2024-05-18T06:44:08.7017604+00:00","providerName":"sample string 10","year":11,"month":12,"payrollElements":[{"typeOfPayrollElementId":1,"hourRate":1.0,"value":1.0,"workStartDate":"2024-05-18T06:44:08.7017604+00:00","workEndDate":"2024-05-18T06:44:08.7017604+00:00","durationInMin":1.0,"isNetto":true},{"typeOfPayrollElementId":1,"hourRate":1.0,"value":1.0,"workStartDate":"2024-05-18T06:44:08.7017604+00:00","workEndDate":"2024-05-18T06:44:08.7017604+00:00","durationInMin":1.0,"isNetto":true}],"comments":"sample string 13","errorMessage":"sample string 14","correctionDate":"2024-05-18T06:44:08.7017604+00:00","downloaded":true}

application/xml, text/xml

Sample:
<WorkerPayrollSummary xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <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>