POST api/ui/customerclaim/marriage/insert

Request Information

URI Parameters

None.

Body Parameters

MarriageClaim
NameDescriptionTypeAdditional information
FromClaimId

integer

None.

SpouseFirstName

string

None.

SpouseSurname

string

None.

DateOfMarriage

date

None.

ClaimId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "FromClaimId": 1,
  "SpouseFirstName": "sample string 2",
  "SpouseSurname": "sample string 3",
  "DateOfMarriage": "2020-06-05T07:41:08.8823274",
  "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-06-05T07:41:08.8823274+01:00</DateOfMarriage>
  <FromClaimId>1</FromClaimId>
  <SpouseFirstName>sample string 2</SpouseFirstName>
  <SpouseSurname>sample string 3</SpouseSurname>
</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.