POST api/FinancialYearAPI
Request Information
URI Parameters
None.
Body Parameters
FinancialYear| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Name | string |
None. |
|
| NepaliStartDate | string |
None. |
|
| NepaliEndDate | string |
None. |
|
| StartDate | date |
None. |
|
| EndDate | date |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"Name": "sample string 2",
"NepaliStartDate": "sample string 3",
"NepaliEndDate": "sample string 4",
"StartDate": "2026-04-02T21:16:09.6276223+05:45",
"EndDate": "2026-04-02T21:16:09.6276223+05:45"
}
application/xml, text/xml
Sample:
<FinancialYear xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DCubeHotelDomain.Models"> <EndDate>2026-04-02T21:16:09.6276223+05:45</EndDate> <Id>1</Id> <Name>sample string 2</Name> <NepaliEndDate>sample string 4</NepaliEndDate> <NepaliStartDate>sample string 3</NepaliStartDate> <StartDate>2026-04-02T21:16:09.6276223+05:45</StartDate> </FinancialYear>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |