GET api/Project4H/GetAllRecordbookYears
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of RecordbookYear| Name | Description | Type | Additional information |
|---|---|---|---|
| YearID | integer |
None. |
|
| Year | string |
None. |
|
| StartDate | date |
None. |
|
| EndDate | date |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"YearID": 1,
"Year": "sample string 2",
"StartDate": "2025-12-05T20:22:49.7031468-08:00",
"EndDate": "2025-12-05T20:22:49.7031468-08:00"
},
{
"YearID": 1,
"Year": "sample string 2",
"StartDate": "2025-12-05T20:22:49.7031468-08:00",
"EndDate": "2025-12-05T20:22:49.7031468-08:00"
}
]
application/xml, text/xml
Sample:
<ArrayOfRecordbookYear xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Equestrian.Entities">
<RecordbookYear>
<EndDate>2025-12-05T20:22:49.7031468-08:00</EndDate>
<StartDate>2025-12-05T20:22:49.7031468-08:00</StartDate>
<Year>sample string 2</Year>
<YearID>1</YearID>
</RecordbookYear>
<RecordbookYear>
<EndDate>2025-12-05T20:22:49.7031468-08:00</EndDate>
<StartDate>2025-12-05T20:22:49.7031468-08:00</StartDate>
<Year>sample string 2</Year>
<YearID>1</YearID>
</RecordbookYear>
</ArrayOfRecordbookYear>