POST api/ui/saclaim/insert

Request Information

URI Parameters

None.

Body Parameters

SelfAssessedClaim
NameDescriptionTypeAdditional information
ID

integer

None.

CustomerId

integer

None.

ClaimId

integer

None.

Title

string

None.

FirstName

string

None.

Surname

string

None.

EmailAddress

string

None.

Address1

string

None.

Address2

string

None.

Address3

string

None.

County

string

None.

Postcode

string

None.

MobileNumber

string

None.

AdditionalInfo

string

None.

BrandId

integer

None.

OtherExpenses

decimal number

None.

EstimatedClaim

decimal number

None.

WhoCompletes

string

None.

WhySelfAssessed

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "CustomerId": 2,
  "ClaimId": 3,
  "Title": "sample string 4",
  "FirstName": "sample string 5",
  "Surname": "sample string 6",
  "EmailAddress": "sample string 7",
  "Address1": "sample string 8",
  "Address2": "sample string 9",
  "Address3": "sample string 10",
  "County": "sample string 11",
  "Postcode": "sample string 12",
  "MobileNumber": "sample string 13",
  "AdditionalInfo": "sample string 14",
  "BrandId": 15,
  "OtherExpenses": 16.1,
  "EstimatedClaim": 17.1,
  "WhoCompletes": "sample string 18",
  "WhySelfAssessed": "sample string 19"
}

application/xml, text/xml

Sample:
<SelfAssessedClaim xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TaxRebate.TaxRefunds">
  <AdditionalInfo>sample string 14</AdditionalInfo>
  <Address1>sample string 8</Address1>
  <Address2>sample string 9</Address2>
  <Address3>sample string 10</Address3>
  <BrandId>15</BrandId>
  <ClaimId>3</ClaimId>
  <County>sample string 11</County>
  <CustomerId>2</CustomerId>
  <EmailAddress>sample string 7</EmailAddress>
  <EstimatedClaim>17.1</EstimatedClaim>
  <FirstName>sample string 5</FirstName>
  <ID>1</ID>
  <MobileNumber>sample string 13</MobileNumber>
  <OtherExpenses>16.1</OtherExpenses>
  <Postcode>sample string 12</Postcode>
  <Surname>sample string 6</Surname>
  <Title>sample string 4</Title>
  <WhoCompletes>sample string 18</WhoCompletes>
  <WhySelfAssessed>sample string 19</WhySelfAssessed>
</SelfAssessedClaim>

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

Response Information

Resource Description

None.