GET api/Saints/GetSaintsByDate?saintDate={saintDate}

Returns an array of saints given the specific date.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
saintDate

DateTime [retrieved from the URI]

date

Required

Body Parameters

None.

Response Information

Resource Description

An array of saints.

Collection of Saint
NameDescriptionTypeAdditional information
saintid

integer

None.

title

string

None.

name

string

None.

date

date

None.

comment

string

None.

description

string

None.

story

string

None.

mp3

boolean

None.

sex

string

None.

feastday

date

None.

dateslived

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "saintid": 1,
    "title": "sample string 2",
    "name": "sample string 3",
    "date": "2022-01-19T14:06:16.0040236-05:00",
    "comment": "sample string 4",
    "description": "sample string 5",
    "story": "sample string 6",
    "mp3": true,
    "sex": "sample string 8",
    "feastday": "2022-01-19T14:06:16.0040236-05:00",
    "dateslived": "sample string 9"
  },
  {
    "saintid": 1,
    "title": "sample string 2",
    "name": "sample string 3",
    "date": "2022-01-19T14:06:16.0040236-05:00",
    "comment": "sample string 4",
    "description": "sample string 5",
    "story": "sample string 6",
    "mp3": true,
    "sex": "sample string 8",
    "feastday": "2022-01-19T14:06:16.0040236-05:00",
    "dateslived": "sample string 9"
  }
]

application/xml, text/xml

Sample:
<ArrayOfSaint xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FMServices.Models">
  <Saint>
    <comment>sample string 4</comment>
    <date>2022-01-19T14:06:16.0040236-05:00</date>
    <dateslived>sample string 9</dateslived>
    <description>sample string 5</description>
    <feastday>2022-01-19T14:06:16.0040236-05:00</feastday>
    <mp3>true</mp3>
    <name>sample string 3</name>
    <saintid>1</saintid>
    <sex>sample string 8</sex>
    <story>sample string 6</story>
    <title>sample string 2</title>
  </Saint>
  <Saint>
    <comment>sample string 4</comment>
    <date>2022-01-19T14:06:16.0040236-05:00</date>
    <dateslived>sample string 9</dateslived>
    <description>sample string 5</description>
    <feastday>2022-01-19T14:06:16.0040236-05:00</feastday>
    <mp3>true</mp3>
    <name>sample string 3</name>
    <saintid>1</saintid>
    <sex>sample string 8</sex>
    <story>sample string 6</story>
    <title>sample string 2</title>
  </Saint>
</ArrayOfSaint>