GET ShiftPlan/CourierPlan?id={id}&date={date}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

date

string

Required

Body Parameters

None.

Response Information

Resource Description

CourierShiftPlanResponseDTO
NameDescriptionTypeAdditional information
HasShiftPlan

boolean

None.

Message

string

None.

Data

CourierShiftPlanResponseData

None.

Response Formats

application/json, text/json

Sample:
{
  "HasShiftPlan": true,
  "Message": "sample string 2",
  "Data": {
    "WeekID": 1,
    "StartDate": "2026-02-04T05:13:43.7299138+03:00",
    "EndDate": "2026-02-04T05:13:43.7299138+03:00",
    "Days": {
      "Monday": {
        "DayID": 1,
        "Date": "2026-02-04T05:13:43.7299138+03:00",
        "ShiftItems": [
          {
            "Id": 1,
            "ItemId": 2,
            "WeekId": 3,
            "DayId": 4,
            "StartTime": "sample string 5",
            "EndTime": "sample string 6",
            "BreakTime": 7,
            "AutoOnline": true,
            "AutoOffline": true,
            "Date": "2026-02-04T05:13:43.7299138+03:00"
          },
          {
            "Id": 1,
            "ItemId": 2,
            "WeekId": 3,
            "DayId": 4,
            "StartTime": "sample string 5",
            "EndTime": "sample string 6",
            "BreakTime": 7,
            "AutoOnline": true,
            "AutoOffline": true,
            "Date": "2026-02-04T05:13:43.7299138+03:00"
          }
        ]
      },
      "Tuesday": {
        "DayID": 1,
        "Date": "2026-02-04T05:13:43.7299138+03:00",
        "ShiftItems": [
          {
            "Id": 1,
            "ItemId": 2,
            "WeekId": 3,
            "DayId": 4,
            "StartTime": "sample string 5",
            "EndTime": "sample string 6",
            "BreakTime": 7,
            "AutoOnline": true,
            "AutoOffline": true,
            "Date": "2026-02-04T05:13:43.7299138+03:00"
          },
          {
            "Id": 1,
            "ItemId": 2,
            "WeekId": 3,
            "DayId": 4,
            "StartTime": "sample string 5",
            "EndTime": "sample string 6",
            "BreakTime": 7,
            "AutoOnline": true,
            "AutoOffline": true,
            "Date": "2026-02-04T05:13:43.7299138+03:00"
          }
        ]
      },
      "Wednesday": {
        "DayID": 1,
        "Date": "2026-02-04T05:13:43.7299138+03:00",
        "ShiftItems": [
          {
            "Id": 1,
            "ItemId": 2,
            "WeekId": 3,
            "DayId": 4,
            "StartTime": "sample string 5",
            "EndTime": "sample string 6",
            "BreakTime": 7,
            "AutoOnline": true,
            "AutoOffline": true,
            "Date": "2026-02-04T05:13:43.7299138+03:00"
          },
          {
            "Id": 1,
            "ItemId": 2,
            "WeekId": 3,
            "DayId": 4,
            "StartTime": "sample string 5",
            "EndTime": "sample string 6",
            "BreakTime": 7,
            "AutoOnline": true,
            "AutoOffline": true,
            "Date": "2026-02-04T05:13:43.7299138+03:00"
          }
        ]
      },
      "Thursday": {
        "DayID": 1,
        "Date": "2026-02-04T05:13:43.7299138+03:00",
        "ShiftItems": [
          {
            "Id": 1,
            "ItemId": 2,
            "WeekId": 3,
            "DayId": 4,
            "StartTime": "sample string 5",
            "EndTime": "sample string 6",
            "BreakTime": 7,
            "AutoOnline": true,
            "AutoOffline": true,
            "Date": "2026-02-04T05:13:43.7299138+03:00"
          },
          {
            "Id": 1,
            "ItemId": 2,
            "WeekId": 3,
            "DayId": 4,
            "StartTime": "sample string 5",
            "EndTime": "sample string 6",
            "BreakTime": 7,
            "AutoOnline": true,
            "AutoOffline": true,
            "Date": "2026-02-04T05:13:43.7299138+03:00"
          }
        ]
      },
      "Friday": {
        "DayID": 1,
        "Date": "2026-02-04T05:13:43.7299138+03:00",
        "ShiftItems": [
          {
            "Id": 1,
            "ItemId": 2,
            "WeekId": 3,
            "DayId": 4,
            "StartTime": "sample string 5",
            "EndTime": "sample string 6",
            "BreakTime": 7,
            "AutoOnline": true,
            "AutoOffline": true,
            "Date": "2026-02-04T05:13:43.7299138+03:00"
          },
          {
            "Id": 1,
            "ItemId": 2,
            "WeekId": 3,
            "DayId": 4,
            "StartTime": "sample string 5",
            "EndTime": "sample string 6",
            "BreakTime": 7,
            "AutoOnline": true,
            "AutoOffline": true,
            "Date": "2026-02-04T05:13:43.7299138+03:00"
          }
        ]
      },
      "Saturday": {
        "DayID": 1,
        "Date": "2026-02-04T05:13:43.7299138+03:00",
        "ShiftItems": [
          {
            "Id": 1,
            "ItemId": 2,
            "WeekId": 3,
            "DayId": 4,
            "StartTime": "sample string 5",
            "EndTime": "sample string 6",
            "BreakTime": 7,
            "AutoOnline": true,
            "AutoOffline": true,
            "Date": "2026-02-04T05:13:43.7299138+03:00"
          },
          {
            "Id": 1,
            "ItemId": 2,
            "WeekId": 3,
            "DayId": 4,
            "StartTime": "sample string 5",
            "EndTime": "sample string 6",
            "BreakTime": 7,
            "AutoOnline": true,
            "AutoOffline": true,
            "Date": "2026-02-04T05:13:43.7299138+03:00"
          }
        ]
      },
      "Sunday": {
        "DayID": 1,
        "Date": "2026-02-04T05:13:43.7299138+03:00",
        "ShiftItems": [
          {
            "Id": 1,
            "ItemId": 2,
            "WeekId": 3,
            "DayId": 4,
            "StartTime": "sample string 5",
            "EndTime": "sample string 6",
            "BreakTime": 7,
            "AutoOnline": true,
            "AutoOffline": true,
            "Date": "2026-02-04T05:13:43.7299138+03:00"
          },
          {
            "Id": 1,
            "ItemId": 2,
            "WeekId": 3,
            "DayId": 4,
            "StartTime": "sample string 5",
            "EndTime": "sample string 6",
            "BreakTime": 7,
            "AutoOnline": true,
            "AutoOffline": true,
            "Date": "2026-02-04T05:13:43.7299138+03:00"
          }
        ]
      }
    }
  }
}

