POST api/FinancialYear

Request Information

URI Parameters

None.

Body Parameters

FinancialYearModels
NameDescriptionTypeAdditional information
FY_Id

integer

None.

FY_FromYear

date

Required

FY_ToYear

date

Required

FY_Currentyear

string

Required

Max length: 3

FY_UserId_FK

integer

None.

FY_TS

date

None.

FY_Inactive

character

None.

FY_TS_LastEdited

date

None.

FY_TS_Edited_Uid_FK

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "FY_Id": 1,
  "FY_FromYear": "2024-04-27T05:00:23.6923991+05:30",
  "FY_ToYear": "2024-04-27T05:00:23.6923991+05:30",
  "FY_Currentyear": "sample string 4",
  "FY_UserId_FK": 5,
  "FY_TS": "2024-04-27T05:00:23.6923991+05:30",
  "FY_Inactive": "A",
  "FY_TS_LastEdited": "2024-04-27T05:00:23.6923991+05:30",
  "FY_TS_Edited_Uid_FK": 9
}

application/xml, text/xml

Sample:
<FinancialYearModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eDairyWebAPI.Models">
  <FY_Currentyear>sample string 4</FY_Currentyear>
  <FY_FromYear>2024-04-27T05:00:23.6923991+05:30</FY_FromYear>
  <FY_Id>1</FY_Id>
  <FY_Inactive>65</FY_Inactive>
  <FY_TS>2024-04-27T05:00:23.6923991+05:30</FY_TS>
  <FY_TS_Edited_Uid_FK>9</FY_TS_Edited_Uid_FK>
  <FY_TS_LastEdited>2024-04-27T05:00:23.6923991+05:30</FY_TS_LastEdited>
  <FY_ToYear>2024-04-27T05:00:23.6923991+05:30</FY_ToYear>
  <FY_UserId_FK>5</FY_UserId_FK>
</FinancialYearModels>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'FinancialYearModels'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.