POST api/IncomeModule/Save_PersonalIncome_Yearly

Request Information

URI Parameters

None.

Body Parameters

Personal_IncomeDetailModel
NameDescriptionTypeAdditional information
DBNo

integer

None.

AppNo

integer

None.

PersonalIncomeID

integer

None.

UserProfileID

integer

Required

Range: inclusive between 1 and 2147483647

IncomeSourceTypeID

integer

Required

Range: inclusive between 1 and 2147483647

IncomeSourceTypeSelected

string

None.

IncomeSourceType

string

String length: inclusive between 3 and 200

MonthlyIncome

decimal number

Range: inclusive between 0 and 1.79769313486232E+308

TotalIncome

decimal number

None.

IncomeDocumentURL

string

None.

PeriodYear

integer

Range: inclusive between 2022 and 2100

IsActive

boolean

None.

IsDeleted

boolean

None.

CreatedBy

integer

Required

Range: inclusive between 1 and 2147483647

UpdatedBy

integer

Required

Range: inclusive between 1 and 2147483647

HouseholdMembersArr

Collection of HouseholdIncomeDetail

None.

CountryCurrencyID

integer

Required

Range: inclusive between 1 and 2147483647

LogId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "DBNo": 1,
  "AppNo": 1,
  "PersonalIncomeID": 1,
  "UserProfileID": 1,
  "IncomeSourceTypeID": 2,
  "IncomeSourceTypeSelected": "sample string 3",
  "IncomeSourceType": "sample string 4",
  "MonthlyIncome": 5.0,
  "TotalIncome": 6.0,
  "IncomeDocumentURL": "sample string 7",
  "PeriodYear": 8,
  "IsActive": true,
  "IsDeleted": true,
  "CreatedBy": 11,
  "UpdatedBy": 12,
  "HouseholdMembersArr": [
    {
      "HouseholdIncomeDetailID": 1,
      "HouseholdMemberID": 1,
      "HouseholdMemberName": "sample string 1",
      "PeriodYear": 2,
      "MonthlyIncome": 3.0,
      "AnnualIncome": 4.0,
      "Reason": "sample string 5",
      "IsActive": true,
      "IsDeleted": true,
      "CreatedBy": 8,
      "UpdatedBy": 9
    },
    {
      "HouseholdIncomeDetailID": 1,
      "HouseholdMemberID": 1,
      "HouseholdMemberName": "sample string 1",
      "PeriodYear": 2,
      "MonthlyIncome": 3.0,
      "AnnualIncome": 4.0,
      "Reason": "sample string 5",
      "IsActive": true,
      "IsDeleted": true,
      "CreatedBy": 8,
      "UpdatedBy": 9
    }
  ],
  "CountryCurrencyID": 13,
  "LogId": 1
}

application/xml, text/xml

Sample:
<Personal_IncomeDetailModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessAccessLayer.Model.IncomeModule">
  <AppNo>1</AppNo>
  <CountryCurrencyID>13</CountryCurrencyID>
  <CreatedBy>11</CreatedBy>
  <DBNo>1</DBNo>
  <HouseholdMembersArr>
    <HouseholdIncomeDetail>
      <AnnualIncome>4</AnnualIncome>
      <CreatedBy>8</CreatedBy>
      <HouseholdIncomeDetailID>1</HouseholdIncomeDetailID>
      <HouseholdMemberID>1</HouseholdMemberID>
      <HouseholdMemberName>sample string 1</HouseholdMemberName>
      <IsActive>true</IsActive>
      <IsDeleted>true</IsDeleted>
      <MonthlyIncome>3</MonthlyIncome>
      <PeriodYear>2</PeriodYear>
      <Reason>sample string 5</Reason>
      <UpdatedBy>9</UpdatedBy>
    </HouseholdIncomeDetail>
    <HouseholdIncomeDetail>
      <AnnualIncome>4</AnnualIncome>
      <CreatedBy>8</CreatedBy>
      <HouseholdIncomeDetailID>1</HouseholdIncomeDetailID>
      <HouseholdMemberID>1</HouseholdMemberID>
      <HouseholdMemberName>sample string 1</HouseholdMemberName>
      <IsActive>true</IsActive>
      <IsDeleted>true</IsDeleted>
      <MonthlyIncome>3</MonthlyIncome>
      <PeriodYear>2</PeriodYear>
      <Reason>sample string 5</Reason>
      <UpdatedBy>9</UpdatedBy>
    </HouseholdIncomeDetail>
  </HouseholdMembersArr>
  <IncomeDocumentURL>sample string 7</IncomeDocumentURL>
  <IncomeSourceType>sample string 4</IncomeSourceType>
  <IncomeSourceTypeID>2</IncomeSourceTypeID>
  <IncomeSourceTypeSelected>sample string 3</IncomeSourceTypeSelected>
  <IsActive>true</IsActive>
  <IsDeleted>true</IsDeleted>
  <LogId>1</LogId>
  <MonthlyIncome>5</MonthlyIncome>
  <PeriodYear>8</PeriodYear>
  <PersonalIncomeID>1</PersonalIncomeID>
  <TotalIncome>6</TotalIncome>
  <UpdatedBy>12</UpdatedBy>
  <UserProfileID>1</UserProfileID>
</Personal_IncomeDetailModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Result
NameDescriptionTypeAdditional information
Status

ResultStatus

None.

Message

string

None.

Data

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": 100,
  "Message": "sample string 1",
  "Data": {}
}

application/xml, text/xml

Sample:
<Result xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessAccessLayer.Generics">
  <Data />
  <Message>sample string 1</Message>
  <Status>Success</Status>
</Result>