application/xml, text/xml

Sample:
<ShiftPlanDTO.CourierShiftPlanResponseDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RestAPI.Models">
  <Data>
    <Days>
      <Friday>
        <Date>2026-02-04T05:13:43.7299138+03:00</Date>
        <DayID>1</DayID>
        <ShiftItems>
          <ShiftPlanDTO.CourierShiftPlanItemDTO>
            <AutoOffline>true</AutoOffline>
            <AutoOnline>true</AutoOnline>
            <BreakTime>7</BreakTime>
            <Date>2026-02-04T05:13:43.7299138+03:00</Date>
            <DayId>4</DayId>
            <EndTime>sample string 6</EndTime>
            <Id>1</Id>
            <ItemId>2</ItemId>
            <StartTime>sample string 5</StartTime>
            <WeekId>3</WeekId>
          </ShiftPlanDTO.CourierShiftPlanItemDTO>
          <ShiftPlanDTO.CourierShiftPlanItemDTO>
            <AutoOffline>true</AutoOffline>
            <AutoOnline>true</AutoOnline>
            <BreakTime>7</BreakTime>
            <Date>2026-02-04T05:13:43.7299138+03:00</Date>
            <DayId>4</DayId>
            <EndTime>sample string 6</EndTime>
            <Id>1</Id>
            <ItemId>2</ItemId>
            <StartTime>sample string 5</StartTime>
            <WeekId>3</WeekId>
          </ShiftPlanDTO.CourierShiftPlanItemDTO>
        </ShiftItems>
      </Friday>
      <Monday>
        <Date>2026-02-04T05:13:43.7299138+03:00</Date>
        <DayID>1</DayID>
        <ShiftItems>
          <ShiftPlanDTO.CourierShiftPlanItemDTO>
            <AutoOffline>true</AutoOffline>
            <AutoOnline>true</AutoOnline>
            <BreakTime>7</BreakTime>
            <Date>2026-02-04T05:13:43.7299138+03:00</Date>
            <DayId>4</DayId>
            <EndTime>sample string 6</EndTime>
            <Id>1</Id>
            <ItemId>2</ItemId>
            <StartTime>sample string 5</StartTime>
            <WeekId>3</WeekId>
          </ShiftPlanDTO.CourierShiftPlanItemDTO>
          <ShiftPlanDTO.CourierShiftPlanItemDTO>
            <AutoOffline>true</AutoOffline>
            <AutoOnline>true</AutoOnline>
            <BreakTime>7</BreakTime>
            <Date>2026-02-04T05:13:43.7299138+03:00</Date>
            <DayId>4</DayId>
            <EndTime>sample string 6</EndTime>
            <Id>1</Id>
            <ItemId>2</ItemId>
            <StartTime>sample string 5</StartTime>
            <WeekId>3</WeekId>
          </ShiftPlanDTO.CourierShiftPlanItemDTO>
        </ShiftItems>
      </Monday>
      <Saturday>
        <Date>2026-02-04T05:13:43.7299138+03:00</Date>
        <DayID>1</DayID>
        <ShiftItems>
          <ShiftPlanDTO.CourierShiftPlanItemDTO>
            <AutoOffline>true</AutoOffline>
            <AutoOnline>true</AutoOnline>
            <BreakTime>7</BreakTime>
            <Date>2026-02-04T05:13:43.7299138+03:00</Date>
            <DayId>4</DayId>
            <EndTime>sample string 6</EndTime>
            <Id>1</Id>
            <ItemId>2</ItemId>
            <StartTime>sample string 5</StartTime>
            <WeekId>3</WeekId>
          </ShiftPlanDTO.CourierShiftPlanItemDTO>
          <ShiftPlanDTO.CourierShiftPlanItemDTO>
            <AutoOffline>true</AutoOffline>
            <AutoOnline>true</AutoOnline>
            <BreakTime>7</BreakTime>
            <Date>2026-02-04T05:13:43.7299138+03:00</Date>
            <DayId>4</DayId>
            <EndTime>sample string 6</EndTime>
            <Id>1</Id>
            <ItemId>2</ItemId>
            <StartTime>sample string 5</StartTime>
            <WeekId>3</WeekId>
          </ShiftPlanDTO.CourierShiftPlanItemDTO>
        </ShiftItems>
      </Saturday>
      <Sunday>
        <Date>2026-02-04T05:13:43.7299138+03:00</Date>
        <DayID>1</DayID>
        <ShiftItems>
          <ShiftPlanDTO.CourierShiftPlanItemDTO>
            <AutoOffline>true</AutoOffline>
            <AutoOnline>true</AutoOnline>
            <BreakTime>7</BreakTime>
            <Date>2026-02-04T05:13:43.7299138+03:00</Date>
            <DayId>4</DayId>
            <EndTime>sample string 6</EndTime>
            <Id>1</Id>
            <ItemId>2</ItemId>
            <StartTime>sample string 5</StartTime>
            <WeekId>3</WeekId>
          </ShiftPlanDTO.CourierShiftPlanItemDTO>
          <ShiftPlanDTO.CourierShiftPlanItemDTO>
            <AutoOffline>true</AutoOffline>
            <AutoOnline>true</AutoOnline>
            <BreakTime>7</BreakTime>
            <Date>2026-02-04T05:13:43.7299138+03:00</Date>
            <DayId>4</DayId>
            <EndTime>sample string 6</EndTime>
            <Id>1</Id>
            <ItemId>2</ItemId>
            <StartTime>sample string 5</StartTime>
            <WeekId>3</WeekId>
          </ShiftPlanDTO.CourierShiftPlanItemDTO>
        </ShiftItems>
      </Sunday>
      <Thursday>
        <Date>2026-02-04T05:13:43.7299138+03:00</Date>
        <DayID>1</DayID>
        <ShiftItems>
          <ShiftPlanDTO.CourierShiftPlanItemDTO>
            <AutoOffline>true</AutoOffline>
            <AutoOnline>true</AutoOnline>
            <BreakTime>7</BreakTime>
            <Date>2026-02-04T05:13:43.7299138+03:00</Date>
            <DayId>4</DayId>
            <EndTime>sample string 6</EndTime>
            <Id>1</Id>
            <ItemId>2</ItemId>
            <StartTime>sample string 5</StartTime>
            <WeekId>3</WeekId>
          </ShiftPlanDTO.CourierShiftPlanItemDTO>
          <ShiftPlanDTO.CourierShiftPlanItemDTO>
            <AutoOffline>true</AutoOffline>
            <AutoOnline>true</AutoOnline>
            <BreakTime>7</BreakTime>
            <Date>2026-02-04T05:13:43.7299138+03:00</Date>
            <DayId>4</DayId>
            <EndTime>sample string 6</EndTime>
            <Id>1</Id>
            <ItemId>2</ItemId>
            <StartTime>sample string 5</StartTime>
            <WeekId>3</WeekId>
          </ShiftPlanDTO.CourierShiftPlanItemDTO>
        </ShiftItems>
      </Thursday>
      <Tuesday>
        <Date>2026-02-04T05:13:43.7299138+03:00</Date>
        <DayID>1</DayID>
        <ShiftItems>
          <ShiftPlanDTO.CourierShiftPlanItemDTO>
            <AutoOffline>true</AutoOffline>
            <AutoOnline>true</AutoOnline>
            <BreakTime>7</BreakTime>
            <Date>2026-02-04T05:13:43.7299138+03:00</Date>
            <DayId>4</DayId>
            <EndTime>sample string 6</EndTime>
            <Id>1</Id>
            <ItemId>2</ItemId>
            <StartTime>sample string 5</StartTime>
            <WeekId>3</WeekId>
          </ShiftPlanDTO.CourierShiftPlanItemDTO>
          <ShiftPlanDTO.CourierShiftPlanItemDTO>
            <AutoOffline>true</AutoOffline>
            <AutoOnline>true</AutoOnline>
            <BreakTime>7</BreakTime>
            <Date>2026-02-04T05:13:43.7299138+03:00</Date>
            <DayId>4</DayId>
            <EndTime>sample string 6</EndTime>
            <Id>1</Id>
            <ItemId>2</ItemId>
            <StartTime>sample string 5</StartTime>
            <WeekId>3</WeekId>
          </ShiftPlanDTO.CourierShiftPlanItemDTO>
        </ShiftItems>
      </Tuesday>
      <Wednesday>
        <Date>2026-02-04T05:13:43.7299138+03:00</Date>
        <DayID>1</DayID>
        <ShiftItems>
          <ShiftPlanDTO.CourierShiftPlanItemDTO>
            <AutoOffline>true</AutoOffline>
            <AutoOnline>true</AutoOnline>
            <BreakTime>7</BreakTime>
            <Date>2026-02-04T05:13:43.7299138+03:00</Date>
            <DayId>4</DayId>
            <EndTime>sample string 6</EndTime>
            <Id>1</Id>
            <ItemId>2</ItemId>
            <StartTime>sample string 5</StartTime>
            <WeekId>3</WeekId>
          </ShiftPlanDTO.CourierShiftPlanItemDTO>
          <ShiftPlanDTO.CourierShiftPlanItemDTO>
            <AutoOffline>true</AutoOffline>
            <AutoOnline>true</AutoOnline>
            <BreakTime>7</BreakTime>
            <Date>2026-02-04T05:13:43.7299138+03:00</Date>
            <DayId>4</DayId>
            <EndTime>sample string 6</EndTime>
            <Id>1</Id>
            <ItemId>2</ItemId>
            <StartTime>sample string 5</StartTime>
            <WeekId>3</WeekId>
          </ShiftPlanDTO.CourierShiftPlanItemDTO>
        </ShiftItems>
      </Wednesday>
    </Days>
    <EndDate>2026-02-04T05:13:43.7299138+03:00</EndDate>
    <StartDate>2026-02-04T05:13:43.7299138+03:00</StartDate>
    <WeekID>1</WeekID>
  </Data>
  <HasShiftPlan>true</HasShiftPlan>
  <Message>sample string 2</Message>
</ShiftPlanDTO.CourierShiftPlanResponseDTO>