GET api/Reports/GetTimeTableWeekData?pDiaryNum={pDiaryNum}&pDate={pDate}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
pDiaryNum

integer

Required

pDate

date

Required

Body Parameters

None.

Response Information

Resource Description

WeekDiariesData
NameDescriptionTypeAdditional information
AllData

Collection of WeekDiaryData

None.

Holidays

Collection of string

None.

Response Formats

application/json, text/json

Sample:
{
  "AllData": [
    {
      "DiaryName": "sample string 1",
      "DiaryNum": 1,
      "HourAppointments": [
        {
          "Hour": "00:00:00.1234567",
          "CellData": [
            [
              {},
              {}
            ],
            [
              {},
              {}
            ]
          ]
        },
        {
          "Hour": "00:00:00.1234567",
          "CellData": [
            [
              {},
              {}
            ],
            [
              {},
              {}
            ]
          ]
        }
      ]
    },
    {
      "DiaryName": "sample string 1",
      "DiaryNum": 1,
      "HourAppointments": [
        {
          "Hour": "00:00:00.1234567",
          "CellData": [
            [
              {},
              {}
            ],
            [
              {},
              {}
            ]
          ]
        },
        {
          "Hour": "00:00:00.1234567",
          "CellData": [
            [
              {},
              {}
            ],
            [
              {},
              {}
            ]
          ]
        }
      ]
    }
  ],
  "Holidays": [
    "sample string 1",
    "sample string 2"
  ]
}

application/xml, text/xml

Sample:
<WeekDiariesData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BLMedical.Reports">
  <AllData>
    <WeekDiariesData.WeekDiaryData>
      <DiaryName>sample string 1</DiaryName>
      <DiaryNum>1</DiaryNum>
      <HourAppointments>
        <WeekDiariesData.HourLineData>
          <CellData xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
            <d6p1:ArrayOfanyType>
              <d6p1:anyType />
              <d6p1:anyType />
            </d6p1:ArrayOfanyType>
            <d6p1:ArrayOfanyType>
              <d6p1:anyType />
              <d6p1:anyType />
            </d6p1:ArrayOfanyType>
          </CellData>
          <Hour>PT0.1234567S</Hour>
        </WeekDiariesData.HourLineData>
        <WeekDiariesData.HourLineData>
          <CellData xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
            <d6p1:ArrayOfanyType>
              <d6p1:anyType />
              <d6p1:anyType />
            </d6p1:ArrayOfanyType>
            <d6p1:ArrayOfanyType>
              <d6p1:anyType />
              <d6p1:anyType />
            </d6p1:ArrayOfanyType>
          </CellData>
          <Hour>PT0.1234567S</Hour>
        </WeekDiariesData.HourLineData>
      </HourAppointments>
    </WeekDiariesData.WeekDiaryData>
    <WeekDiariesData.WeekDiaryData>
      <DiaryName>sample string 1</DiaryName>
      <DiaryNum>1</DiaryNum>
      <HourAppointments>
        <WeekDiariesData.HourLineData>
          <CellData xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
            <d6p1:ArrayOfanyType>
              <d6p1:anyType />
              <d6p1:anyType />
            </d6p1:ArrayOfanyType>
            <d6p1:ArrayOfanyType>
              <d6p1:anyType />
              <d6p1:anyType />
            </d6p1:ArrayOfanyType>
          </CellData>
          <Hour>PT0.1234567S</Hour>
        </WeekDiariesData.HourLineData>
        <WeekDiariesData.HourLineData>
          <CellData xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
            <d6p1:ArrayOfanyType>
              <d6p1:anyType />
              <d6p1:anyType />
            </d6p1:ArrayOfanyType>
            <d6p1:ArrayOfanyType>
              <d6p1:anyType />
              <d6p1:anyType />
            </d6p1:ArrayOfanyType>
          </CellData>
          <Hour>PT0.1234567S</Hour>
        </WeekDiariesData.HourLineData>
      </HourAppointments>
    </WeekDiariesData.WeekDiaryData>
  </AllData>
  <Holidays xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </Holidays>
</WeekDiariesData>

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.