PUT api/ManufacturerRenewals/SaveTokenInJpmc

Request Information

URI Parameters

None.

Body Parameters

DtoJpmcTokenDetails
NameDescriptionTypeAdditional information
Id

integer

None.

CustomerId

integer

None.

DHPPId

integer

None.

Guid

string

None.

TokenNo

string

None.

TransactionSecret

string

None.

Vehicle

string

None.

CoverType

string

None.

PaymentOption

string

None.

ExpiryMonth

string

None.

Currency

string

None.

AmountDisplay

string

None.

CardHolder

string

None.

CardTypeId

string

None.

CardNumber

string

None.

ExpiryDateMM

string

None.

MerchantSubAccount

string

None.

MembershipNumber

string

None.

UniquePaymentReference

string

None.

CreditCardProductReference

string

None.

StartDate

date

None.

Amount

decimal number

None.

Price

decimal number

None.

AmountAsPence

decimal number

None.

IssueNumber

byte

None.

AgreeToTerms

boolean

None.

ExpiryDateYY

string

None.

BrandUrlId

integer

None.

ProposalId

integer

None.

QuoteId

integer

None.

PrimaryEmail

string

None.

CoverDetails

string

None.

CustomerName

string

None.

Make

string

None.

Model

string

None.

VIN

string

None.

FirstName

string

None.

LastName

string

None.

Postcode

string

None.

Address1

string

None.

Address2

string

None.

Address3

string

None.

Town

string

None.

County

string

None.

PhoneNumber

string

None.

MobileNumber

string

None.

Email

string

None.

QasToken

string

None.

Title

integer

None.

IsContinuousCreditCard

boolean

None.

ExpiryDate

date

None.

CustomerRefNum

string

None.

ApplyDiscount

boolean

None.

IsTokenSessionValid

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "CustomerId": 2,
  "DHPPId": 3,
  "Guid": "sample string 4",
  "TokenNo": "sample string 5",
  "TransactionSecret": "sample string 6",
  "Vehicle": "sample string 7",
  "CoverType": "sample string 8",
  "PaymentOption": "sample string 9",
  "ExpiryMonth": "sample string 10",
  "Currency": "sample string 11",
  "AmountDisplay": "sample string 12",
  "CardHolder": "sample string 13",
  "CardTypeId": "sample string 14",
  "CardNumber": "sample string 15",
  "ExpiryDateMM": "sample string 16",
  "MerchantSubAccount": "sample string 17",
  "MembershipNumber": "sample string 18",
  "UniquePaymentReference": "sample string 19",
  "CreditCardProductReference": "sample string 20",
  "StartDate": "2025-01-09T15:38:02.5897666+00:00",
  "Amount": 22.0,
  "Price": 23.0,
  "AmountAsPence": 24.0,
  "IssueNumber": 64,
  "AgreeToTerms": true,
  "ExpiryDateYY": "sample string 26",
  "BrandUrlId": 27,
  "ProposalId": 1,
  "QuoteId": 28,
  "PrimaryEmail": "sample string 29",
  "CoverDetails": "sample string 30",
  "CustomerName": "sample string 31",
  "Make": "sample string 32",
  "Model": "sample string 33",
  "VIN": "sample string 34",
  "FirstName": "sample string 35",
  "LastName": "sample string 36",
  "Postcode": "sample string 37",
  "Address1": "sample string 38",
  "Address2": "sample string 39",
  "Address3": "sample string 40",
  "Town": "sample string 41",
  "County": "sample string 42",
  "PhoneNumber": "sample string 43",
  "MobileNumber": "sample string 44",
  "Email": "sample string 45",
  "QasToken": "sample string 46",
  "Title": 47,
  "IsContinuousCreditCard": true,
  "ExpiryDate": "2025-01-09T15:38:02.5897666+00:00",
  "CustomerRefNum": "sample string 50",
  "ApplyDiscount": true,
  "IsTokenSessionValid": true
}

application/xml, text/xml

Sample:
<DtoJpmcTokenDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TheAA.Bcas.Dto">
  <Address1>sample string 38</Address1>
  <Address2>sample string 39</Address2>
  <Address3>sample string 40</Address3>
  <AgreeToTerms>true</AgreeToTerms>
  <Amount>22</Amount>
  <AmountAsPence>24</AmountAsPence>
  <AmountDisplay>sample string 12</AmountDisplay>
  <ApplyDiscount>true</ApplyDiscount>
  <BrandUrlId>27</BrandUrlId>
  <CardHolder>sample string 13</CardHolder>
  <CardNumber>sample string 15</CardNumber>
  <CardTypeId>sample string 14</CardTypeId>
  <County>sample string 42</County>
  <CoverDetails>sample string 30</CoverDetails>
  <CoverType>sample string 8</CoverType>
  <CreditCardProductReference>sample string 20</CreditCardProductReference>
  <Currency>sample string 11</Currency>
  <CustomerId>2</CustomerId>
  <CustomerName>sample string 31</CustomerName>
  <CustomerRefNum>sample string 50</CustomerRefNum>
  <DHPPId>3</DHPPId>
  <Email>sample string 45</Email>
  <ExpiryDate>2025-01-09T15:38:02.5897666+00:00</ExpiryDate>
  <ExpiryDateMM>sample string 16</ExpiryDateMM>
  <ExpiryDateYY>sample string 26</ExpiryDateYY>
  <ExpiryMonth>sample string 10</ExpiryMonth>
  <FirstName>sample string 35</FirstName>
  <Guid>sample string 4</Guid>
  <Id>1</Id>
  <IsContinuousCreditCard>true</IsContinuousCreditCard>
  <IsTokenSessionValid>true</IsTokenSessionValid>
  <IssueNumber>64</IssueNumber>
  <LastName>sample string 36</LastName>
  <Make>sample string 32</Make>
  <MembershipNumber>sample string 18</MembershipNumber>
  <MerchantSubAccount>sample string 17</MerchantSubAccount>
  <MobileNumber>sample string 44</MobileNumber>
  <Model>sample string 33</Model>
  <PaymentOption>sample string 9</PaymentOption>
  <PhoneNumber>sample string 43</PhoneNumber>
  <Postcode>sample string 37</Postcode>
  <Price>23</Price>
  <PrimaryEmail>sample string 29</PrimaryEmail>
  <ProposalId>1</ProposalId>
  <QasToken>sample string 46</QasToken>
  <QuoteId>28</QuoteId>
  <StartDate>2025-01-09T15:38:02.5897666+00:00</StartDate>
  <Title>47</Title>
  <TokenNo>sample string 5</TokenNo>
  <Town>sample string 41</Town>
  <TransactionSecret>sample string 6</TransactionSecret>
  <UniquePaymentReference>sample string 19</UniquePaymentReference>
  <VIN>sample string 34</VIN>
  <Vehicle>sample string 7</Vehicle>
</DtoJpmcTokenDetails>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
1

application/xml, text/xml

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