ProvisionLastMileTestsResponse

A ProvisionLastMileTestsResponse element returned by the server in response to a ProvisionLastMileTests operation invocation. It reports the status of each monitor order transaction within the ProvisionLastMileTestsRequest.

Derived by

Extending ProvisioningResponseType

Content model

Contains elements as defined in the following table.

Component Type Occurs Nillable? Description
SEQUENCE 1..1
ResponseStatus ResponseStatusType 1..1 No This element appears in most of the responses issued when the Test Management API operations are invoked.
ErrorMessage [type OperationResponseType] string 0..1 No The error message is provided if the ResponseStatus was FAILURE.
LastMileMonitorOrderResponses anyType (restriction) 1..1 No LastMileMonitorOrderResponses are collections of LastMileMonitorOrderResponse elements. They occur in the responses of ProvisionLastMileTests operation invocations. See the LastMileMonitorOrderResponse help page for more information.

Example

In this example, two transactions were successfully executed.

<ProvisionLastMileTestsResponse
   xmlns="http://www.gomeznetworks.com/schemas/provisioning">
   <ResponseStatus>SUCCESS</ResponseStatus>
   <LastMileMonitorOrderResponses>
      <LastMileMonitorOrderResponse name="Test" folder="TestFolder" monitorId="542453"
            mbgmonitorId="16755" mbgId="15088" monitorStatus="Active"
            orderStatus="SUCCESS"/>
      <LastMileMonitorOrderResponse name="Test2" folder="TestFolder2" monitorId="542787"
            mbgmonitorId="14525" mbgId="16258" monitorStatus="Active"
            orderStatus="SUCCESS"/>
   </LastMileMonitorOrderResponses>
</ProvisionLastMileTestsResponse>

In the next example, the first transaction succeeded, while the second failed:

 <ProvisionLastMileTestsResponse xmlns="http://www.gomeznetworks.com/schemas/provisioning">
   <ResponseStatus>SUCCESS</ResponseStatus>
   <LastMileMonitorOrderResponses>
      <LastMileMonitorOrderResponse name="Test" folder="TestFolder" monitorId="542453"
            mbgmonitorId="16755" mbgId="15088" monitorStatus="Active"
            orderStatus="SUCCESS"/>
      <LastMileMonitorOrderResponse name="Test2" folder="TestFolder2" monitorId="542787"
            mbgmonitorId="14525" mbgId="16258" monitorStatus="Active"
            orderStatus="FAILURE"/>
   </LastMileMonitorOrderResponses>
</ProvisionLastMileTestsResponse>

The ResponseStatus in the second example is FAILURE because not all transactions were successful. However, the successful transaction is shown to be successful in its LastMileMonitorOrderResponse.