POST api/exportinternal/customer/mailto/{username}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
username

string

Required

Body Parameters

CustomerSearch
NameDescriptionTypeAdditional information
ThirdPartyClaim

boolean

None.

ClaimReference

string

None.

ExternalReference

string

None.

InternalReference

integer

None.

NINumber

string

None.

EmailAddress

string

None.

FirstName

string

None.

Surname

string

None.

Postcode

string

None.

FromDate

date

None.

ToDate

date

None.

ClaimStatus

integer

None.

BrandType

integer

None.

Brand

integer

None.

ThirdPartyType

string

None.

HasGoneawaysData

boolean

None.

HasAddressReminders

boolean

None.

HasPaidRecords

boolean

None.

FormsReturned

boolean

None.

OptedInThirdParty

boolean

None.

NoFurtherClaimContact

boolean

None.

OptedInFirstParty

boolean

None.

AcceptedTerms

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "ThirdPartyClaim": true,
  "ClaimReference": "sample string 2",
  "ExternalReference": "sample string 3",
  "InternalReference": 4,
  "NINumber": "sample string 5",
  "EmailAddress": "sample string 6",
  "FirstName": "sample string 7",
  "Surname": "sample string 8",
  "Postcode": "sample string 9",
  "FromDate": "2019-10-21T09:23:40.1565288",
  "ToDate": "2019-10-21T09:23:40.1565288",
  "ClaimStatus": 12,
  "BrandType": 13,
  "Brand": 14,
  "ThirdPartyType": "sample string 15",
  "HasGoneawaysData": true,
  "HasAddressReminders": true,
  "HasPaidRecords": true,
  "FormsReturned": true,
  "OptedInThirdParty": true,
  "NoFurtherClaimContact": true,
  "OptedInFirstParty": true,
  "AcceptedTerms": true
}

application/xml, text/xml

Sample:
<CustomerSearch xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TaxRebate.TaxRefunds">
  <AcceptedTerms>true</AcceptedTerms>
  <Brand>14</Brand>
  <BrandType>13</BrandType>
  <ClaimReference>sample string 2</ClaimReference>
  <ClaimStatus>12</ClaimStatus>
  <EmailAddress>sample string 6</EmailAddress>
  <ExternalReference>sample string 3</ExternalReference>
  <FirstName>sample string 7</FirstName>
  <FormsReturned>true</FormsReturned>
  <FromDate>2019-10-21T09:23:40.1565288+01:00</FromDate>
  <HasAddressReminders>true</HasAddressReminders>
  <HasGoneawaysData>true</HasGoneawaysData>
  <HasPaidRecords>true</HasPaidRecords>
  <InternalReference>4</InternalReference>
  <NINumber>sample string 5</NINumber>
  <NoFurtherClaimContact>true</NoFurtherClaimContact>
  <OptedInFirstParty>true</OptedInFirstParty>
  <OptedInThirdParty>true</OptedInThirdParty>
  <Postcode>sample string 9</Postcode>
  <Surname>sample string 8</Surname>
  <ThirdPartyClaim>true</ThirdPartyClaim>
  <ThirdPartyType>sample string 15</ThirdPartyType>
  <ToDate>2019-10-21T09:23:40.1565288+01:00</ToDate>
</CustomerSearch>

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

Response Information

Resource Description

None.