m2DataExportCancel
The m2DataExportCancel method shows the status of a request made by the m2DataExport method.
Request Parameters
None
Response Parameters (return element children)
result
A result code such as internal.request.complete that describes the result. See Error Codes in the Developer's Guide for details.
m2DataExportCancel
Returns a status code such as error.undetermined.result if there is undetermined result.
Returns a status code such as data.export.termination.not.required if DataExport not running and nothing to cancel.
Returns a status code such as dynamic.export.inProgress.cannotCancel if Dynamic DataExport in progress and it cannot be cancelled.
Returns a status code such as export.termination.failed if failed to cancel the M2DataExportcancelService.
Returns a status code such as data.export.termination.not.required if DataExport not running and nothing to cancel.
Returns a status code such as dynamic.export.inProgress.cannotCancel if Dynamic DataExport in progress and it cannot be cancelled.
Returns a status code such as export.termination.failed if failed to cancel the M2DataExportcancelService.
Example Request and Response
Request
Response
<?xml version="1.0" encoding="UTF-8"?> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <soapenv:Header xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"> <wsa:Action>urn: m2DataExportCancel</wsa:Action> <wsa:MessageID>uuid:63e5d8ca-dcac-40af-916b-d32ec3382d0f</wsa:MessageID> <wsa:ReplyTo> <wsa:Address>http://www.w3.org/2005/08/addressing/anonymous</wsa:Address> </wsa:ReplyTo> <wsa:To></wsa:To> </soapenv:Header> <soapenv:Body> <m2DataExportCancel xmlns="http://services.api.platform.vos.cisco.com"/> </soapenv:Body> </soapenv:Envelope>
<?xml version='1.0' encoding='UTF-8'?> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> <soapenv:Header xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"> <wsa:To>http://www.w3.org/2005/08/addressing/anonymous</wsa:To> <wsa:MessageID>urn:uuid:0a144548-81c9-42f0-a302-19c7c37a09e6</wsa:MessageID> <wsa:Action>urn:m2DataExportCancelResponse</wsa:Action> <wsa:RelatesTo>uuid:63e5d8ca-dcac-40af-916b-d32ec3382d0f</wsa:RelatesTo> </soapenv:Header> <soapenv:Body> <ns:m2DataExportCancelResponse xmlns:ns="http://services.api.platform.vos.cisco.com"> <ns:return xmlns:ax2109="http://element.services.api.platform.vos.cisco.com/xsd" xmlns:ax2110="http://api.platform.vos.cisco.com/xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ax2109:M2DataExportCancelResponse"> <ax2109:result>internal.request.complete</ax2109:result> <ax2109:m2DataExportCancel>m2.data.export.cancel.none</ax2109:m2DataExportCancel> </ns:return> </ns:m2DataExportCancelResponse> </soapenv:Body> </soapenv:Envelope>