Created
July 22, 2020 06:26
-
-
Save naveenvm93/b8936b2ffc1275f6c9380bf2dea4546e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%%[ | |
SET @reservation_number = AttributeValue("reservation_number") | |
SET @handover_date = Format(AttributeValue("handover_date"),"yyyy-MM-ddTHH:mm:ss") | |
SET @return_date = Format(AttributeValue("return_date"),"yyyy-MM-ddTHH:mm:ss") | |
SET @vehicle_group = AttributeValue("vehicle_group") | |
SET @first_name = ProperCase(AttributeValue("first_name")) | |
SET @last_name = ProperCase(AttributeValue("last_name")) | |
Set @full_name = concat(@first_name,' ',@last_name) | |
Set @PickupAddressName = AttributeValue("PickupAddressName") | |
Set @PickupAddressName2 = AttributeValue("PickupAddressName2") | |
Set @PickupPostalCode = AttributeValue("PickupPostalCode") | |
Set @PickupCity = AttributeValue("PickupCity") | |
Set @PickupCountry = AttributeValue("PickupCountry") | |
Set @PickupState = AttributeValue("PickupState") | |
Set @ReturnAddressName = AttributeValue("ReturnAddressName") | |
Set @ReturnAddressName2 = AttributeValue("ReturnAddressName2") | |
Set @ReturnPostalCode = AttributeValue("ReturnPostalCode") | |
Set @ReturnCity = AttributeValue("ReturnCity") | |
Set @ReturnCountry = AttributeValue("ReturnCountry") | |
Set @ReturnState = AttributeValue("ReturnState") | |
Set @ModifyReservationURL = AttributeValue("ModifyReservationURL") | |
]%% | |
<div itemscope="" itemtype="http://schema.org/RentalCarReservation"> | |
<meta itemprop="reservationNumber" content="%%=v(@reservation_number)=%%"> | |
<link itemprop="reservationStatus" href="http://schema.org/Confirmed"> | |
<div itemprop="underName" itemscope="" itemtype="http://schema.org/Person"> | |
<meta itemprop="name" content="%%=v(@full_name)=%%"> | |
</div> | |
<div itemprop="reservationFor" itemscope="" itemtype="http://schema.org/RentalCar"> | |
<meta itemprop="name" content="%%=v(@vehicle_group)=%%"> | |
<meta itemprop="model" content="Civic"> | |
<div itemprop="brand" itemscope="" itemtype="http://schema.org/Brand"> | |
<meta itemprop="name" content="Honda"> | |
</div> | |
<div itemprop="rentalCompany" itemscope="" itemtype="http://schema.org/Organization"> | |
<meta itemprop="name" content="SIXT"> | |
</div> | |
</div> | |
<div itemprop="pickupLocation" itemscope="" itemtype="http://schema.org/Place"> | |
<meta itemprop="name" content="%%=v(@PickupAddressName)=%%"> | |
<div itemprop="address" itemscope="" itemtype="http://schema.org/PostalAddress"> | |
<meta itemprop="streetAddress" content="%%=v(@PickupAddressName2)=%%"> | |
<meta itemprop="addressLocality" content="%%=v(@PickupCity)=%%"> | |
<meta itemprop="addressRegion" content="%%=v(@PickupState)=%%"> | |
<meta itemprop="postalCode" content="%%=v(@PickupPostalCode)=%%"> | |
<meta itemprop="addressCountry" content="%%=v(@PickupCountry)=%%"> | |
</div> | |
<meta itemprop="telephone" content="9989989898"> | |
</div> | |
<meta itemprop="pickupTime" content="%%=v(@handover_date)=%%"> | |
<div itemprop="dropoffLocation" itemscope="" itemtype="http://schema.org/Place"> | |
<meta itemprop="name" content="%%=v(@ReturnAddressName)=%%"> | |
<div itemprop="address" itemscope="" itemtype="http://schema.org/PostalAddress"> | |
<meta itemprop="streetAddress" content="%%=v(@ReturnAddressName2)=%%"> | |
<meta itemprop="addressLocality" content="%%=v(@ReturnAddressName2)=%%"> | |
<meta itemprop="addressRegion" content="%%=v(@ReturnState)=%%"> | |
<meta itemprop="postalCode" content="%%=v(@ReturnPostalCode)=%%"> | |
<meta itemprop="addressCountry" content="%%=v(@ReturnCountry)=%%"> | |
</div> | |
<meta itemprop="telephone" content="9989989898"> | |
</div> | |
<meta itemprop="dropoffTime" content="%%=v(@return_date)=%%"> | |
<div itemprop="potentialAction" itemscope="" itemtype="http://schema.org/ConfirmAction"> | |
<link itemprop="target" href="https://www.sixt.com/"> | |
</div> | |
<meta itemprop="modifiedTime" content="2027-08-05T16:00:00-07:00"> | |
<meta itemprop="modifyReservationUrl" content="%%=v(@ModifyReservationURL)=%%"> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment