GET api/Food/GetSchedules

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of R_Schedule
NameDescriptionTypeAdditional information
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:
[
  {
    "listingIDs": "sample string 1",
    "scheduleID": 2,
    "startDate": "2020-03-31T07:08:07.2403233-07:00",
    "endDate": "2020-03-31T07:08:07.2403233-07:00",
    "nickName": "sample string 5"
  },
  {
    "listingIDs": "sample string 1",
    "scheduleID": 2,
    "startDate": "2020-03-31T07:08:07.2403233-07:00",
    "endDate": "2020-03-31T07:08:07.2403233-07:00",
    "nickName": "sample string 5"
  }
]

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>2020-03-31T07:08:07.2403233-07:00</EndDate>
    <NickName>sample string 5</NickName>
    <StartDate>2020-03-31T07:08:07.2403233-07:00</StartDate>
    <ScheduleID>2</ScheduleID>
    <ListingIDs>sample string 1</ListingIDs>
  </R_Schedule>
  <R_Schedule>
    <EndDate>2020-03-31T07:08:07.2403233-07:00</EndDate>
    <NickName>sample string 5</NickName>
    <StartDate>2020-03-31T07:08:07.2403233-07:00</StartDate>
    <ScheduleID>2</ScheduleID>
    <ListingIDs>sample string 1</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>2020-03-31T07:08:07.2403233-07:00</EndDate><NickName>sample string 5</NickName><StartDate>2020-03-31T07:08:07.2403233-07:00</StartDate><ScheduleID>2</ScheduleID><ListingIDs>sample string 1</ListingIDs></R_Schedule><R_Schedule><EndDate>2020-03-31T07:08:07.2403233-07:00</EndDate><NickName>sample string 5</NickName><StartDate>2020-03-31T07:08:07.2403233-07:00</StartDate><ScheduleID>2</ScheduleID><ListingIDs>sample string 1</ListingIDs></R_Schedule></ArrayOfR_Schedule>