GET v1/Issue/Years
Get a list of years that the magazine has issues for, along with some summarized data for each year. It will return one record for each year that the magazine published at least one issue.
Roles Allowed
admin, editor
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of IssueYearName | Description | Type | Additional information |
---|---|---|---|
Year |
Each magazine issue is assigned to a single year, even if the magazine is 'December 2012 / January 2013'. |
integer |
None. |
IsLiveCount |
The number of issues for the year that are live |
integer |
None. |
IsNotLiveCount |
The number of issues for the year that are not live |
integer |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Year": 2007, "IsLiveCount": 4, "IsNotLiveCount": 5 }, { "Year": 2008, "IsLiveCount": 0, "IsNotLiveCount": 7 }, { "Year": 2009, "IsLiveCount": 1, "IsNotLiveCount": 2 } ]
application/xml, text/xml
Sample:
<ArrayOfIssueYear xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bondi.Models.V3.ApiDto"> <IssueYear> <IsLiveCount>4</IsLiveCount> <IsNotLiveCount>5</IsNotLiveCount> <Year>2007</Year> </IssueYear> <IssueYear> <IsLiveCount>0</IsLiveCount> <IsNotLiveCount>7</IsNotLiveCount> <Year>2008</Year> </IssueYear> <IssueYear> <IsLiveCount>1</IsLiveCount> <IsNotLiveCount>2</IsNotLiveCount> <Year>2009</Year> </IssueYear> </ArrayOfIssueYear>