POST Api/Orders/Search

Pobiera odfiltrowaną listę obiektów Order

Request Information

URI Parameters

None.

Body Parameters

ustawienia filtrowania i sortowania wyników

OrderFilter
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

OrderSortEnum

Required

OrganizationalUnitId

Filtruje listę wyników według identyfikatora obiektu OrganizationalUnit. Jeśli null to filtr jest pomijany.

integer

None.

CountryId

Filtruje listę wyników według identyfikatora obiektu Country. Jeśli null to filtr jest pomijany.

integer

None.

ScoffReasonId

Filtruje listę wyników według identyfikatora obiektu ScoffReason. Jeśli null to filtr jest pomijany.

integer

None.

StartDate

date

None.

EndDate

date

None.

ShiftStates

Collection of integer

None.

WorkPositions

Collection of integer

None.

Services

Collection of integer

None.

ShowPlanned

boolean

None.

ShowScoffs

boolean

None.

ShowTrainings

boolean

None.

HideCanceled

boolean

None.

HideEnded

boolean

None.

HideCompleted

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,
  "organizationalUnitId": 1,
  "countryId": 1,
  "scoffReasonId": 1,
  "startDate": "2024-05-18T04:21:11.7270367+00:00",
  "endDate": "2024-05-18T04:21:11.7270367+00:00",
  "shiftStates": [
    1,
    2
  ],
  "workPositions": [
    1,
    2
  ],
  "services": [
    1,
    2
  ],
  "showPlanned": true,
  "showScoffs": true,
  "showTrainings": true,
  "hideCanceled": true,
  "hideEnded": true,
  "hideCompleted": true,
  "itemsPerPage": 2,
  "currentPage": 3
}

multipart/form-data

Sample:
{"textFilter":"sample string 1","sortOrder":0,"organizationalUnitId":1,"countryId":1,"scoffReasonId":1,"startDate":"2024-05-18T04:21:11.7270367+00:00","endDate":"2024-05-18T04:21:11.7270367+00:00","shiftStates":[1,2],"workPositions":[1,2],"services":[1,2],"showPlanned":true,"showScoffs":true,"showTrainings":true,"hideCanceled":true,"hideEnded":true,"hideCompleted":true,"itemsPerPage":2,"currentPage":3}

application/xml, text/xml

Sample:
<OrderFilter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <ItemsPerPage>2</ItemsPerPage>
  <CurrentPage>3</CurrentPage>
  <TextFilter>sample string 1</TextFilter>
  <SortOrder>OrderIdAsc</SortOrder>
  <OrganizationalUnitId>1</OrganizationalUnitId>
  <CountryId>1</CountryId>
  <ScoffReasonId>1</ScoffReasonId>
  <StartDate />
  <EndDate />
  <ShiftStates>
    <int>1</int>
    <int>2</int>
  </ShiftStates>
  <WorkPositions>
    <int>1</int>
    <int>2</int>
  </WorkPositions>
  <Services>
    <int>1</int>
    <int>2</int>
  </Services>
  <ShowPlanned>true</ShowPlanned>
  <ShowScoffs>true</ShowScoffs>
  <ShowTrainings>true</ShowTrainings>
  <HideCanceled>true</HideCanceled>
  <HideEnded>true</HideEnded>
  <HideCompleted>true</HideCompleted>
</OrderFilter>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

lista obiektów Order zgodna z ustawieniem filtrowania oraz całkowita liczba wszystkich elementów w bazie spełniających kryteria (całkowita liczba obiektów jest obliczana tylo dla pierwszej strony CurrentPage == 0)

OrderResults
NameDescriptionTypeAdditional information
Orders

Lista obiektów OrderDto zgodna z ustawieniami stronnicowania i filtrem

Collection of OrderDto

None.

TotalElements

