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

Returns a single saint object based on date. This will return the first saint object that meets the criteria.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
saintDate

DateTime [retrieved from the URI]

date

Required

Body Parameters

None.

Response Information

Resource Description

A single saint object

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-06-30T00:01:42.9028445-04:00",
  "comment": "sample string 4",
  "description": "sample string 5",
  "story": "sample string 6",
  "mp3": true,
  "sex": "sample string 8",
  "feastday": "2022-06-30T00:01:42.9028445-04:00",
  "dateslived": "sample string 9"
}

application/xml, text/xml

Sample:
<Saint xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FMServices.Models">
  <comment>sample string 4</comment>
  <date>2022-06-30T00:01:42.9028445-04:00</date>
  <dateslived>sample string 9</dateslived>
  <description>sample string 5</description>
  <feastday>2022-06-30T00:01:42.9028445-04: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>