GET Api/Orders

Pobiera listÄ™ wszystkich obiektów Order

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

lista wszystkich obiektów Order w bazie danych

Collection of OrderDto
NameDescriptionTypeAdditional information
OrderId

integer

None.

Title

string

None.

FirstShift

date

None.

LastShift

date

None.

CreationDate

date

None.

LastUpdate

date

None.

OrganizationalUnitId

integer

Required

Address

string

None.

City

string

None.

PostCode

string

None.

CountryId

integer

None.

GeoPosition

GeoPosition

None.

ConfirmationRequired

boolean

Required

IsPublic

boolean

Required

IsScoff

boolean

Required

EachPositionAsShift

boolean

None.

ScoffReasonId

integer

None.

ShiftStateId

integer

Required

TrainingStepId

integer

None.

DescForProvider

string

None.

DescForWorker

string

None.

ShiftPlanId

integer

None.

WeekPlanId

integer

None.

Shifts

Collection of ShiftDto

None.

PrefferedWorkers

Collection of string

None.

WorkInOtherLocation

boolean

None.

IsProcessed

boolean

None.

LinkedRecruitmentProjects

Collection of LinkedRecruitmentProject

None.

Response Formats

application/json, text/json

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

multipart/form-data

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

application/xml, text/xml

Sample:
<ArrayOfOrderDto xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <OrderDto>
    <OrderId>1</OrderId>
    <Title>sample string 2</Title>
    <FirstShift />
    <LastShift />
    <CreationDate />
    <LastUpdate />
    <OrganizationalUnitId>3</OrganizationalUnitId>
    <Address>sample string 4</Address>
    <City>sample string 5</City>
    <PostCode>sample string 6</PostCode>
    <CountryId>1</CountryId>
    <GeoPosition>
      <Latitude>1.1</Latitude>
      <Longitude>2.1</Longitude>
    </GeoPosition>
    <ConfirmationRequired>true</ConfirmationRequired>
    <IsPublic>true</IsPublic>
    <IsScoff>true</IsScoff>
    <EachPositionAsShift>true</EachPositionAsShift>
    <ScoffReasonId>1</ScoffReasonId>
    <ShiftStateId>11</ShiftStateId>
    <TrainingStepId>1</TrainingStepId>
    <DescForProvider>sample string 12</DescForProvider>
    <DescForWorker>sample string 13</DescForWorker>
    <ShiftPlanId>1</ShiftPlanId>
    <WeekPlanId>1</WeekPlanId>
    <Shifts>
      <ShiftDto>
        <ShiftId>1</ShiftId>
        <OrderId>1</OrderId>
        <StartDate />
        <EndDate />
        <BreakTime>1</BreakTime>
        <ShiftStateId>4</ShiftStateId>
        <TrainingStepId>1</TrainingStepId>
        <WeekPlanId>1</WeekPlanId>
        <CreationDate />
        <LastUpdate />
        <SmsTemplate>sample string 5</SmsTemplate>
        <DescForProvider>sample string 6</DescForProvider>
        <DescForWorker>sample string 7</DescForWorker>
        <Needs>
          <NeedDto>
            <NeedId>1</NeedId>
            <ShiftId>2</ShiftId>
            <ServiceId>1</ServiceId>
            <WorkPositionId>3</WorkPositionId>
            <Male>1</Male>
            <Female>1</Female>
            <Both>1</Both>
            <IsNotified>true</IsNotified>
            <AssignedWorkers>
              <AssignedWorkerDto>
                <AssignedWorkerId>1</AssignedWorkerId>
                <ProfileId>sample string 2</ProfileId>
                <NeedId>3</NeedId>
                <AssignmentDate />
                <AssignedById>sample string 5</AssignedById>
                <IsAssigned>true</IsAssigned>
                <ContractId>1</ContractId>
                <AssignmentStageId>1</AssignmentStageId>
                <TypeOfAbsenceId>1</TypeOfAbsenceId>
                <Available>true</Available>
              </AssignedWorkerDto>
              <AssignedWorkerDto>
                <AssignedWorkerId>1</AssignedWorkerId>
                <ProfileId>sample string 2</ProfileId>
                <NeedId>3</NeedId>
                <AssignmentDate />
                <AssignedById>sample string 5</AssignedById>
                <IsAssigned>true</IsAssigned>
                <ContractId>1</ContractId>
                <AssignmentStageId>1</AssignmentStageId>
                <TypeOfAbsenceId>1</TypeOfAbsenceId>
                <Available>true</Available>
              </AssignedWorkerDto>
            </AssignedWorkers>
          </NeedDto>
          <NeedDto>
            <NeedId>1</NeedId>
            <ShiftId>2</ShiftId>
            <ServiceId>1</ServiceId>
            <WorkPositionId>3</WorkPositionId>
            <Male>1</Male>
            <Female>1</Female>
            <Both>1</Both>
            <IsNotified>true</IsNotified>
            <AssignedWorkers>
              <AssignedWorkerDto>
                <AssignedWorkerId>1</AssignedWorkerId>
                <ProfileId>sample string 2</ProfileId>
                <NeedId>3</NeedId>
                <AssignmentDate />
                <AssignedById>sample string 5</AssignedById>
                <IsAssigned>true</IsAssigned>
                <ContractId>1</ContractId>
                <AssignmentStageId>1</AssignmentStageId>
                <TypeOfAbsenceId>1</TypeOfAbsenceId>
                <Available>true</Available>
              </AssignedWorkerDto>
              <AssignedWorkerDto>
                <AssignedWorkerId>1</AssignedWorkerId>
                <ProfileId>sample string 2</ProfileId>
                <NeedId>3</NeedId>
                <AssignmentDate />
                <AssignedById>sample string 5</AssignedById>
                <IsAssigned>true</IsAssigned>
                <ContractId>1</ContractId>
                <AssignmentStageId>1</AssignmentStageId>
                <TypeOfAbsenceId>1</TypeOfAbsenceId>
                <Available>true</Available>
              </AssignedWorkerDto>
            </AssignedWorkers>
          </NeedDto>
        </Needs>
      </ShiftDto>
      <ShiftDto>
        <ShiftId>1</ShiftId>
        <OrderId>1</OrderId>
        <StartDate />
        <EndDate />
        <BreakTime>1</BreakTime>
        <ShiftStateId>4</ShiftStateId>
        <TrainingStepId>1</TrainingStepId>
        <WeekPlanId>1</WeekPlanId>
        <CreationDate />
        <LastUpdate />
        <SmsTemplate>sample string 5</SmsTemplate>
        <DescForProvider>sample string 6</DescForProvider>
        <DescForWorker>sample string 7</DescForWorker>
        <Needs>
          <NeedDto>
            <NeedId>1</NeedId>
            <ShiftId>2</ShiftId>
            <ServiceId>1</ServiceId>
            <WorkPositionId>3</WorkPositionId>
            <Male>1</Male>
            <Female>1</Female>
            <Both>1</Both>
            <IsNotified>true</IsNotified>
            <AssignedWorkers>
              <AssignedWorkerDto>
                <AssignedWorkerId>1</AssignedWorkerId>
                <ProfileId>sample string 2</ProfileId>
                <NeedId>3</NeedId>
                <AssignmentDate />
                <AssignedById>sample string 5</AssignedById>
                <IsAssigned>true</IsAssigned>
                <ContractId>1</ContractId>
                <AssignmentStageId>1</AssignmentStageId>
                <TypeOfAbsenceId>1</TypeOfAbsenceId>
                <Available>true</Available>
              </AssignedWorkerDto>
              <AssignedWorkerDto>
                <AssignedWorkerId>1</AssignedWorkerId>
                <ProfileId>sample string 2</ProfileId>
                <NeedId>3</NeedId>
                <AssignmentDate />
                <AssignedById>sample string 5</AssignedById>
                <IsAssigned>true</IsAssigned>
                <ContractId>1</ContractId>
                <AssignmentStageId>1</AssignmentStageId>
                <TypeOfAbsenceId>1</TypeOfAbsenceId>
                <Available>true</Available>
              </AssignedWorkerDto>
            </AssignedWorkers>
          </NeedDto>
          <NeedDto>
            <NeedId>1</NeedId>
            <ShiftId>2</ShiftId>
            <ServiceId>1</ServiceId>
            <WorkPositionId>3</WorkPositionId>
            <Male>1</Male>
            <Female>1</Female>
            <Both>1</Both>
            <IsNotified>true</IsNotified>
            <AssignedWorkers>
              <AssignedWorkerDto>
                <AssignedWorkerId>1</AssignedWorkerId>
                <ProfileId>sample string 2</ProfileId>
                <NeedId>3</NeedId>
                <AssignmentDate />
                <AssignedById>sample string 5</AssignedById>
                <IsAssigned>true</IsAssigned>
                <ContractId>1</ContractId>
                <AssignmentStageId>1</AssignmentStageId>
                <TypeOfAbsenceId>1</TypeOfAbsenceId>
                <Available>true</Available>
              </AssignedWorkerDto>
              <AssignedWorkerDto>
                <AssignedWorkerId>1</AssignedWorkerId>
                <ProfileId>sample string 2</ProfileId>
                <NeedId>3</NeedId>
                <AssignmentDate />
                <AssignedById>sample string 5</AssignedById>
                <IsAssigned>true</IsAssigned>
                <ContractId>1</ContractId>
                <AssignmentStageId>1</AssignmentStageId>
                <TypeOfAbsenceId>1</TypeOfAbsenceId>
                <Available>true</Available>
              </AssignedWorkerDto>
            </AssignedWorkers>
          </NeedDto>
        </Needs>
      </ShiftDto>
    </Shifts>
    <PrefferedWorkers>
      <string>sample string 1</string>
      <string>sample string 2</string>
    </PrefferedWorkers>
    <WorkInOtherLocation>true</WorkInOtherLocation>
    <IsProcessed>true</IsProcessed>
    <LinkedRecruitmentProjects>
      <LinkedRecruitmentProject>
        <RecruitmentProjectId>1</RecruitmentProjectId>
        <WorkPositionId>2</WorkPositionId>
        <ProviderId>3</ProviderId>
      </LinkedRecruitmentProject>
      <LinkedRecruitmentProject>
        <RecruitmentProjectId>1</RecruitmentProjectId>
        <WorkPositionId>2</WorkPositionId>
        <ProviderId>3</ProviderId>
      </LinkedRecruitmentProject>
    </LinkedRecruitmentProjects>
  </OrderDto>
  <OrderDto>
    <OrderId>1</OrderId>
    <Title>sample string 2</Title>
    <FirstShift />
    <LastShift />
    <CreationDate />
    <LastUpdate />
    <OrganizationalUnitId>3</OrganizationalUnitId>
    <Address>sample string 4</Address>
    <City>sample string 5</City>
    <PostCode>sample string 6</PostCode>
    <CountryId>1</CountryId>
    <GeoPosition>
      <Latitude>1.1</Latitude>
      <Longitude>2.1</Longitude>
    </GeoPosition>
    <ConfirmationRequired>true</ConfirmationRequired>
    <IsPublic>true</IsPublic>
    <IsScoff>true</IsScoff>
    <EachPositionAsShift>true</EachPositionAsShift>
    <ScoffReasonId>1</ScoffReasonId>
    <ShiftStateId>11</ShiftStateId>
    <TrainingStepId>1</TrainingStepId>
    <DescForProvider>sample string 12</DescForProvider>
    <DescForWorker>sample string 13</DescForWorker>
    <ShiftPlanId>1</ShiftPlanId>
    <WeekPlanId>1</WeekPlanId>
    <Shifts>
      <ShiftDto>
        <ShiftId>1</ShiftId>
        <OrderId>1</OrderId>
        <StartDate />
        <EndDate />
        <BreakTime>1</BreakTime>
        <ShiftStateId>4</ShiftStateId>
        <TrainingStepId>1</TrainingStepId>
        <WeekPlanId>1</WeekPlanId>
        <CreationDate />
        <LastUpdate />
        <SmsTemplate>sample string 5</SmsTemplate>
        <DescForProvider>sample string 6</DescForProvider>
        <DescForWorker>sample string 7</DescForWorker>
        <Needs>
          <NeedDto>
            <NeedId>1</NeedId>
            <ShiftId>2</ShiftId>
            <ServiceId>1</ServiceId>
            <WorkPositionId>3</WorkPositionId>
            <Male>1</Male>
            <Female>1</Female>
            <Both>1</Both>
            <IsNotified>true</IsNotified>
            <AssignedWorkers>
              <AssignedWorkerDto>
                <AssignedWorkerId>1</AssignedWorkerId>
                <ProfileId>sample string 2</ProfileId>
                <NeedId>3</NeedId>
                <AssignmentDate />
                <AssignedById>sample string 5</AssignedById>
                <IsAssigned>true</IsAssigned>
                <ContractId>1</ContractId>
                <AssignmentStageId>1</AssignmentStageId>
                <TypeOfAbsenceId>1</TypeOfAbsenceId>
                <Available>true</Available>
              </AssignedWorkerDto>
              <AssignedWorkerDto>
                <AssignedWorkerId>1</AssignedWorkerId>
                <ProfileId>sample string 2</ProfileId>
                <NeedId>3</NeedId>
                <AssignmentDate />
                <AssignedById>sample string 5</AssignedById>
                <IsAssigned>true</IsAssigned>
                <ContractId>1</ContractId>
                <AssignmentStageId>1</AssignmentStageId>
                <TypeOfAbsenceId>1</TypeOfAbsenceId>
                <Available>true</Available>
              </AssignedWorkerDto>
            </AssignedWorkers>
          </NeedDto>
          <NeedDto>
            <NeedId>1</NeedId>
            <ShiftId>2</ShiftId>
            <ServiceId>1</ServiceId>
            <WorkPositionId>3</WorkPositionId>
            <Male>1</Male>
            <Female>1</Female>
            <Both>1</Both>
            <IsNotified>true</IsNotified>
            <AssignedWorkers>
              <AssignedWorkerDto>
                <AssignedWorkerId>1</AssignedWorkerId>
                <ProfileId>sample string 2</ProfileId>
                <NeedId>3</NeedId>
                <AssignmentDate />
                <AssignedById>sample string 5</AssignedById>
                <IsAssigned>true</IsAssigned>
                <ContractId>1</ContractId>
                <AssignmentStageId>1</AssignmentStageId>
                <TypeOfAbsenceId>1</TypeOfAbsenceId>
                <Available>true</Available>
              </AssignedWorkerDto>
              <AssignedWorkerDto>
                <AssignedWorkerId>1</AssignedWorkerId>
                <ProfileId>sample string 2</ProfileId>
                <NeedId>3</NeedId>
                <AssignmentDate />
                <AssignedById>sample string 5</AssignedById>
                <IsAssigned>true</IsAssigned>
                <ContractId>1</ContractId>
                <AssignmentStageId>1</AssignmentStageId>
                <TypeOfAbsenceId>1</TypeOfAbsenceId>
                <Available>true</Available>
              </AssignedWorkerDto>
            </AssignedWorkers>
          </NeedDto>
        </Needs>
      </ShiftDto>
      <ShiftDto>
        <ShiftId>1</ShiftId>
        <OrderId>1</OrderId>
        <StartDate />
        <EndDate />
        <BreakTime>1</BreakTime>
        <ShiftStateId>4</ShiftStateId>
        <TrainingStepId>1</TrainingStepId>
        <WeekPlanId>1</WeekPlanId>
        <CreationDate />
        <LastUpdate />
        <SmsTemplate>sample string 5</SmsTemplate>
        <DescForProvider>sample string 6</DescForProvider>
        <DescForWorker>sample string 7</DescForWorker>
        <Needs>
          <NeedDto>
            <NeedId>1</NeedId>
            <ShiftId>2</ShiftId>
            <ServiceId>1</ServiceId>
            <WorkPositionId>3</WorkPositionId>
            <Male>1</Male>
            <Female>1</Female>
            <Both>1</Both>
            <IsNotified>true</IsNotified>
            <AssignedWorkers>
              <AssignedWorkerDto>
                <AssignedWorkerId>1</AssignedWorkerId>
                <ProfileId>sample string 2</ProfileId>
                <NeedId>3</NeedId>
                <AssignmentDate />
                <AssignedById>sample string 5</AssignedById>
                <IsAssigned>true</IsAssigned>
                <ContractId>1</ContractId>
                <AssignmentStageId>1</AssignmentStageId>
                <TypeOfAbsenceId>1</TypeOfAbsenceId>
                <Available>true</Available>
              </AssignedWorkerDto>
              <AssignedWorkerDto>
                <AssignedWorkerId>1</AssignedWorkerId>
                <ProfileId>sample string 2</ProfileId>
                <NeedId>3</NeedId>
                <AssignmentDate />
                <AssignedById>sample string 5</AssignedById>
                <IsAssigned>true</IsAssigned>
                <ContractId>1</ContractId>
                <AssignmentStageId>1</AssignmentStageId>
                <TypeOfAbsenceId>1</TypeOfAbsenceId>
                <Available>true</Available>
              </AssignedWorkerDto>
            </AssignedWorkers>
          </NeedDto>
          <NeedDto>
            <NeedId>1</NeedId>
            <ShiftId>2</ShiftId>
            <ServiceId>1</ServiceId>
            <WorkPositionId>3</WorkPositionId>
            <Male>1</Male>
            <Female>1</Female>
            <Both>1</Both>
            <IsNotified>true</IsNotified>
            <AssignedWorkers>
              <AssignedWorkerDto>
                <AssignedWorkerId>1</AssignedWorkerId>
                <ProfileId>sample string 2</ProfileId>
                <NeedId>3</NeedId>
                <AssignmentDate />
                <AssignedById>sample string 5</AssignedById>
                <IsAssigned>true</IsAssigned>
                <ContractId>1</ContractId>
                <AssignmentStageId>1</AssignmentStageId>
                <TypeOfAbsenceId>1</TypeOfAbsenceId>
                <Available>true</Available>
              </AssignedWorkerDto>
              <AssignedWorkerDto>
                <AssignedWorkerId>1</AssignedWorkerId>
                <ProfileId>sample string 2</ProfileId>
                <NeedId>3</NeedId>
                <AssignmentDate />
                <AssignedById>sample string 5</AssignedById>
                <IsAssigned>true</IsAssigned>
                <ContractId>1</ContractId>
                <AssignmentStageId>1</AssignmentStageId>
                <TypeOfAbsenceId>1</TypeOfAbsenceId>
                <Available>true</Available>
              </AssignedWorkerDto>
            </AssignedWorkers>
          </NeedDto>
        </Needs>
      </ShiftDto>
    </Shifts>
    <PrefferedWorkers>
      <string>sample string 1</string>
      <string>sample string 2</string>
    </PrefferedWorkers>
    <WorkInOtherLocation>true</WorkInOtherLocation>
    <IsProcessed>true</IsProcessed>
    <LinkedRecruitmentProjects>
      <LinkedRecruitmentProject>
        <RecruitmentProjectId>1</RecruitmentProjectId>
        <WorkPositionId>2</WorkPositionId>
        <ProviderId>3</ProviderId>
      </LinkedRecruitmentProject>
      <LinkedRecruitmentProject>
        <RecruitmentProjectId>1</RecruitmentProjectId>
        <WorkPositionId>2</WorkPositionId>
        <ProviderId>3</ProviderId>
      </LinkedRecruitmentProject>
    </LinkedRecruitmentProjects>
  </OrderDto>
</ArrayOfOrderDto>