Placeholders for the Subscription entity
The following Placeholders are used for the Subscription entity.
Placeholder | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|
subscription.id | Subscription ID | ||||||||
subscription.name | Subscription name | ||||||||
subscription.status | Subscription status | ||||||||
subscription.start_date | Activation date of the Subscription | ||||||||
subscription.expiration_date | Expiration date of the Subscription (see Setting the Expiration Date of a Subscription) | ||||||||
subscription.auto_renewal | Boolean; the option for activating the automatic Subscription renewal (see Auto-Renewing a Subscription) | ||||||||
subscription.days_left | Number of days until the expiration date of the Subscription | ||||||||
subscription.days_passed | Number of days that have passed since the expiration date of the Subscription | ||||||||
subscription.trial | Boolean; Subscription available only for the trial period | ||||||||
subscription.account | Name of the Account, which ordered the Subscription | ||||||||
subscription.plan_class | Name of the Service Term (see Managing Service Terms) | ||||||||
subscription.plan | General information about the Plan: ID, name, description, status, Service Term ID (data will be separated by ";") | ||||||||
subscription.plan_period | General information about the Plan period: duration, trial, setup fee, recurring fee/ month, transfer fee, renewal fee, etc. (data will be separated by ";") | ||||||||
subscription.renewal_payment.receipt_url | Download link to the receipt (this link is used in the notification about the expiration of the Subscription) | ||||||||
subscription.trial.status | The Placeholder (boolean) for tracking the status (trial / no-trial) of the plan period, which is used for the "Subscription is changed" event. You can add this Placeholder to the event handler for the "Subscription is changed" event (for example, «subscription.trial = false»). In this case, if the plan period is changed from trial to no-trial, the notifications will be sent. | ||||||||
'first_subscription' | The Placeholder for an email template to determine whether it is the first Subscription to Microsoft Services for an Account. If the Microsoft Subscription is the first one, all necessary data can be sent to the customer, for example, the login and password of the created Microsoft account. Otherwise, any alternative information can be sent using the A fragment of the notification template for a Subscription based on the office365 Plugin:
A fragment of the notification template for a Subscription based on the microsoft_csp_products Plugin:
For more information about the notifications configuration for Subscriptions to Microsoft Services, see Services. Operator Guide. | ||||||||
subscriptions | Array of the Account Subscriptions | ||||||||
subscription.csp | Array of the Account Subscriptions within the Microsoft CSP program | ||||||||
subscriptions[].billing_type | Billing type of the Subscription | ||||||||
subscriptions[].billing_day | Day of the month, which is set as a Subscription Billing day | ||||||||
subscriptions[].billing_day_date | Date of the nearest Billing day of the Subscription in the dd/mm/yyyy format | ||||||||
subscriptions[].billing_day_charge | Total amount of Charges in the Open status that will be closed or blocked on the Billing day that caused the Notification event occurring. Only Subscriptions with the Auto-renew point (days) = 0 are counted. Applied to the G-Suite, CSP monthly, Pay in Full billing types | ||||||||
subscriptions[].payment_model | Array of the Account Subscriptions with the specified payment model:
| ||||||||
subscription.renewal_amount | Amount of funds that is required for topping up the Account Balance to renew a Subscription in the automatic mode | ||||||||
subscription_postpay.credit_limit | Value of the subscription debt, above which the postpaid Subscription will be stopped | ||||||||
subscription_postpay.current_debt | Subscription debt that is calculated as the total amount of all blocked Charges for the Subscription for the current Billing period | ||||||||
subscription.responsible_managers_by_product_id[PRODUCT_ID]['KEY_MANAGER_ROLE']['email']} | Email of a Responsible Manager (см. Managing Responsible Managers) by the Product ID and Manager Role key | ||||||||
subscription.responsible_managers_by_product_id[PRODUCT_ID]['KEY_MANAGER_ROLE']['name'] | Name of a Responsible Manager (см. Managing Responsible Managers) by the Product ID and Manager Role key | ||||||||
subscription['resources'][RESOURCE_PRIORITY].included | Amount of the Resource with the RESOURCE_PRIORITY priority included in the Subscription (for more information about the Resource priority, see Plan Resources) Amount of the main Resource of the Subscription:
Inserting detailed information about every Resource of the Subscription: see Placeholders for the Subscription Resource entity | ||||||||
subscription['resources'][RESOURCE_PRIORITY].additional | Additional amount the Resource with the RESOURCE_PRIORITY priority ordered for the Subscription (for more information about the Resource priority, see Plan Resources) Amount of the main Resource of the Subscription:
Inserting detailed information about every Resource of the Subscription: see Placeholders for the Subscription Resource entity | ||||||||
subscription.application_attributes.'plugin_slug'.'attribute_key' | The Placeholder contains the value of an additional attribute by the given key (see Viewing details about an Application Instance) of a Subscription based on the Plugin defined by
| ||||||||
subscription.last_billing_period_closed_charges_amount | Amount of Charges in the Closed status for a Subscription which were closed for the previous Billing period. The amount is equal to the amount of Charges for this Subscription in an Invoice for the previous Billing period |
The following Placeholders are available for Subscriptions to the Plans delegated from Vendor Portal (Event handlers VSP subscription created and VSP resources changed):
Placeholder | Description |
---|---|
application.subscription_attribute_{attribute_key} | The Placeholder contains the value of an additional attribute with Subscription attribute type and {attribute_key} key, where {attribute_key} is the attribute key, set during the product creation in Vendor Portal. For example, application.subscription_attribute_first_password is a Placeholder for an additional attribute with Subscription attribute type and first_password key. |
application.distributor_attribute_{attribute_key} | The Placeholder contains the value of an additional attribute with Distributor attribute type and {attribute_key} key, where {attribute_key} is the attribute key, set during the product creation in Vendor Portal. For example, application.distributor_attribute_base_url is a Placeholder for an additional attribute with Distributor attribute type and base_url key. |