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".
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide