GET api/Schedule/Staff/{signature}?date={date}
Retrieves schedule for one day by staff signature. Return a list of Schedule object (Http Status 200). Empty list if there are no hits for the signature in the schedule. If something is wrong HTTP Status: 400 = Missing or or incorrect parameter. 500 = Some runtime exeption.
Request Information
URI Parameters
| Name | Description | Type | Additional information | 
|---|---|---|---|
| signature | A room number, like E2045. | string | Required | 
| date | Date, default are today. Use the format yyyy-mm-dd example 2019-04-21. | string | Default value is | 
Body Parameters
None.
Response Information
Resource Description
Retrieves schedule for one day by staff signature. Return a list of Schedule object (Http Status 200). Empty list if there are no hits for the signature in the schedule. If something is wrong HTTP Status: 400 = Missing or or incorrect parameter. 500 = Some runtime exeption.
Collection of Schedule| Name | Description | Type | Additional information | 
|---|---|---|---|
| Room | The room for the reservation. | string | None. | 
| Date | Date in format yyyy-mm-dd. | string | None. | 
| From | From in format hh:mm. | string | None. | 
| To | To in format hh:mm. | string | None. | 
| Signatures | User name(s) at scheme booking. | string | None. | 
| Course | Course scheduling code. | string | None. | 
| Moment | Course moment from scheduling. | string | None. | 
Response Formats
application/json, text/json
[
  {
    "Room": "sample string 1",
    "Date": "sample string 2",
    "From": "sample string 3",
    "To": "sample string 4",
    "Signatures": "sample string 5",
    "Course": "sample string 6",
    "Moment": "sample string 7"
  },
  {
    "Room": "sample string 1",
    "Date": "sample string 2",
    "From": "sample string 3",
    "To": "sample string 4",
    "Signatures": "sample string 5",
    "Course": "sample string 6",
    "Moment": "sample string 7"
  }
]
        application/xml, text/xml
<ArrayOfSchedule xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JU.API.Schedule.Models">
  <Schedule>
    <Course>sample string 6</Course>
    <Date>sample string 2</Date>
    <From>sample string 3</From>
    <Moment>sample string 7</Moment>
    <Room>sample string 1</Room>
    <Signatures>sample string 5</Signatures>
    <To>sample string 4</To>
  </Schedule>
  <Schedule>
    <Course>sample string 6</Course>
    <Date>sample string 2</Date>
    <From>sample string 3</From>
    <Moment>sample string 7</Moment>
    <Room>sample string 1</Room>
    <Signatures>sample string 5</Signatures>
    <To>sample string 4</To>
  </Schedule>
</ArrayOfSchedule>