Całkowita liczba OrderDto w bazie danych spełniających warunki filtrowania

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "orders": [
    {
      "orderId": 1,
      "title": "sample string 2",
      "firstShift": "2024-05-18T04:21:11.7270367+00:00",
      "lastShift": "2024-05-18T04:21:11.7270367+00:00",
      "creationDate": "2024-05-18T04:21:11.7270367+00:00",
      "lastUpdate": "2024-05-18T04:21:11.7270367+00:00",
      "organizationalUnitId": 3,
      "address": "sample string 4",
      "city": "sample string 5",
      "postCode": "sample string 6",
      "countryId": 1,
      "geoPosition": {
        "latitude": 1.1,
        "longitude": 2.1
      },
      "confirmationRequired": true,
      "isPublic": true,
      "isScoff": true,
      "eachPositionAsShift": true,
      "scoffReasonId": 1,
      "shiftStateId": 11,
      "trainingStepId": 1,
      "descForProvider": "sample string 12",
      "descForWorker": "sample string 13",
      "shiftPlanId": 1,
      "weekPlanId": 1,
      "shifts": [
        {
          "shiftId": 1,
          "orderId": 1,
          "startDate": "2024-05-18T04:21:11.7270367+00:00",
          "endDate": "2024-05-18T04:21:11.7270367+00:00",
          "breakTime": 1,
          "shiftStateId": 4,
          "trainingStepId": 1,
          "weekPlanId": 1,
          "creationDate": "2024-05-18T04:21:11.7270367+00:00",
          "lastUpdate": "2024-05-18T04:21:11.7270367+00:00",
          "smsTemplate": "sample string 5",
          "descForProvider": "sample string 6",
          "descForWorker": "sample string 7",
          "needs": [
            {
              "needId": 1,
              "shiftId": 2,
              "serviceId": 1,
              "workPositionId": 3,
              "male": 1,
              "female": 1,
              "both": 1,
              "isNotified": true,
              "assignedWorkers": [
                {
                  "assignedWorkerId": 1,
                  "profileId": "sample string 2",
                  "needId": 3,
                  "assignmentDate": "2024-05-18T04:21:11.7270367+00:00",
                  "assignedById": "sample string 5",
                  "isAssigned": true,
                  "contractId": 1,
                  "assignmentStageId": 1,
                  "typeOfAbsenceId": 1,
                  "name": null,
                  "surname": null,
                  "gender": null,
                  "organizationalUnitId": null,
                  "created": null,
                  "error": null,
                  "otherShiftId": null,
                  "available": true
                },
                {
                  "assignedWorkerId": 1,
                  "profileId": "sample string 2",
                  "needId": 3,
                  "assignmentDate": "2024-05-18T04:21:11.7270367+00:00",
                  "assignedById": "sample string 5",
                  "isAssigned": true,
                  "contractId": 1,
                  "assignmentStageId": 1,
                  "typeOfAbsenceId": 1,
                  "name": null,
                  "surname": null,
                  "gender": null,
                  "organizationalUnitId": null,
                  "created": null,
                  "error": null,
                  "otherShiftId": null,
                  "available": true
                }
              ]
            },
            {
              "needId": 1,
              "shiftId": 2,
              "serviceId": 1,
              "workPositionId": 3,
              "male": 1,
              "female": 1,
              "both": 1,
              "isNotified": true,
              "assignedWorkers": [
                {
                  "assignedWorkerId": 1,
                  "profileId": "sample string 2",
                  "needId": 3,
                  "assignmentDate": "2024-05-18T04:21:11.7270367+00:00",
                  "assignedById": "sample string 5",
                  "isAssigned": true,
                  "contractId": 1,
                  "assignmentStageId": 1,
                  "typeOfAbsenceId": 1,
                  "name": null,
                  "surname": null,
                  "gender": null,
                  "organizationalUnitId": null,
                  "created": null,
                  "error": null,
                  "otherShiftId": null,
                  "available": true
                },
                {
                  "assignedWorkerId": 1,
                  "profileId": "sample string 2",
                  "needId": 3,
                  "assignmentDate": "2024-05-18T04:21:11.7270367+00:00",
                  "assignedById": "sample string 5",
                  "isAssigned": true,
                  "contractId": 1,
                  "assignmentStageId": 1,
                  "typeOfAbsenceId": 1,
                  "name": null,
                  "surname": null,
                  "gender": null,
                  "organizationalUnitId": null,
                  "created": null,
                  "error": null,
                  "otherShiftId": null,
                  "available": true
                }
              ]
            }
          ]
        },
        {
          "shiftId": 1,
          "orderId": 1,
          "startDate": "2024-05-18T04:21:11.7270367+00:00",
          "endDate": "2024-05-18T04:21:11.7270367+00:00",
          "breakTime": 1,
          "shiftStateId": 4,
          "trainingStepId": 1,
          "weekPlanId": 1,
          "creationDate": "2024-05-18T04:21:11.7270367+00:00",
          "lastUpdate": "2024-05-18T04:21:11.7270367+00:00",
          "smsTemplate": "sample string 5",
          "descForProvider": "sample string 6",
          "descForWorker": "sample string 7",
          "needs": [
            {
              "needId": 1,
              "shiftId": 2,
              "serviceId": 1,
              "workPositionId": 3,
              "male": 1,
              "female": 1,
              "both": 1,
              "isNotified": true,
              "assignedWorkers": [
                {
                  "assignedWorkerId": 1,
                  "profileId": "sample string 2",
                  "needId": 3,
                  "assignmentDate": "2024-05-18T04:21:11.7270367+00:00",
                  "assignedById": "sample string 5",
                  "isAssigned": true,
                  "contractId": 1,
                  "assignmentStageId": 1,
                  "typeOfAbsenceId": 1,
                  "name": null,
                  "surname": null,
                  "gender": null,
                  "organizationalUnitId": null,
                  "created": null,
                  "error": null,
                  "otherShiftId": null,
                  "available": true
                },
                {
                  "assignedWorkerId": 1,
                  "profileId": "sample string 2",
                  "needId": 3,
                  "assignmentDate": "2024-05-18T04:21:11.7270367+00:00",
                  "assignedById": "sample string 5",
                  "isAssigned": true,
                  "contractId": 1,
                  "assignmentStageId": 1,
                  "typeOfAbsenceId": 1,
                  "name": null,
                  "surname": null,
                  "gender": null,
                  "organizationalUnitId": null,
                  "created": null,
                  "error": null,
                  "otherShiftId": null,
                  "available": true
                }
              ]
            },
            {
              "needId": 1,
              "shiftId": 2,
              "serviceId": 1,
              "workPositionId": 3,
              "male": 1,
              "female": 1,
              "both": 1,
              "isNotified": true,
              "assignedWorkers": [
                {
                  "assignedWorkerId": 1,
                  "profileId": "sample string 2",
                  "needId": 3,
                  "assignmentDate": "2024-05-18T04:21:11.7270367+00:00",
                  "assignedById": "sample string 5",
                  "isAssigned": true,
                  "contractId": 1,
                  "assignmentStageId": 1,
                  "typeOfAbsenceId": 1,
                  "name": null,
                  "surname": null,
                  "gender": null,
                  "organizationalUnitId": null,
                  "created": null,
                  "error": null,
                  "otherShiftId": null,
                  "available": true
                },
                {
                  "assignedWorkerId": 1,
                  "profileId": "sample string 2",
                  "needId": 3,
                  "assignmentDate": "2024-05-18T04:21:11.7270367+00:00",
                  "assignedById": "sample string 5",
                  "isAssigned": true,
                  "contractId": 1,
                  "assignmentStageId": 1,
                  "typeOfAbsenceId": 1,
                  "name": null,
                  "surname": null,
                  "gender": null,
                  "organizationalUnitId": null,
                  "created": null,
                  "error": null,
                  "otherShiftId": null,
                  "available": true
                }
              ]
            }
          ]
        }
      ],
      "prefferedWorkers": [
        "sample string 1",
        "sample string 2"
      ],
      "workInOtherLocation": true,
      "isProcessed": true,
      "linkedRecruitmentProjects": [
        {
          "recruitmentProjectId": 1,
          "workPositionId": 2,
          "providerId": 3
        },
        {
          "recruitmentProjectId": 1,
          "workPositionId": 2,
          "providerId": 3
        }
      ]
    },
    {
      "orderId": 1,
      "title": "sample string 2",
      "firstShift": "2024-05-18T04:21:11.7270367+00:00",
      "lastShift": "2024-05-18T04:21:11.7270367+00:00",
      "creationDate": "2024-05-18T04:21:11.7270367+00:00",
      "lastUpdate": "2024-05-18T04:21:11.7270367+00:00",
      "organizationalUnitId": 3,
      "address": "sample string 4",
      "city": "sample string 5",
      "postCode": "sample string 6",
      "countryId": 1,
      "geoPosition": {
        "latitude": 1.1,
        "longitude": 2.1
      },
      "confirmationRequired": true,
      "isPublic": true,
      "isScoff": true,
      "eachPositionAsShift": true,
      "scoffReasonId": 1,
      "shiftStateId": 11,
      "trainingStepId": 1,
      "descForProvider": "sample string 12",
      "descForWorker": "sample string 13",
      "shiftPlanId": 1,
      "weekPlanId": 1,
      "shifts": [
        {
          "shiftId": 1,
          "orderId": 1,
          "startDate": "2024-05-18T04:21:11.7270367+00:00",
          "endDate": "2024-05-18T04:21:11.7270367+00:00",
          "breakTime": 1,
          "shiftStateId": 4,
          "trainingStepId": 1,
          "weekPlanId": 1,
          "creationDate": "2024-05-18T04:21:11.7270367+00:00",
          "lastUpdate": "2024-05-18T04:21:11.7270367+00:00",
          "smsTemplate": "sample string 5",
          "descForProvider": "sample string 6",
          "descForWorker": "sample string 7",
          "needs": [
            {
              "needId": 1,
              "shiftId": 2,
              "serviceId": 1,
              "workPositionId": 3,
              "male": 1,
              "female": 1,
              "both": 1,
              "isNotified": true,
              "assignedWorkers": [
                {
                  "assignedWorkerId": 1,
                  "profileId": "sample string 2",
                  "needId": 3,
                  "assignmentDate": "2024-05-18T04:21:11.7270367+00:00",
                  "assignedById": "sample string 5",
                  "isAssigned": true,
                  "contractId": 1,
                  "assignmentStageId": 1,
                  "typeOfAbsenceId": 1,
                  "name": null,
                  "surname": null,
                  "gender": null,
                  "organizationalUnitId": null,
                  "created": null,
                  "error": null,
                  "otherShiftId": null,
                  "available": true
                },
                {
                  "assignedWorkerId": 1,
                  "profileId": "sample string 2",
                  "needId": 3,
                  "assignmentDate": "2024-05-18T04:21:11.7270367+00:00",
                  "assignedById": "sample string 5",
                  "isAssigned": true,
                  "contractId": 1,
                  "assignmentStageId": 1,
                  "typeOfAbsenceId": 1,
                  "name": null,
                  "surname": null,
                  "gender": null,
                  "organizationalUnitId": null,
                  "created": null,
                  "error": null,
                  "otherShiftId": null,
                  "available": true
                }
              ]
            },
            {
              "needId": 1,
              "shiftId": 2,
              "serviceId": 1,
              "workPositionId": 3,
              "male": 1,
              "female": 1,
              "both": 1,
              "isNotified": true,
              "assignedWorkers": [
                {
                  "assignedWorkerId": 1,
                  "profileId": "sample string 2",
                  "needId": 3,
                  "assignmentDate": "2024-05-18T04:21:11.7270367+00:00",
                  "assignedById": "sample string 5",
                  "isAssigned": true,
                  "contractId": 1,
                  "assignmentStageId": 1,
                  "typeOfAbsenceId": 1,
                  "name": null,
                  "surname": null,
                  "gender": null,
                  "organizationalUnitId": null,
                  "created": null,
                  "error": null,
                  "otherShiftId": null,
                  "available": true
                },
                {
                  "assignedWorkerId": 1,
                  "profileId": "sample string 2",
                  "needId": 3,
                  "assignmentDate": "2024-05-18T04:21:11.7270367+00:00",
                  "assignedById": "sample string 5",
                  "isAssigned": true,
                  "contractId": 1,
                  "assignmentStageId": 1,
                  "typeOfAbsenceId": 1,
                  "name": null,
                  "surname": null,
                  "gender": null,
                  "organizationalUnitId": null,
                  "created": null,
                  "error": null,
                  "otherShiftId": null,
                  "available": true
                }
              ]
            }
          ]
        },
        {
          "shiftId": 1,
          "orderId": 1,
          "startDate": "2024-05-18T04:21:11.7270367+00:00",
          "endDate": "2024-05-18T04:21:11.7270367+00:00",
          "breakTime": 1,
          "shiftStateId": 4,
          "trainingStepId": 1,
          "weekPlanId": 1,
          "creationDate": "2024-05-18T04:21:11.7270367+00:00",
          "lastUpdate": "2024-05-18T04:21:11.7270367+00:00",
          "smsTemplate": "sample string 5",
          "descForProvider": "sample string 6",
          "descForWorker": "sample string 7",
          "needs": [
            {
              "needId": 1,
              "shiftId": 2,
              "serviceId": 1,
              "workPositionId": 3,
              "male": 1,
              "female": 1,
              "both": 1,
              "isNotified": true,
              "assignedWorkers": [
                {
                  "assignedWorkerId": 1,
                  "profileId": "sample string 2",
                  "needId": 3,
                  "assignmentDate": "2024-05-18T04:21:11.7270367+00:00",
                  "assignedById": "sample string 5",
                  "isAssigned": true,
                  "contractId": 1,
                  "assignmentStageId": 1,
                  "typeOfAbsenceId": 1,
                  "name": null,
                  "surname": null,
                  "gender": null,
                  "organizationalUnitId": null,
                  "created": null,
                  "error": null,
                  "otherShiftId": null,
                  "available": true
                },
                {
                  "assignedWorkerId": 1,
                  "profileId": "sample string 2",
                  "needId": 3,
                  "assignmentDate": "2024-05-18T04:21:11.7270367+00:00",
                  "assignedById": "sample string 5",
                  "isAssigned": true,
                  "contractId": 1,
                  "assignmentStageId": 1,
                  "typeOfAbsenceId": 1,
                  "name": null,
                  "surname": null,
                  "gender": null,
                  "organizationalUnitId": null,
                  "created": null,
                  "error": null,
                  "otherShiftId": null,
                  "available": true
                }
              ]
            },
            {
              "needId": 1,
              "shiftId": 2,
              "serviceId": 1,
              "workPositionId": 3,
              "male": 1,
              "female": 1,
              "both": 1,
              "isNotified": true,
              "assignedWorkers": [
                {
                  "assignedWorkerId": 1,
                  "profileId": "sample string 2",
                  "needId": 3,
                  "assignmentDate": "2024-05-18T04:21:11.7270367+00:00",
                  "assignedById": "sample string 5",
                  "isAssigned": true,
                  "contractId": 1,
                  "assignmentStageId": 1,
                  "typeOfAbsenceId": 1,
                  "name": null,
                  "surname": null,
                  "gender": null,
                  "organizationalUnitId": null,
                  "created": null,
                  "error": null,
                  "otherShiftId": null,
                  "available": true
                },
                {
                  "assignedWorkerId": 1,
                  "profileId": "sample string 2",
                  "needId": 3,
                  "assignmentDate": "2024-05-18T04:21:11.7270367+00:00",
                  "assignedById": "sample string 5",
                  "isAssigned": true,
                  "contractId": 1,
                  "assignmentStageId": 1,
                  "typeOfAbsenceId": 1,
                  "name": null,
                  "surname": null,
                  "gender": null,
                  "organizationalUnitId": null,
                  "created": null,
                  "error": null,
                  "otherShiftId": null,
                  "available": true
                }
              ]
            }
          ]
        }
      ],
      "prefferedWorkers": [
        "sample string 1",
        "sample string 2"
      ],
      "workInOtherLocation": true,
      "isProcessed": true,
      "linkedRecruitmentProjects": [
        {
          "recruitmentProjectId": 1,
          "workPositionId": 2,
          "providerId": 3
        },
        {
          "recruitmentProjectId": 1,
          "workPositionId": 2,
          "providerId": 3
        }
      ]
    }
  ],
  "totalElements": 1
}

