POST api/ui/customerclaim/marriage/insert

Request Information

URI Parameters

None.

Body Parameters

MarriageClaim
NameDescriptionTypeAdditional information
FromClaimId

integer

None.

SpouseTitle

string

None.

SpouseFirstName

string

None.

SpouseSurname

string

None.

DateOfMarriage

date

None.

ClaimId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "FromClaimId": 1,
  "SpouseTitle": "sample string 2",
  "SpouseFirstName": "sample string 3",
  "SpouseSurname": "sample string 4",
  "DateOfMarriage": "2020-10-20T01:35:28.8216781",
  "ClaimId": 1
}

application/xml, text/xml

Sample:
<MarriageClaim xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TaxRebate.TaxRefunds">
  <ClaimId>1</ClaimId>
  <DateOfMarriage>2020-10-20T01:35:28.8216781+01:00</DateOfMarriage>
  <FromClaimId>1</FromClaimId>
  <SpouseFirstName>sample string 3</SpouseFirstName>
  <SpouseSurname>sample string 4</SpouseSurname>
  <SpouseTitle>sample string 2</SpouseTitle>
</MarriageClaim>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.