PUT api/FinancialYear/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

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": "2019-11-20T17:41:06.6286694+05:30",
  "FY_ToYear": "2019-11-20T17:41:06.6286694+05:30",
  "FY_Currentyear": "sample string 4",
  "FY_UserId_FK": 5,
  "FY_TS": "2019-11-20T17:41:06.6286694+05:30",
  "FY_Inactive": "A",
  "FY_TS_LastEdited": "2019-11-20T17:41:06.6286694+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>2019-11-20T17:41:06.6286694+05:30</FY_FromYear>
  <FY_Id>1</FY_Id>
  <FY_Inactive>65</FY_Inactive>
  <FY_TS>2019-11-20T17:41:06.6286694+05:30</FY_TS>
  <FY_TS_Edited_Uid_FK>9</FY_TS_Edited_Uid_FK>
  <FY_TS_LastEdited>2019-11-20T17:41:06.6286694+05:30</FY_TS_LastEdited>
  <FY_ToYear>2019-11-20T17:41:06.6286694+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.