POST api/YearList
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
YearListName | Description | Type | Additional information |
---|---|---|---|
status | Collection of Status |
None. |
|
Year | Collection of Year |
None. |
Response Formats
application/json, text/json
Sample:
{ "status": [ { "status": "sample string 1", "Error": "sample string 2", "Message": "sample string 3" }, { "status": "sample string 1", "Error": "sample string 2", "Message": "sample string 3" } ], "Year": [ { "YearId": 1, "YearText": "sample string 2", "StartDate": "sample string 3", "EndDate": "sample string 4" }, { "YearId": 1, "YearText": "sample string 2", "StartDate": "sample string 3", "EndDate": "sample string 4" } ] }
application/xml, text/xml
Sample:
<YearList xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LISCAREWEBAPI.Models"> <Year> <Year> <EndDate>sample string 4</EndDate> <StartDate>sample string 3</StartDate> <YearId>1</YearId> <YearText>sample string 2</YearText> </Year> <Year> <EndDate>sample string 4</EndDate> <StartDate>sample string 3</StartDate> <YearId>1</YearId> <YearText>sample string 2</YearText> </Year> </Year> <status> <Status> <Error>sample string 2</Error> <Message>sample string 3</Message> <status>sample string 1</status> </Status> <Status> <Error>sample string 2</Error> <Message>sample string 3</Message> <status>sample string 1</status> </Status> </status> </YearList>