POST Api/Orders/GetAllForRange

Pobiera listę wszystkich obiektów Order

Request Information

URI Parameters

None.

Body Parameters

DateRange
NameDescriptionTypeAdditional information
StartDate

Data początku okresu (przedział domknięty)

date

None.

EndDate

Data końca okresu (przedział otwarty)

date

None.

TimeStamp

Znacznik czasowy dla wyszukiwania zmian w zamówieniach (przekazywany przez system podczas zwracania listy obiektów)

integer

None.

PageSize

integer

None.

PageNumber

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "startDate": "2024-05-18T05:32:33.032639+00:00",
  "endDate": "2024-05-18T05:32:33.032639+00:00",
  "timeStamp": 1,
  "pageSize": 1,
  "pageNumber": 2
}

multipart/form-data

Sample:
{"startDate":"2024-05-18T05:32:33.032639+00:00","endDate":"2024-05-18T05:32:33.032639+00:00","timeStamp":1,"pageSize":1,"pageNumber":2}

application/xml, text/xml

Sample:
<DateRange xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <StartDate />
  <EndDate />
  <TimeStamp>1</TimeStamp>
  <PageSize>1</PageSize>
  <PageNumber>2</PageNumber>
</DateRange>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

lista wszystkich obiektów Order w bazie danych

OrderRangeResults
NameDescriptionTypeAdditional information
Orders

Lista obiektów OrderDto zgodna z ustawieniami stronnicowania i filtrem

Collection of OrderDto

None.

TimeStamp

Znacznik czasowy dla wyszukiwania zmian w zamówieniach

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "orders": [
    {
      "orderId": 1,
      "title": "sample string 2",
      "firstShift": "2024-05-18T05:32:33.0482866+00:00",
      "lastShift": "2024-05-18T05:32:33.0482866+00:00",
      "creationDate": "2024-05-18T05:32:33.0482866+00:00",
      "lastUpdate": "2024-05-18T05:32:33.0482866+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-18T05:32:33.0482866+00:00",
          "endDate": "2024-05-18T05:32:33.0482866+00:00",
          "breakTime": 1,
          "shiftStateId": 4,
          "trainingStepId": 1,
          "weekPlanId": 1,
          "creationDate": "2024-05-18T05:32:33.0482866+00:00",
          "lastUpdate": "2024-05-18T05:32:33.0482866+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-18T05:32:33.0639184+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-18T05:32:33.0639184+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-18T05:32:33.0639184+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-18T05:32:33.0639184+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-18T05:32:33.0482866+00:00",
          "endDate": "2024-05-18T05:32:33.0482866+00:00",
          "breakTime": 1,
          "shiftStateId": 4,
          "trainingStepId": 1,
          "weekPlanId": 1,
          "creationDate": "2024-05-18T05:32:33.0482866+00:00",
          "lastUpdate": "2024-05-18T05:32:33.0482866+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-18T05:32:33.0639184+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-18T05:32:33.0639184+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-18T05:32:33.0639184+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-18T05:32:33.0639184+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-18T05:32:33.0482866+00:00",
      "lastShift": "2024-05-18T05:32:33.0482866+00:00",
      "creationDate": "2024-05-18T05:32:33.0482866+00:00",
      "lastUpdate": "2024-05-18T05:32:33.0482866+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-18T05:32:33.0482866+00:00",
          "endDate": "2024-05-18T05:32:33.0482866+00:00",
          "breakTime": 1,
          "shiftStateId": 4,
          "trainingStepId": 1,
          "weekPlanId": 1,
          "creationDate": "2024-05-18T05:32:33.0482866+00:00",
          "lastUpdate": "2024-05-18T05:32:33.0482866+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-18T05:32:33.0639184+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-18T05:32:33.0639184+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-18T05:32:33.0639184+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-18T05:32:33.0639184+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-18T05:32:33.0482866+00:00",
          "endDate": "2024-05-18T05:32:33.0482866+00:00",
          "breakTime": 1,
          "shiftStateId": 4,
          "trainingStepId": 1,
          "weekPlanId": 1,
          "creationDate": "2024-05-18T05:32:33.0482866+00:00",
          "lastUpdate": "2024-05-18T05:32:33.0482866+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-18T05:32:33.0639184+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-18T05:32:33.0639184+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-18T05:32:33.0639184+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-18T05:32:33.0639184+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
        }
      ]
    }
  ],
  "timeStamp": 1
}

multipart/form-data

Sample:
{"orders":[{"orderId":1,"title":"sample string 2","firstShift":"2024-05-18T05:32:33.0482866+00:00","lastShift":"2024-05-18T05:32:33.0482866+00:00","creationDate":"2024-05-18T05:32:33.0482866+00:00","lastUpdate":"2024-05-18T05:32:33.0482866+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-18T05:32:33.0482866+00:00","endDate":"2024-05-18T05:32:33.0482866+00:00","breakTime":1,"shiftStateId":4,"trainingStepId":1,"weekPlanId":1,"creationDate":"2024-05-18T05:32:33.0482866+00:00","lastUpdate":"2024-05-18T05:32:33.0482866+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-18T05:32:33.0639184+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-18T05:32:33.0639184+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-18T05:32:33.0639184+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-18T05:32:33.0639184+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-18T05:32:33.0482866+00:00","endDate":"2024-05-18T05:32:33.0482866+00:00","breakTime":1,"shiftStateId":4,"trainingStepId":1,"weekPlanId":1,"creationDate":"2024-05-18T05:32:33.0482866+00:00","lastUpdate":"2024-05-18T05:32:33.0482866+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-18T05:32:33.0639184+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-18T05:32:33.0639184+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-18T05:32:33.0639184+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-18T05:32:33.0639184+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-18T05:32:33.0482866+00:00","lastShift":"2024-05-18T05:32:33.0482866+00:00","creationDate":"2024-05-18T05:32:33.0482866+00:00","lastUpdate":"2024-05-18T05:32:33.0482866+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-18T05:32:33.0482866+00:00","endDate":"2024-05-18T05:32:33.0482866+00:00","breakTime":1,"shiftStateId":4,"trainingStepId":1,"weekPlanId":1,"creationDate":"2024-05-18T05:32:33.0482866+00:00","lastUpdate":"2024-05-18T05:32:33.0482866+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-18T05:32:33.0639184+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-18T05:32:33.0639184+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-18T05:32:33.0639184+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-18T05:32:33.0639184+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-18T05:32:33.0482866+00:00","endDate":"2024-05-18T05:32:33.0482866+00:00","breakTime":1,"shiftStateId":4,"trainingStepId":1,"weekPlanId":1,"creationDate":"2024-05-18T05:32:33.0482866+00:00","lastUpdate":"2024-05-18T05:32:33.0482866+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-18T05:32:33.0639184+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-18T05:32:33.0639184+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-18T05:32:33.0639184+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-18T05:32:33.0639184+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}]}],"timeStamp":1}