POST api/JankariPortal/InsertFinanacialYear

Request Information

URI Parameters

None.

Body Parameters

FinanacialYear
NameDescriptionTypeAdditional information
yearid

integer

None.

yearname

string

None.

startdate

date

None.

enddate

date

None.

status

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "yearid": 1,
  "yearname": "sample string 2",
  "startdate": "2025-05-10T12:05:28.7406751+05:30",
  "enddate": "2025-05-10T12:05:28.7406751+05:30",
  "status": 1
}

application/xml, text/xml

Sample:
<FinanacialYear xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JankariPortalPIFAPI.Models">
  <enddate>2025-05-10T12:05:28.7406751+05:30</enddate>
  <startdate>2025-05-10T12:05:28.7406751+05:30</startdate>
  <status>1</status>
  <yearid>1</yearid>
  <yearname>sample string 2</yearname>
</FinanacialYear>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>