GET Api/Contracts/Simplified/{orgUnitId}/{fromDate}/{toDate}

Zwraca uproszczone informacje o umowach

Request Information

URI Parameters

NameDescriptionTypeAdditional information
orgUnitId

Nadrzędna jednostka organizacyjna

integer

Required

fromDate

Od daty

date

Required

toDate

Do daty

date

Required

Body Parameters

None.

Response Information

Resource Description

lista znalezionych umów

Collection of SimplifiedContractDto
NameDescriptionTypeAdditional information
ContractId

integer

None.

ProfildId

string

None.

RecruitmentProjectId

integer

None.

StartDate

date

None.

EndDate

date

None.

ContractStatusId

integer

None.

IsActive

boolean

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "contractId": 1,
    "profildId": "sample string 2",
    "recruitmentProjectId": 1,
    "startDate": "2024-05-18T04:04:51.5285553+00:00",
    "endDate": "2024-05-18T04:04:51.5285553+00:00",
    "contractStatusId": 1,
    "isActive": true
  },
  {
    "contractId": 1,
    "profildId": "sample string 2",
    "recruitmentProjectId": 1,
    "startDate": "2024-05-18T04:04:51.5285553+00:00",
    "endDate": "2024-05-18T04:04:51.5285553+00:00",
    "contractStatusId": 1,
    "isActive": true
  }
]

multipart/form-data

Sample:
[{"contractId":1,"profildId":"sample string 2","recruitmentProjectId":1,"startDate":"2024-05-18T04:04:51.5285553+00:00","endDate":"2024-05-18T04:04:51.5285553+00:00","contractStatusId":1,"isActive":true},{"contractId":1,"profildId":"sample string 2","recruitmentProjectId":1,"startDate":"2024-05-18T04:04:51.5285553+00:00","endDate":"2024-05-18T04:04:51.5285553+00:00","contractStatusId":1,"isActive":true}]

application/xml, text/xml

Sample:
<ArrayOfSimplifiedContractDto xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <SimplifiedContractDto>
    <ContractId>1</ContractId>
    <ProfildId>sample string 2</ProfildId>
    <RecruitmentProjectId>1</RecruitmentProjectId>
    <StartDate>2024-05-18T04:04:51.5285553+00:00</StartDate>
    <EndDate>2024-05-18T04:04:51.5285553+00:00</EndDate>
    <ContractStatusId>1</ContractStatusId>
    <IsActive>true</IsActive>
  </SimplifiedContractDto>
  <SimplifiedContractDto>
    <ContractId>1</ContractId>
    <ProfildId>sample string 2</ProfildId>
    <RecruitmentProjectId>1</RecruitmentProjectId>
    <StartDate>2024-05-18T04:04:51.5285553+00:00</StartDate>
    <EndDate>2024-05-18T04:04:51.5285553+00:00</EndDate>
    <ContractStatusId>1</ContractStatusId>
    <IsActive>true</IsActive>
  </SimplifiedContractDto>
</ArrayOfSimplifiedContractDto>