POST api/ManufacturerRenewals/PayByDDAndActivate

Request Information

URI Parameters

None.

Body Parameters

ActivateWithDirectDebitDto
NameDescriptionTypeAdditional information
PromotionCode

string

None.

TemplateId

integer

None.

Customer

CustomerDetailsDto

None.

CoverStartDate

date

None.

CoverTerm

integer

None.

AccountNumber

string

None.

AccountName

string

None.

SortCode

string

None.

Vehicle

VehicleDto

None.

ConfirmationEmailTemplateName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "PromotionCode": "sample string 1",
  "TemplateId": 2,
  "Customer": {
    "SourceCode": "sample string 1",
    "ContactTitleId": 1,
    "ContactFirstName": "sample string 2",
    "ContactSurname": "sample string 3",
    "ContactEmail": "sample string 4",
    "ContactPhone": "sample string 5",
    "ContactMobile": "sample string 6",
    "CompanyName": "sample string 7",
    "AddressLine1": "sample string 8",
    "AddressLine2": "sample string 9",
    "AddressLine3": "sample string 10",
    "AddressLine4": "sample string 11",
    "AddressTown": "sample string 12",
    "AddressCounty": "sample string 13",
    "AddressCountryId": 14,
    "Postcode": "sample string 15",
    "CompanyQasToken": "sample string 16",
    "EffectiveDateProposed": "2025-01-09T15:49:45.9746269+00:00"
  },
  "CoverStartDate": "2025-01-09T15:49:45.9746269+00:00",
  "CoverTerm": 4,
  "AccountNumber": "sample string 5",
  "AccountName": "sample string 6",
  "SortCode": "sample string 7",
  "Vehicle": {
    "Registration": "sample string 1",
    "Make": "sample string 2",
    "Model": "sample string 3",
    "Vin": "sample string 4"
  },
  "ConfirmationEmailTemplateName": "sample string 8"
}

application/xml, text/xml

Sample:
<ActivateWithDirectDebitDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TheAA.Bcas.Dto">
  <AccountName>sample string 6</AccountName>
  <AccountNumber>sample string 5</AccountNumber>
  <ConfirmationEmailTemplateName>sample string 8</ConfirmationEmailTemplateName>
  <CoverStartDate>2025-01-09T15:49:45.9746269+00:00</CoverStartDate>
  <CoverTerm>4</CoverTerm>
  <Customer>
    <AddressCountryId>14</AddressCountryId>
    <AddressCounty>sample string 13</AddressCounty>
    <AddressLine1>sample string 8</AddressLine1>
    <AddressLine2>sample string 9</AddressLine2>
    <AddressLine3>sample string 10</AddressLine3>
    <AddressLine4>sample string 11</AddressLine4>
    <AddressTown>sample string 12</AddressTown>
    <CompanyName>sample string 7</CompanyName>
    <CompanyQasToken>sample string 16</CompanyQasToken>
    <ContactEmail>sample string 4</ContactEmail>
    <ContactFirstName>sample string 2</ContactFirstName>
    <ContactMobile>sample string 6</ContactMobile>
    <ContactPhone>sample string 5</ContactPhone>
    <ContactSurname>sample string 3</ContactSurname>
    <ContactTitleId>1</ContactTitleId>
    <EffectiveDateProposed>2025-01-09T15:49:45.9746269+00:00</EffectiveDateProposed>
    <Postcode>sample string 15</Postcode>
    <SourceCode>sample string 1</SourceCode>
  </Customer>
  <PromotionCode>sample string 1</PromotionCode>
  <SortCode>sample string 7</SortCode>
  <TemplateId>2</TemplateId>
  <Vehicle>
    <Make>sample string 2</Make>
    <Model>sample string 3</Model>
    <Registration>sample string 1</Registration>
    <Vin>sample string 4</Vin>
  </Vehicle>
</ActivateWithDirectDebitDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

boolean

Response Formats

application/json, text/json

Sample:
true

application/xml, text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>