LogoLogo
  • Introduction
  • Authentication
  • Endpoints
    • Content
    • Quote
    • Status
    • Update
    • Purchase
    • Cancel
    • InstantBooking
    • Update Customer
    • Notifications/list
    • Notification/update
    • GetAllPurchasedPolicies
    • GetAllCancelledPolicies
    • CoverOptOut
    • Invoice
  • Webhook
    • HMAC Verification
    • Events
      • Cancellation Event
  • Testing
  • Errors
    • Quote Errors
    • Purchase Errors
    • Cancel Errors
  • Supported Currencies
  • Supported Languages
  • Supported Regions
  • Non-API Functions
Powered by GitBook
On this page
  • Request Parameters
  • Response Attributes
  1. Endpoints

Content

PreviousEndpointsNextQuote

Last updated 1 year ago

The Content endpoint enables the RentalCover server to return formatted and unformatted content modules based on a given booking reference.

Endpoint: /insurances/content

Method: POST

curl -i -X POST \
-H "X_API_KEY: [my-api-key]" \
-H "Content-Type: application/json" \
-d '{"LanguageCode":"en","AgentReference":"AB12-345C-INS"}' \
https://api-staging.rentalcover.com/insurances/content
{
   "-PartnerContent":{
      "AcceptCover":"Yes, I'd like to purchase TEST - Collision Damage Coverage for US$12.00 per day.<br>",
      "BookButton1With":"Reserve My Rental Car",
      "BookButton1Without":"Reserve My Rental Car",
      "RefuseCover":"No, thanks.",
      "SectionHeader":"Add Collision Damage Waiver (CDW) & Theft Coverage",
      "CancellationHeader":"Important: You have insurance that is valid for any rental",
      "CancellationBody":"Your insurance can be used with any rental from any rental company from 2016-09-19 to 2016-09-19. Click 'cancel' if you are no longer hiring a car",
      "ToQualify":"To qualify, I am a resident of:"
   },
   "PoweredByText":"Powered by",
   "RCLogo2":"https://www.rentalcover.com/RCLogo.png",
   "SectionHeader":"Add Collision Damage Waiver (CDW) & Theft Coverage",
   "ClaimsText":"Claims",
   "InsurerLogo":"https://s3-ap-southeast-2.amazonaws.com/welovetravel-data/suppliers/aonLogo.png",
   "Include":"Include",
   "DefaultCheck":false,
   "-Supplier":{
      "Disclaimer":"I agree to purchase Collision Damage Insurance. I have read, accept and agree to the <a href='http://staging.rentalcover.com/pds/AB12-345C-INS' target='_blank'>Terms & Conditions of Cover</a>.",
      "Disclaimer2":""
   },
   "-Policy":{
      "InsuranceCoverAmountFormatted":"US$35,000.00",
      "InsuranceCoverAmount":"35000.00",
      "DailyAmountFormatted":"US$12.00",
      "DailyAmount":12,
      "TotalAmountFormatted":"US$12.00",
      "TotalAmount":"12.00",
      "PerDayText":"per day",
      "Name":"TEST - Collision Damage Coverage",
      "Type":"RoadsideAssistance",
      "Code":"destinationusa75",
      "CoverAmountText":"US$35,000.00 cover for all types of damage",
      "BubbleText2":"95% of users add this <br>",
      "LDWIncluded":"dont_show",
      "CDWIncluded":true,
      "SLIIncluded":"dont_show",
      "WHTIncluded":"dont_show",
      "TheftIncluded":"dont_show",
      "RoadsideIncluded":"dont_show",
      "LossofuseIncluded":"dont_show",
      "CreditcardfeesIncluded":"dont_show",
      "KeylosslockouIncluded":"dont_show",
      "TowingimpoundIncluded":"dont_show",
      "MisfuelingIncluded":"dont_show",
      "ShortDescription":"Here's where we put the product Short Description",
      "MobileShortDescription":"Here's where we put the product Mobile Short Description",
      "Description":"Here's where we put the product Full Description",
      "Inclusions":[
         "Inclusion1",
         "Inclusion2",
         "Inclusion3"
      ],
      "CheckboxImage":"https://s3-ap-southeast-2.amazonaws.com/rentalcover-data/img/checkbox.png",
      "UnderwrittenBy":"Underwritten By",
      "UnderwritterLogo":"https://www.rentalcover.com/RCLogo.png",
      "PDSWordingText":"View Policy Wording",
      "PdsUrl":"http://files.rentalcover.com/pds/axa_PDS_usinbound.pdf"
   },
   "-ComparisonPolicy":{
      "SupplierName":"Hertz",
      "LDWIncludedHeader":"Loss Damage Waiver (LDW)",
      "LDWIncludedSubheader":"This rental comes with LDW so there is no deductible excess for damages, theft etc.",
      "LDWIncludedText":"LDW (Loss Damage Waiver) removes the deductible excess for damages & theft however there are 'out of pocket' costs that renters still face including towing, roadside repairs, key loss & other items below.",
      "CDWIncludedHeader":"Collision Damage Waiver (CDW)",
      "CDWIncludedSubheader":"Nil deductible excess payable for damages",
      "CDWIncludedText":"CDW (Collision Damage Waiver) removes any deductible excess so $0 is payable for damages/repairs. CDW does not cover theft or vandalism.",
      "SLIIncludedHeader":"Supplementary Liability Insurance",
      "SLIIncludedSubheader":"Insures against 3rd party claims",
      "SLIIncludedText":"SLI (Supplementary Liability Insurance) covers third party property (i.e. other cars or property damaged by your car) and injuries to other drivers, their passengers & pedestrians.",
      "WHTIncludedHeader":"Windscreen, headlight & tyre repairs/replacement",
      "WHTIncludedText":"Windscreen and tyre replacement or repair is the largest additional cost faced by renters once they leave the depot.",
      "TheftHeader":"Theft",
      "RoadsideHeader":"Roadside Repairs & Costs",
      "RoadsideIncludedText":"Roadside repairs include common costs such as battery replacement & labour costs for tyre replacement.",
      "LossofuseHeader":"Loss Of Use Fees",
      "LossofuseIncludedText":"“Loss of use” costs are commonly applied while the vehicle is off the road being repaired because the rental company is unable to rent the vehicle.",
      "CreditcardfeesHeader":"Credit Card & Admin Fees",
      "CreditcardfeesIncludedText":"Card fees are typically applied to incidentals such as towing, impound storage, loss of use, key loss etc.",
      "KeylosslockoutHeader":"Key loss & lockout costs",
      "KeylosslockoutIncludedText":"Costs from key loss can be significant as key programming is often required, plus roadside assistance, temporary keys, replacement keys etc.",
      "TowingimpoundHeader":"Towing & Impound Fees",
      "TowingimpoundIncludedText":"Towing & impound storage costs are often expensive. Average cost is $380 for towing & $120/day for impounding.",
      "MisfuelingHeader":"Misfueling",
      "AllIncludedHeader":"Car booking includes checked items only",
      "Shortname":"Damage Waiver",
      "LDWIncluded":"dont_show",
      "CDWIncluded":"dont_show",
      "SLIIncluded":"dont_show",
      "WHTIncluded":"dont_show",
      "TheftIncluded":"dont_show",
      "RoadsideIncluded":"dont_show",
      "LossofuseIncluded":"dont_show",
      "CreditcardfeesIncluded":"dont_show",
      "KeylosslockouIncluded":"dont_show",
      "TowingimpoundIncluded":"dont_show",
      "MisfuelingIncluded":"dont_show",
      "SupplierLogo":"https://s3-ap-southeast-2.amazonaws.com/welovetravel-data/suppliers/hertz.png",
      "Exclusions":"The supplier's policies do not cover loss/damages to: <ul> <li>Broken/lost keys</li> <li>Neverlost navigation</li> <li>Roadside Assistance- related costs</li> </ul> The above are covered by RentalCover.com.",
      "ExcessPayablePriceText":"Payable if cause of damage is 'excluded'",
      "FromPriceFormatted":"US$42.00",
      "FromPrice":"42.00",
      "ToPriceFormatted":"US$0.00",
      "ToPrice":"0.00"
   }
}

