POST api/SaveOtherIncomeDetails

Request Information

URI Parameters

None.

Body Parameters

OtherIncome_Input
NameDescriptionTypeAdditional information
IncomeotherID

integer

None.

UserId

integer

None.

NameOfIncome_Source

string

Matching regular expression pattern: ^[a-zA-Z]+$

OtherActivityIncome

decimal number

Matching regular expression pattern: ([0-9]{1,5}.[0-9]{1,5})$

Request Formats

application/json, text/json

Sample:
{
  "IncomeotherID": 1,
  "UserId": 2,
  "NameOfIncome_Source": "sample string 3",
  "OtherActivityIncome": 1.1
}

application/xml, text/xml

Sample:
<OtherIncome_Input xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WDD_Models">
  <IncomeotherID>1</IncomeotherID>
  <NameOfIncome_Source>sample string 3</NameOfIncome_Source>
  <OtherActivityIncome>1.1</OtherActivityIncome>
  <UserId>2</UserId>
</OtherIncome_Input>

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 'OtherIncome_Input'.

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>