09-18-2023 02:59 AM
Is there any way to restart the TFTP server from an API call on the CUCM?
Solved! Go to Solution.
09-18-2023 04:28 AM
Should be possible via the Control Center Services API, when using SOAP requests:
https://developer.cisco.com/docs/sxml/#!control-center-services-api-reference/soapdocontrolservices
09-20-2023 12:07 AM
Yes that worked perfect thanks. Here is the soap message i used.
'''<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soap="http://schemas.cisco.com/ast/soap">
<soapenv:Header/>
<soapenv:Body>
<soap:soapDoControlServices>
<soap:ControlServiceRequest>
<soap:NodeName>ciscart23</soap:NodeName>
<soap:ControlType>Restart</soap:ControlType>
<soap:ServiceList>
<soap:item>Cisco Tftp</soap:item>
</soap:ServiceList>
</soap:ControlServiceRequest>
</soap:soapDoControlServices>
</soapenv:Body>
</soapenv:Envelope>'''
09-18-2023 04:28 AM
Should be possible via the Control Center Services API, when using SOAP requests:
https://developer.cisco.com/docs/sxml/#!control-center-services-api-reference/soapdocontrolservices
09-20-2023 12:04 AM
@jacquescelliers Any update?
09-20-2023 12:07 AM
Yes that worked perfect thanks. Here is the soap message i used.
'''<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soap="http://schemas.cisco.com/ast/soap">
<soapenv:Header/>
<soapenv:Body>
<soap:soapDoControlServices>
<soap:ControlServiceRequest>
<soap:NodeName>ciscart23</soap:NodeName>
<soap:ControlType>Restart</soap:ControlType>
<soap:ServiceList>
<soap:item>Cisco Tftp</soap:item>
</soap:ServiceList>
</soap:ControlServiceRequest>
</soap:soapDoControlServices>
</soapenv:Body>
</soapenv:Envelope>'''
09-20-2023 12:11 AM
Glad I could help. I would appreciate to get an "accepted solution".
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: