GET api/Food/ReadSchedules

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of R_Schedule
NameDescriptionTypeAdditional information
ChefID

integer

None.

ListingIDs

string

None.

ScheduleID

integer

Required

Matching regular expression pattern: ^[0-9]{1,11}$

StartDate

date

None.

EndDate

date

Required

NickName

string

Required

Response Formats

application/json, text/json

Sample:
[
  {
    "chefID": 1,
    "listingIDs": "sample string 2",
    "scheduleID": 3,
    "startDate": "2019-09-14T23:28:26.3650807-07:00",
    "endDate": "2019-09-14T23:28:26.3650807-07:00",
    "nickName": "sample string 6"
  },
  {
    "chefID": 1,
    "listingIDs": "sample string 2",
    "scheduleID": 3,
    "startDate": "2019-09-14T23:28:26.3650807-07:00",
    "endDate": "2019-09-14T23:28:26.3650807-07:00",
    "nickName": "sample string 6"
  }
]

application/xml, text/xml

Sample:
<ArrayOfR_Schedule xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PGDataStructures">
  <R_Schedule>
    <EndDate>2019-09-14T23:28:26.3650807-07:00</EndDate>
    <NickName>sample string 6</NickName>
    <StartDate>2019-09-14T23:28:26.3650807-07:00</StartDate>
    <ScheduleID>3</ScheduleID>
    <ChefID>1</ChefID>
    <ListingIDs>sample string 2</ListingIDs>
  </R_Schedule>
  <R_Schedule>
    <EndDate>2019-09-14T23:28:26.3650807-07:00</EndDate>
    <NickName>sample string 6</NickName>
    <StartDate>2019-09-14T23:28:26.3650807-07:00</StartDate>
    <ScheduleID>3</ScheduleID>
    <ChefID>1</ChefID>
    <ListingIDs>sample string 2</ListingIDs>
  </R_Schedule>
</ArrayOfR_Schedule>

multipart/form-data

Sample:
<ArrayOfR_Schedule xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PGDataStructures"><R_Schedule><EndDate>2019-09-14T23:28:26.3650807-07:00</EndDate><NickName>sample string 6</NickName><StartDate>2019-09-14T23:28:26.3650807-07:00</StartDate><ScheduleID>3</ScheduleID><ChefID>1</ChefID><ListingIDs>sample string 2</ListingIDs></R_Schedule><R_Schedule><EndDate>2019-09-14T23:28:26.3650807-07:00</EndDate><NickName>sample string 6</NickName><StartDate>2019-09-14T23:28:26.3650807-07:00</StartDate><ScheduleID>3</ScheduleID><ChefID>1</ChefID><ListingIDs>sample string 2</ListingIDs></R_Schedule></ArrayOfR_Schedule>