GET api/Project4H/GetAllRecordbookYears
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of RecordbookYearName | 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-07-28T13:47:43.811174-07:00", "EndDate": "2025-07-28T13:47:43.811174-07:00" }, { "YearID": 1, "Year": "sample string 2", "StartDate": "2025-07-28T13:47:43.811174-07:00", "EndDate": "2025-07-28T13:47:43.811174-07: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-07-28T13:47:43.811174-07:00</EndDate> <StartDate>2025-07-28T13:47:43.811174-07:00</StartDate> <Year>sample string 2</Year> <YearID>1</YearID> </RecordbookYear> <RecordbookYear> <EndDate>2025-07-28T13:47:43.811174-07:00</EndDate> <StartDate>2025-07-28T13:47:43.811174-07:00</StartDate> <Year>sample string 2</Year> <YearID>1</YearID> </RecordbookYear> </ArrayOfRecordbookYear>