POST api/ui/modclaim/insert

Request Information

URI Parameters

None.

Body Parameters

MODClaim
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.

CompletedPhaseOneTraining

boolean

None.

PostedToBaseTwoYearsOrLess

boolean

None.

UseOwnVehicle

boolean

None.

BrandId

integer

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",
  "CompletedPhaseOneTraining": true,
  "PostedToBaseTwoYearsOrLess": true,
  "UseOwnVehicle": true,
  "BrandId": 15
}

application/xml, text/xml

Sample:
<MODClaim 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>
  <CompletedPhaseOneTraining>true</CompletedPhaseOneTraining>
  <County>sample string 11</County>
  <CustomerId>2</CustomerId>
  <EmailAddress>sample string 7</EmailAddress>
  <FirstName>sample string 5</FirstName>
  <ID>1</ID>
  <MobileNumber>sample string 13</MobileNumber>
  <Postcode>sample string 12</Postcode>
  <PostedToBaseTwoYearsOrLess>true</PostedToBaseTwoYearsOrLess>
  <Surname>sample string 6</Surname>
  <Title>sample string 4</Title>
  <UseOwnVehicle>true</UseOwnVehicle>
</MODClaim>

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

Response Information

Resource Description

None.