POST api/ProgramApplicationHouseholdLetterInsertUpdate

Request Information

URI Parameters

None.

Body Parameters

ProgramApplicationHouseHoldLetterModel
NameDescriptionTypeAdditional information
LanguageId

integer

None.

Letter

Collection of byte

None.

LetterName

string

None.

ProgramId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "LanguageId": 1,
  "Letter": "QEA=",
  "LetterName": "sample string 2",
  "ProgramId": 3
}

application/xml, text/xml

Sample:
<ProgramApplicationHouseHoldLetterModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cybersoft.Primero.OnlineFRE.APIs.Models.HouseHoldLetter">
  <LanguageId>1</LanguageId>
  <Letter>QEA=</Letter>
  <LetterName>sample string 2</LetterName>
  <ProgramId>3</ProgramId>
</ProgramApplicationHouseHoldLetterModel>

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

Response Information

Resource Description

JsonResponseModel
NameDescriptionTypeAdditional information
Id

integer

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Message": "sample string 2"
}

application/xml, text/xml

Sample:
<JsonResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cybersoft.Primero.OnlineFRE.APIs.Models">
  <Id>1</Id>
  <Message>sample string 2</Message>
</JsonResponseModel>