getIncompleteProvisionRequests()
ProvisionRequests getIncompleteProvisionRequests(string usn)
This method retrieves a list of currently incomplete provisioning requests that have been lodged for a subscription.
Parameters
- usn
- Format: string
Results
This method returns a ProvisionRequests XML document that contains zero or more incomplete provisioning requests for a subscription.
An incomplete provisioning request is defined as one that has a status other than "Complete".
There are no messages defined by this method.
Example: A returned ProvisionRequest XML document
This example shows a ProvisionRequests XML document for USN 2142421607.
<ProvisionRequests xmlns="http://xml.inomial.com/smile/2.xsd">
<ProvisionRequest>
<provisionRequestId>679</provisionRequestId>
<company key="1">Example Telecom</company>
<USN>2142421607</USN>
<requestType>RequestProvision</requestType>
<status>Transferring</status>
<created>2015-06-11T19:38:16.489+10:00</created>
<actionTime>2015-06-11T19:38:16.489+10:00</actionTime>
<attemptLimit>1</attemptLimit>
<result>Delayed</result>
<ProvisionRequestLogs>
<ProvisionRequestLog>
<message>Provisioning request dispatched to external provider</message>
<logged>2015-06-12T16:45:01.026+10:00</logged>
<loggedBy>2142420732</loggedBy>
</ProvisionRequestLog>
<ProvisionRequestLog>
<message>External provider indicated more time needed to complete provisioning request</message>
<logged>2015-06-14T09:52:37+10:00</logged>
<loggedBy>2142420732</loggedBy>
</ProvisionRequestLog>
</ProvisionRequestLogs>
</ProvisionRequest>
</ProvisionRequests>
Faults
NoSuchItemExceptionThis fault is returned when the specified USN does not correspond to an existing subscription.
InvalidRequestExceptionThis fault is returned when:
- a USN is not specified
- the USN specified refers to an account, instead of a subscription
Java client syntax
java -cp build/smilewsv2-client.jar [options]
com.inomial.smile.client.v2.examples.GetIncompleteProvisionRequests
usn
- usn
- Purpose: Specifies the USN of the subscription for which to retrieve incomplete provision requests.
Note: For more information about the Java client and the options it
accepts, see Java client syntax.