GET Api/Utility/GetCustomerWorkPositions/{companyInfoId}/{userTaskId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
companyInfoId

integer

Required

userTaskId

integer

Required

Body Parameters

None.

Response Information

Resource Description

WorkPositionsWithPrice
NameDescriptionTypeAdditional information
CompanyInfoId

integer

None.

Nip

string

None.

OwnerId

integer

None.

PeriodicServiceId

integer

None.

UserTaskId

integer

None.

AllowElectronicInvoice

boolean

None.

InvoiceEmail

string

None.

PayTime

integer

None.

TypeOfPaymentDeadline

TypeOfPaymentDeadline

None.

WorkPositionId

integer

None.

WorkPositionName

string

None.

TypeOfEmployment

TypeOfEmployment

None.

MonthlyWorkTime

integer

None.

TypeOfContractId

integer

None.

TypeOfPayrollElementId

integer

None.

HourRateNetto

decimal number

None.

HourRateBrutto

decimal number

None.

HourRateForCustomerBasic

decimal number

None.

HourRateForCustomerBonus

decimal number

None.

HourRateForCustomerNight

decimal number

None.

HourRateForCustomerOvertime50

decimal number

None.

HourRateForCustomerOvertime100

decimal number

None.

CostOfOccupationalMedicine

decimal number

None.

CostOfSanitaryInspection

decimal number

None.

CostOfFlat

decimal number

None.

CostOfForklifts

decimal number

None.

CostOfJobResignation

decimal number

None.

CostOfTransport

decimal number

None.

PriceFormItems

Collection of PriceFormItem

None.

Response Formats

application/json, text/json

Sample:
{
  "companyInfoId": 1,
  "nip": "sample string 2",
  "ownerId": 1,
  "periodicServiceId": 1,
  "userTaskId": 1,
  "allowElectronicInvoice": true,
  "invoiceEmail": "sample string 4",
  "payTime": 1,
  "typeOfPaymentDeadline": 0,
  "workPositionId": 1,
  "workPositionName": "sample string 5",
  "typeOfEmployment": 0,
  "monthlyWorkTime": 1,
  "typeOfContractId": 1,
  "typeOfPayrollElementId": 1,
  "hourRateNetto": 1.0,
  "hourRateBrutto": 1.0,
  "hourRateForCustomerBasic": 1.0,
  "hourRateForCustomerBonus": 1.0,
  "hourRateForCustomerNight": 1.0,
  "hourRateForCustomerOvertime50": 1.0,
  "hourRateForCustomerOvertime100": 1.0,
  "costOfOccupationalMedicine": 1.0,
  "costOfSanitaryInspection": 1.0,
  "costOfFlat": 1.0,
  "costOfForklifts": 1.0,
  "costOfJobResignation": 1.0,
  "costOfTransport": 1.0,
  "priceFormItems": [
    {
      "priceFactorId": 1,
      "name": "sample string 2",
      "description": "sample string 3",
      "sequence": 4,
      "value": 1.0,
      "typeOfPriceValue": 0,
      "formula": "sample string 5"
    },
    {
      "priceFactorId": 1,
      "name": "sample string 2",
      "description": "sample string 3",
      "sequence": 4,
      "value": 1.0,
      "typeOfPriceValue": 0,
      "formula": "sample string 5"
    }
  ]
}

multipart/form-data

Sample:
{"companyInfoId":1,"nip":"sample string 2","ownerId":1,"periodicServiceId":1,"userTaskId":1,"allowElectronicInvoice":true,"invoiceEmail":"sample string 4","payTime":1,"typeOfPaymentDeadline":0,"workPositionId":1,"workPositionName":"sample string 5","typeOfEmployment":0,"monthlyWorkTime":1,"typeOfContractId":1,"typeOfPayrollElementId":1,"hourRateNetto":1.0,"hourRateBrutto":1.0,"hourRateForCustomerBasic":1.0,"hourRateForCustomerBonus":1.0,"hourRateForCustomerNight":1.0,"hourRateForCustomerOvertime50":1.0,"hourRateForCustomerOvertime100":1.0,"costOfOccupationalMedicine":1.0,"costOfSanitaryInspection":1.0,"costOfFlat":1.0,"costOfForklifts":1.0,"costOfJobResignation":1.0,"costOfTransport":1.0,"priceFormItems":[{"priceFactorId":1,"name":"sample string 2","description":"sample string 3","sequence":4,"value":1.0,"typeOfPriceValue":0,"formula":"sample string 5"},{"priceFactorId":1,"name":"sample string 2","description":"sample string 3","sequence":4,"value":1.0,"typeOfPriceValue":0,"formula":"sample string 5"}]}

application/xml, text/xml

Sample:
<WorkPositionsWithPrice xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <CompanyInfoId>1</CompanyInfoId>
  <Nip>sample string 2</Nip>
  <OwnerId>1</OwnerId>
  <PeriodicServiceId>1</PeriodicServiceId>
  <UserTaskId>1</UserTaskId>
  <AllowElectronicInvoice>true</AllowElectronicInvoice>
  <InvoiceEmail>sample string 4</InvoiceEmail>
  <PayTime>1</PayTime>
  <TypeOfPaymentDeadline>IssueDate</TypeOfPaymentDeadline>
  <WorkPositionId>1</WorkPositionId>
  <WorkPositionName>sample string 5</WorkPositionName>
  <TypeOfEmployment>Internal</TypeOfEmployment>
  <MonthlyWorkTime>1</MonthlyWorkTime>
  <TypeOfContractId>1</TypeOfContractId>
  <TypeOfPayrollElementId>1</TypeOfPayrollElementId>
  <HourRateNetto>1</HourRateNetto>
  <HourRateBrutto>1</HourRateBrutto>
  <HourRateForCustomerBasic>1</HourRateForCustomerBasic>
  <HourRateForCustomerBonus>1</HourRateForCustomerBonus>
  <HourRateForCustomerNight>1</HourRateForCustomerNight>
  <HourRateForCustomerOvertime50>1</HourRateForCustomerOvertime50>
  <HourRateForCustomerOvertime100>1</HourRateForCustomerOvertime100>
  <CostOfOccupationalMedicine>1</CostOfOccupationalMedicine>
  <CostOfSanitaryInspection>1</CostOfSanitaryInspection>
  <CostOfFlat>1</CostOfFlat>
  <CostOfForklifts>1</CostOfForklifts>
  <CostOfJobResignation>1</CostOfJobResignation>
  <CostOfTransport>1</CostOfTransport>
  <PriceFormItems>
    <PriceFormItem>
      <PriceFactorId>1</PriceFactorId>
      <Name>sample string 2</Name>
      <Description>sample string 3</Description>
      <Sequence>4</Sequence>
      <Value>1</Value>
      <TypeOfPriceValue>Number</TypeOfPriceValue>
      <Formula>sample string 5</Formula>
    </PriceFormItem>
    <PriceFormItem>
      <PriceFactorId>1</PriceFactorId>
      <Name>sample string 2</Name>
      <Description>sample string 3</Description>
      <Sequence>4</Sequence>
      <Value>1</Value>
      <TypeOfPriceValue>Number</TypeOfPriceValue>
      <Formula>sample string 5</Formula>
    </PriceFormItem>
  </PriceFormItems>
</WorkPositionsWithPrice>