multipart/form-data

Sample:
{"orders":[{"orderId":1,"title":"sample string 2","firstShift":"2024-05-18T04:21:11.7270367+00:00","lastShift":"2024-05-18T04:21:11.7270367+00:00","creationDate":"2024-05-18T04:21:11.7270367+00:00","lastUpdate":"2024-05-18T04:21:11.7270367+00:00","organizationalUnitId":3,"address":"sample string 4","city":"sample string 5","postCode":"sample string 6","countryId":1,"geoPosition":{"latitude":1.1,"longitude":2.1},"confirmationRequired":true,"isPublic":true,"isScoff":true,"eachPositionAsShift":true,"scoffReasonId":1,"shiftStateId":11,"trainingStepId":1,"descForProvider":"sample string 12","descForWorker":"sample string 13","shiftPlanId":1,"weekPlanId":1,"shifts":[{"shiftId":1,"orderId":1,"startDate":"2024-05-18T04:21:11.7270367+00:00","endDate":"2024-05-18T04:21:11.7270367+00:00","breakTime":1,"shiftStateId":4,"trainingStepId":1,"weekPlanId":1,"creationDate":"2024-05-18T04:21:11.7270367+00:00","lastUpdate":"2024-05-18T04:21:11.7270367+00:00","smsTemplate":"sample string 5","descForProvider":"sample string 6","descForWorker":"sample string 7","needs":[{"needId":1,"shiftId":2,"serviceId":1,"workPositionId":3,"male":1,"female":1,"both":1,"isNotified":true,"assignedWorkers":[{"assignedWorkerId":1,"profileId":"sample string 2","needId":3,"assignmentDate":"2024-05-18T04:21:11.7270367+00:00","assignedById":"sample string 5","isAssigned":true,"contractId":1,"assignmentStageId":1,"typeOfAbsenceId":1,"name":null,"surname":null,"gender":null,"organizationalUnitId":null,"created":null,"error":null,"otherShiftId":null,"available":true},{"assignedWorkerId":1,"profileId":"sample string 2","needId":3,"assignmentDate":"2024-05-18T04:21:11.7270367+00:00","assignedById":"sample string 5","isAssigned":true,"contractId":1,"assignmentStageId":1,"typeOfAbsenceId":1,"name":null,"surname":null,"gender":null,"organizationalUnitId":null,"created":null,"error":null,"otherShiftId":null,"available":true}]},{"needId":1,"shiftId":2,"serviceId":1,"workPositionId":3,"male":1,"female":1,"both":1,"isNotified":true,"assignedWorkers":[{"assignedWorkerId":1,"profileId":"sample string 2","needId":3,"assignmentDate":"2024-05-18T04:21:11.7270367+00:00","assignedById":"sample string 5","isAssigned":true,"contractId":1,"assignmentStageId":1,"typeOfAbsenceId":1,"name":null,"surname":null,"gender":null,"organizationalUnitId":null,"created":null,"error":null,"otherShiftId":null,"available":true},{"assignedWorkerId":1,"profileId":"sample string 2","needId":3,"assignmentDate":"2024-05-18T04:21:11.7270367+00:00","assignedById":"sample string 5","isAssigned":true,"contractId":1,"assignmentStageId":1,"typeOfAbsenceId":1,"name":null,"surname":null,"gender":null,"organizationalUnitId":null,"created":null,"error":null,"otherShiftId":null,"available":true}]}]},{"shiftId":1,"orderId":1,"startDate":"2024-05-18T04:21:11.7270367+00:00","endDate":"2024-05-18T04:21:11.7270367+00:00","breakTime":1,"shiftStateId":4,"trainingStepId":1,"weekPlanId":1,"creationDate":"2024-05-18T04:21:11.7270367+00:00","lastUpdate":"2024-05-18T04:21:11.7270367+00:00","smsTemplate":"sample string 5","descForProvider":"sample string 6","descForWorker":"sample string 7","needs":[{"needId":1,"shiftId":2,"serviceId":1,"workPositionId":3,"male":1,"female":1,"both":1,"isNotified":true,"assignedWorkers":[{"assignedWorkerId":1,"profileId":"sample string 2","needId":3,"assignmentDate":"2024-05-18T04:21:11.7270367+00:00","assignedById":"sample string 5","isAssigned":true,"contractId":1,"assignmentStageId":1,"typeOfAbsenceId":1,"name":null,"surname":null,"gender":null,"organizationalUnitId":null,"created":null,"error":null,"otherShiftId":null,"available":true},{"assignedWorkerId":1,"profileId":"sample string 2","needId":3,"assignmentDate":"2024-05-18T04:21:11.7270367+00:00","assignedById":"sample string 5","isAssigned":true,"contractId":1,"assignmentStageId":1,"typeOfAbsenceId":1,"name":null,"surname":null,"gender":null,"organizationalUnitId":null,"created":null,"error":null,"otherShiftId":null,"available":true}]},{"needId":1,"shiftId":2,"serviceId":1,"workPositionId":3,"male":1,"female":1,"both":1,"isNotified":true,"assignedWorkers":[{"assignedWorkerId":1,"profileId":"sample string 2","needId":3,"assignmentDate":"2024-05-18T04:21:11.7270367+00:00","assignedById":"sample string 5","isAssigned":true,"contractId":1,"assignmentStageId":1,"typeOfAbsenceId":1,"name":null,"surname":null,"gender":null,"organizationalUnitId":null,"created":null,"error":null,"otherShiftId":null,"available":true},{"assignedWorkerId":1,"profileId":"sample string 2","needId":3,"assignmentDate":"2024-05-18T04:21:11.7270367+00:00","assignedById":"sample string 5","isAssigned":true,"contractId":1,"assignmentStageId":1,"typeOfAbsenceId":1,"name":null,"surname":null,"gender":null,"organizationalUnitId":null,"created":null,"error":null,"otherShiftId":null,"available":true}]}]}],"prefferedWorkers":["sample string 1","sample string 2"],"workInOtherLocation":true,"isProcessed":true,"linkedRecruitmentProjects":[{"recruitmentProjectId":1,"workPositionId":2,"providerId":3},{"recruitmentProjectId":1,"workPositionId":2,"providerId":3}]},{"orderId":1,"title":"sample string 2","firstShift":"2024-05-18T04:21:11.7270367+00:00","lastShift":"2024-05-18T04:21:11.7270367+00:00","creationDate":"2024-05-18T04:21:11.7270367+00:00","lastUpdate":"2024-05-18T04:21:11.7270367+00:00","organizationalUnitId":3,"address":"sample string 4","city":"sample string 5","postCode":"sample string 6","countryId":1,"geoPosition":{"latitude":1.1,"longitude":2.1},"confirmationRequired":true,"isPublic":true,"isScoff":true,"eachPositionAsShift":true,"scoffReasonId":1,"shiftStateId":11,"trainingStepId":1,"descForProvider":"sample string 12","descForWorker":"sample string 13","shiftPlanId":1,"weekPlanId":1,"shifts":[{"shiftId":1,"orderId":1,"startDate":"2024-05-18T04:21:11.7270367+00:00","endDate":"2024-05-18T04:21:11.7270367+00:00","breakTime":1,"shiftStateId":4,"trainingStepId":1,"weekPlanId":1,"creationDate":"2024-05-18T04:21:11.7270367+00:00","lastUpdate":"2024-05-18T04:21:11.7270367+00:00","smsTemplate":"sample string 5","descForProvider":"sample string 6","descForWorker":"sample string 7","needs":[{"needId":1,"shiftId":2,"serviceId":1,"workPositionId":3,"male":1,"female":1,"both":1,"isNotified":true,"assignedWorkers":[{"assignedWorkerId":1,"profileId":"sample string 2","needId":3,"assignmentDate":"2024-05-18T04:21:11.7270367+00:00","assignedById":"sample string 5","isAssigned":true,"contractId":1,"assignmentStageId":1,"typeOfAbsenceId":1,"name":null,"surname":null,"gender":null,"organizationalUnitId":null,"created":null,"error":null,"otherShiftId":null,"available":true},{"assignedWorkerId":1,"profileId":"sample string 2","needId":3,"assignmentDate":"2024-05-18T04:21:11.7270367+00:00","assignedById":"sample string 5","isAssigned":true,"contractId":1,"assignmentStageId":1,"typeOfAbsenceId":1,"name":null,"surname":null,"gender":null,"organizationalUnitId":null,"created":null,"error":null,"otherShiftId":null,"available":true}]},{"needId":1,"shiftId":2,"serviceId":1,"workPositionId":3,"male":1,"female":1,"both":1,"isNotified":true,"assignedWorkers":[{"assignedWorkerId":1,"profileId":"sample string 2","needId":3,"assignmentDate":"2024-05-18T04:21:11.7270367+00:00","assignedById":"sample string 5","isAssigned":true,"contractId":1,"assignmentStageId":1,"typeOfAbsenceId":1,"name":null,"surname":null,"gender":null,"organizationalUnitId":null,"created":null,"error":null,"otherShiftId":null,"available":true},{"assignedWorkerId":1,"profileId":"sample string 2","needId":3,"assignmentDate":"2024-05-18T04:21:11.7270367+00:00","assignedById":"sample string 5","isAssigned":true,"contractId":1,"assignmentStageId":1,"typeOfAbsenceId":1,"name":null,"surname":null,"gender":null,"organizationalUnitId":null,"created":null,"error":null,"otherShiftId":null,"available":true}]}]},{"shiftId":1,"orderId":1,"startDate":"2024-05-18T04:21:11.7270367+00:00","endDate":"2024-05-18T04:21:11.7270367+00:00","breakTime":1,"shiftStateId":4,"trainingStepId":1,"weekPlanId":1,"creationDate":"2024-05-18T04:21:11.7270367+00:00","lastUpdate":"2024-05-18T04:21:11.7270367+00:00","smsTemplate":"sample string 5","descForProvider":"sample string 6","descForWorker":"sample string 7","needs":[{"needId":1,"shiftId":2,"serviceId":1,"workPositionId":3,"male":1,"female":1,"both":1,"isNotified":true,"assignedWorkers":[{"assignedWorkerId":1,"profileId":"sample string 2","needId":3,"assignmentDate":"2024-05-18T04:21:11.7270367+00:00","assignedById":"sample string 5","isAssigned":true,"contractId":1,"assignmentStageId":1,"typeOfAbsenceId":1,"name":null,"surname":null,"gender":null,"organizationalUnitId":null,"created":null,"error":null,"otherShiftId":null,"available":true},{"assignedWorkerId":1,"profileId":"sample string 2","needId":3,"assignmentDate":"2024-05-18T04:21:11.7270367+00:00","assignedById":"sample string 5","isAssigned":true,"contractId":1,"assignmentStageId":1,"typeOfAbsenceId":1,"name":null,"surname":null,"gender":null,"organizationalUnitId":null,"created":null,"error":null,"otherShiftId":null,"available":true}]},{"needId":1,"shiftId":2,"serviceId":1,"workPositionId":3,"male":1,"female":1,"both":1,"isNotified":true,"assignedWorkers":[{"assignedWorkerId":1,"profileId":"sample string 2","needId":3,"assignmentDate":"2024-05-18T04:21:11.7270367+00:00","assignedById":"sample string 5","isAssigned":true,"contractId":1,"assignmentStageId":1,"typeOfAbsenceId":1,"name":null,"surname":null,"gender":null,"organizationalUnitId":null,"created":null,"error":null,"otherShiftId":null,"available":true},{"assignedWorkerId":1,"profileId":"sample string 2","needId":3,"assignmentDate":"2024-05-18T04:21:11.7270367+00:00","assignedById":"sample string 5","isAssigned":true,"contractId":1,"assignmentStageId":1,"typeOfAbsenceId":1,"name":null,"surname":null,"gender":null,"organizationalUnitId":null,"created":null,"error":null,"otherShiftId":null,"available":true}]}]}],"prefferedWorkers":["sample string 1","sample string 2"],"workInOtherLocation":true,"isProcessed":true,"linkedRecruitmentProjects":[{"recruitmentProjectId":1,"workPositionId":2,"providerId":3},{"recruitmentProjectId":1,"workPositionId":2,"providerId":3}]}],"totalElements":1}