POST api/Values

Request Information

URI Parameters

None.

Body Parameters

FinancialYearModel
NameDescriptionTypeAdditional information
financialyearid

integer

None.

yearname

string

None.

yearkey

string

None.

yearvalue

string

None.

Request Formats

application/json, text/json

Sample:
{
  "financialyearid": 1,
  "yearname": "sample string 2",
  "yearkey": "sample string 3",
  "yearvalue": "sample string 4"
}

application/xml, text/xml

Sample:
<FinancialYearModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Kantaserp.Models">
  <financialyearid>1</financialyearid>
  <yearkey>sample string 3</yearkey>
  <yearname>sample string 2</yearname>
  <yearvalue>sample string 4</yearvalue>
</FinancialYearModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResultViewModel
NameDescriptionTypeAdditional information
status

boolean

None.

message

string

None.

data

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "status": true,
  "message": "sample string 2",
  "data": {}
}

application/xml, text/xml

Sample:
<HttpResultViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Kantaserp.Models">
  <data />
  <message>sample string 2</message>
  <status>true</status>
</HttpResultViewModel>