GET Api/Orders/GetWorkConfirmation

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of OrderForConfirmationDto
NameDescriptionTypeAdditional information
OrderId

integer

None.

Title

string

None.

OrganizationalUnitId

integer

None.

Address

string

None.

City

string

None.

PostCode

string

None.

CountryId

integer

None.

GeoPosition

GeoPosition

None.

Dates

Collection of ShiftDetailsDto

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "orderId": 1,
    "title": "sample string 2",
    "organizationalUnitId": 3,
    "address": "sample string 4",
    "city": "sample string 5",
    "postCode": "sample string 6",
    "countryId": 1,
    "geoPosition": {
      "latitude": 1.1,
      "longitude": 2.1
    },
    "dates": [
      {
        "shiftId": 1,
        "startDate": "2024-05-18T07:12:33.8170719+00:00",
        "endDate": "2024-05-18T07:12:33.8170719+00:00",
        "breakTime": 1
      },
      {
        "shiftId": 1,
        "startDate": "2024-05-18T07:12:33.8170719+00:00",
        "endDate": "2024-05-18T07:12:33.8170719+00:00",
        "breakTime": 1
      }
    ]
  },
  {
    "orderId": 1,
    "title": "sample string 2",
    "organizationalUnitId": 3,
    "address": "sample string 4",
    "city": "sample string 5",
    "postCode": "sample string 6",
    "countryId": 1,
    "geoPosition": {
      "latitude": 1.1,
      "longitude": 2.1
    },
    "dates": [
      {
        "shiftId": 1,
        "startDate": "2024-05-18T07:12:33.8170719+00:00",
        "endDate": "2024-05-18T07:12:33.8170719+00:00",
        "breakTime": 1
      },
      {
        "shiftId": 1,
        "startDate": "2024-05-18T07:12:33.8170719+00:00",
        "endDate": "2024-05-18T07:12:33.8170719+00:00",
        "breakTime": 1
      }
    ]
  }
]

multipart/form-data

Sample:
[{"orderId":1,"title":"sample string 2","organizationalUnitId":3,"address":"sample string 4","city":"sample string 5","postCode":"sample string 6","countryId":1,"geoPosition":{"latitude":1.1,"longitude":2.1},"dates":[{"shiftId":1,"startDate":"2024-05-18T07:12:33.8170719+00:00","endDate":"2024-05-18T07:12:33.8170719+00:00","breakTime":1},{"shiftId":1,"startDate":"2024-05-18T07:12:33.8170719+00:00","endDate":"2024-05-18T07:12:33.8170719+00:00","breakTime":1}]},{"orderId":1,"title":"sample string 2","organizationalUnitId":3,"address":"sample string 4","city":"sample string 5","postCode":"sample string 6","countryId":1,"geoPosition":{"latitude":1.1,"longitude":2.1},"dates":[{"shiftId":1,"startDate":"2024-05-18T07:12:33.8170719+00:00","endDate":"2024-05-18T07:12:33.8170719+00:00","breakTime":1},{"shiftId":1,"startDate":"2024-05-18T07:12:33.8170719+00:00","endDate":"2024-05-18T07:12:33.8170719+00:00","breakTime":1}]}]

application/xml, text/xml

Sample:
<ArrayOfOrderForConfirmationDto xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <OrderForConfirmationDto>
    <OrderId>1</OrderId>
    <Title>sample string 2</Title>
    <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>
    <Dates>
      <ShiftDetailsDto>
        <ShiftId>1</ShiftId>
        <StartDate />
        <EndDate />
        <BreakTime>1</BreakTime>
      </ShiftDetailsDto>
      <ShiftDetailsDto>
        <ShiftId>1</ShiftId>
        <StartDate />
        <EndDate />
        <BreakTime>1</BreakTime>
      </ShiftDetailsDto>
    </Dates>
  </OrderForConfirmationDto>
  <OrderForConfirmationDto>
    <OrderId>1</OrderId>
    <Title>sample string 2</Title>
    <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>
    <Dates>
      <ShiftDetailsDto>
        <ShiftId>1</ShiftId>
        <StartDate />
        <EndDate />
        <BreakTime>1</BreakTime>
      </ShiftDetailsDto>
      <ShiftDetailsDto>
        <ShiftId>1</ShiftId>
        <StartDate />
        <EndDate />
        <BreakTime>1</BreakTime>
      </ShiftDetailsDto>
    </Dates>
  </OrderForConfirmationDto>
</ArrayOfOrderForConfirmationDto>