SubscriptionReadyToProvision

If configured to do so, Smile emits this message when a new subscription is ready to provision. This message may trigger network devices and upstream providers to begin their provisioning process. Smile does not emit this message by default.

A subscription must be provisioned, enabled and activated before it is fully available. These three events can happen in any order.

Message header

The following table lists the parameters in the SubscriptionReadyToProvision message header.

Table 1. SubscriptionReadyToProvision header parameters
Parameter Type Values
sid integer The service ID
usn string The unique subscription ID number for the subscription
provisionRequestId integer The provision request ID number
smileMessageType string "SubscriptionReadyToProvision"

Message body

The message body contains the <SubscriptionFeaturesUpdate> element and has the following format:
{http://xml.inomial.com/smile/2.xsd}SubscriptionFeaturesUpdate

Example: The <SubscriptionFeaturesUpdate> element

This example shows a SubscriptionFeaturesUpdate XML document that contains the <SubscriptionFeaturesUpdate> element. Note that the subscription is activated but is not provisioned or enabled.

<SubscriptionFeaturesUpdate xmlns="http://xml.inomial.com/smile/2.xsd">
  <Subscription>
    <USN>2142426762</USN>
    <SID>170</SID>
    <ServiceName>Test service 170</ServiceName>
    <Parent>1000000008</Parent>
    <Properties>
      <Object>
        <String name="username">joe@example.com</String>
        <Boolean name="billPrintName">false</Boolean>
        <Boolean name="streetPrintName">true</Boolean>
      </Object>
    </Properties>
    <ProvisionStatus>ReadyToProvision</ProvisionStatus>
    <SuspendStatus>Active</SuspendStatus>
    <ActivateStatus>Activated</ActivateStatus>
    <EnableStatus>NotEnabled</EnableStatus>
  </Subscription>
  <ActiveFeatures/>
  <PlanScheduleItems>
    <PlanScheduleItem>
      <PlanCode>tp170</PlanCode>
      <PlanScheduleType>1</PlanScheduleType>
      <Start>2012-08-08T00:00:00.000+10:00</Start>
    </PlanScheduleItem>
  </PlanScheduleItems>
</SubscriptionFeaturesUpdate>