Request Parameters

AgentReference string required

The booking Reference returned in the Quote endpoint.

LanguageCode string [2] default is en

Preferred language code.

Important Note Re: Logo Use For compliance all logos must be called dynamically (PoweredByLogo, RCLogo, RCLogo2, InsurerLogo etc). The same applies for all other text.For design purposes logos can be pulled from .

Response Attributes

The PartnerContent property can contain many field names and descriptions that are specific to each partner, please contact your account manager to obtain the list of possible fields. Here`s the full PartnerContent list.

PartnerContent.BookButton1With string

Go to Book button.

PartnerContent.BookButton1Without string

Go to Book button.

PartnerContent.BookButton2With string

Book with Extra Cover button.

PartnerContent.BookButton2Without string

Book without Extra Cover button.

PartnerContent.BookNowDescription string

Book now with Extra Cover from RentalCover.

PartnerContent.NoRentalProtection string

No Rental Protection.

PartnerContent.NoRentalProtectionDescription string

Book without additional protection for your rental.

PartnerContent.YourRentalProtected string

Your rental protected Only AU$9.34 per day.

PartnerContent.SectionHeader string

Extra Cover for your USA rental – Excellent Value, Best Cover, Peace of Mind.

RCLogo2string

RentalCover logo.

SectionHeader string

Same as one present under PartnerContent.SectionHeader (Note: this will be removed soon. Please use the sectionHeader from PartnerContent).

InsurerLogo string

Insurer logo.

Include string

Include text in comparison table.

DefaultCheck boolean

false: if policy is non-US, non-EU true: anything other than US, EU.

Supplier.Disclaimer string

Disclaimer 1.

Supplier.Disclaimer2 string

Disclaimer 2.

Policy.InsuranceCoverAmountFormatted string

Formatted total cover amount.

Policy.InsuranceCoverAmount string

Unformatted total cover amount.

Policy.DailyAmountFormatted string

Formatted daily amount.

Policy.DailyAmount string

Non formatted daily amount.

Policy.TotalAmountFormatted string

Formatted total amount.

Policy.TotalAmount string

Non formatted total amount.

Policy.PerDayText string

Pay per day text.

Policy.Name string

Name of the policy.

Policy.Type string

Type of policy.

Policy.CoverAmountText string

Cover amount text.

Policy.BubbleText2 string

Bubble text to be used in comparison table.

Policy.LDWIncluded string

Possible values: Supplier Specific text OR dont_show

Policy.CDWIncluded string

Possible values: Supplier specific text OR dont_show

Policy.SLIIncluded string

Possible values: true, false, dont_show

Policy.WHTIncluded string

Possible values: true, false, dont_show

Policy.TheftIncluded string

Possible values: true, false, dont_show

Policy.RoadsideIncluded string

Possible values: true, false, dont_show

Policy.LossofuseIncluded string

Possible values: true, false, dont_show

Policy.CreditcardfeesIncluded string

Possible values: true, false, dont_show

Policy.KeylosslockoutIncluded string

Possible values: true, false, dont_show

Policy.TowingimpoundIncluded string

Possible values: true, false, dont_show

Policy.MisfuelingIncluded string

N/A

Policy.ShortDescription string

Short description from policy.

Policy.MobileShortDescription string

Mobile version of short description.

Policy.Inclusions array

Different inclusions as an array.

Policy.SpecialMessage string

Any special messages related to the policy will be passed through this field.

Policy.CheckboxImage string

Checkbox images to be used in comparison table.

Policy.UnderwrittenBy string

Underwritten by text.

Policy.UnderwritterLogo string

Underwriter logo.

Policy.PDSWordingText string

View policy wording text.

ComparisonPolicy.SupplierName string

Comparison policy supplier name.

ComparisonPolicy.LDWIncludedHeader string

LDW included header.

ComparisonPolicy.LDWIncludedSubheader string

LDW included sub header.

ComparisonPolicy.LDWIncludedText string

LDW included text.

ComparisonPolicy.CDWIncludedHeader string

CDW included header.

ComparisonPolicy.CDWIncludedSubheader string

CDW included subheader.

ComparisonPolicy.CDWIncludedText string

CDW included text.

ComparisonPolicy.SLIIncludedHeader string

SLI included header.

ComparisonPolicy.SLIIncludedSubheader string

SLI included subheader.

ComparisonPolicy.SLIIncludedText string

SLI included text.

ComparisonPolicy.WHTIncludedHeader string

WHT included header.

ComparisonPolicy.WHTIncludedText string

WHT included text.

ComparisonPolicy.TheftHeader string

Theft header.

ComparisonPolicy.RoadsideHeader string

Roadside header.

ComparisonPolicy.RoadsideIncludedText string

Roadside included text.

ComparisonPolicy.LossofuseHeader string

Loss of use header.

ComparisonPolicy.LossofuseIncludedText string

Loss of use included text.

ComparisonPolicy.CreditcardfeesHeader string

Credit card fees header text.

ComparisonPolicy.CreditcardfeesIncludedText string

Credit card fees included text.

ComparisonPolicy.KeylosslockoutHeader string

Key loss lock out header text.

ComparisonPolicy.KeylosslockoutIncludedText string

Key loss lock out included text.

ComparisonPolicy.TowingimpoundHeader string

Towing impound header text.

ComparisonPolicy.TowingimpoundIncludedText string

Towing impound included text.

ComparisonPolicy.MisfuelingHeader string

Misfueling header.

ComparisonPolicy.AllIncludedHeader string

All included header text.

ComparisonPolicy.Shortname string

Short name.

ComparisonPolicy.LDWIncluded string

Possible values: true , false , dont_show

ComparisonPolicy.CDWIncluded string

Possible values: true, false, dont_show

ComparisonPolicy.SLIIncluded string

Possible values: true, false, dont_show

ComparisonPolicy.WHTIncluded string

Possible values: true, false, dont_show

ComparisonPolicy.TheftIncluded string

Possible values: true, false, dont_show

ComparisonPolicy.RoadsideIncluded string

Possible values: true, false, dont_show

ComparisonPolicy.LossofuseIncluded string

Possible values: true, false, dont_show

ComparisonPolicy.CreditcardfeesIncluded string

Possible values: true, false, dont_show

ComparisonPolicy.KeylosslockoutIncluded string

Possible values: true, false, dont_show

ComparisonPolicy.TowingimpoundIncluded string

Possible values: true, false, dont_show

ComparisonPolicy.MisfuelingIncluded string

Possible values: true, false, dont_show

ComparisonPolicy.SupplierLogo string

Supplier logo.

ComparisonPolicy.Exclusions string

Exclusions.

ComparisonPolicy.ExcessPayablePriceText string

Excess payable price text.

ComparisonPolicy.FromPrice string

From price.

ComparisonPolicy.FromPriceFormatted string

Formatted from price.

ComparisonPolicy.ToPrice string

To price.

ComparisonPolicy.ToPriceFormatted string

Formatted to price.

this box link