POST api/SaveIncomeSurveyHouseholdMember

Request Information

URI Parameters

None.

Body Parameters

IncomeSurveyHouseholdMemberRequest
NameDescriptionTypeAdditional information
SurveyId

integer

None.

Name

string

None.

NoIncome

boolean

None.

PersonId

globally unique identifier

None.

IncomeTypeId

integer

None.

Amount

decimal number

None.

IncomePeriodCd

string

None.

IsActive

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "SurveyId": 1,
  "Name": "sample string 2",
  "NoIncome": true,
  "PersonId": "7120ff40-d59e-4a55-b783-e06589e61cb1",
  "IncomeTypeId": 5,
  "Amount": 6.0,
  "IncomePeriodCd": "sample string 7",
  "IsActive": true
}

application/xml, text/xml

Sample:
<IncomeSurveyHouseholdMemberRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cybersoft.Primero.OnlineFRE.APIs.Models.IncomeSurveys">
  <Amount>6</Amount>
  <IncomePeriodCd>sample string 7</IncomePeriodCd>
  <IncomeTypeId>5</IncomeTypeId>
  <IsActive>true</IsActive>
  <Name>sample string 2</Name>
  <NoIncome>true</NoIncome>
  <PersonId>7120ff40-d59e-4a55-b783-e06589e61cb1</PersonId>
  <SurveyId>1</SurveyId>
</IncomeSurveyHouseholdMemberRequest>

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

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
1

application/xml, text/xml

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