Generate Date is an API Builder tag, which allows sending dates that are mandatory in buyer specification but are not included in PX vertical specification (mostly used in Life and Home Security Verticals).
Generate Date value is calculated based on the Lead creation date.
Generate Date Examples
1. Expiration Date Parameter in Life Vertical
Buyer specification in Life vertical contains mandatory ExpirationDate parameter, which means the date when the current insurance policy expires. According to buyer requirements, this date must be not later than 30 days after the lead creation date.
However, there is no such parameter in PX specification, so users do not specify this information in the lead. In this case, Generate Date tag can be used.
To configure it, follow these steps (XML example):
1. Enter ExpirationDate tag, put { and select Generate date tag:
2. On Mapping Panel, select the necessary Date Format and configure the period requirement specified by entering + 0 years and 01 months into Default Value field:
According to this mapping, all leads in Life vertical will show the configured value, and buyer API will get the required field.
2. Birth Date Parameter in Home Security Vertical
Buyer specification in Home Security vertical contains mandatory BirthDate parameter, which means the date when current insurance policy expires. According to buyer requirements, the person must be at least 25 years old.
However, there is no such parameter in PX specification for Home Security vertical, so users do not specify this information in the lead. In this case, Generate Date tag can be used.
To configure it, follow these steps (XML example):
1. Enter BirthDate tag, put { and select Generate date tag:
2. On Mapping Panel, select the necessary Date Format and configure the period requirement specified by entering - 25 years and 00 months into Default Value field:
According to this mapping, all leads in Home Security vertical will show that the person was born 25 years before the lead creation date, and buyer API will get the required field.
0 comments
Please sign in to leave a comment.