Here is a sequence of SOAP requests where I retrieved, set, retrieved, set and retrieved the Direct_IP_IP_Audio_Connections field. on the station form using SMS. When I want to "set" the value I change the operation to "change" and the field to Direct_IP_IP_Audio_Connections=y
or
Direct_IP_IP_Audio_Connections=n
The syntax for modifying fields is given in the usage.doc file contained in the SDK "A pipe-delimited list of fieldnames (for read operations), or "fieldname=value" pairs, for write operations."
ssl_error_log:[Tue Mar 03 09:44:14 2009] [error] [client 135.8.117.121] PHP: Tue Mar 3 09:44:14 2009: Request: \n<?xml version="1.0" encoding="UTF-8"?>\n<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://xml.avaya.com/ws/SystemManagementService/2005/04/04" xmlns:ns2="http://xml.avaya.com/ws/session"><SOAP-ENV:Header><ns2:sessionID SOAP-ENV:mustUnderstand="1" SOAP-ENV:actor="http://schemas.xmlsoap.org/soap/actor/next"/></SOAP-ENV:Header><SOAP-ENV:Body><ns1:submitRequest><model>Station</model><operation>display</operation><objectname></objectname><qualifier>32132</qualifier><fields>Direct_IP_IP_Audio_Connections</fields></ns1:submitRequest></SOAP-ENV:Body></SOAP-ENV:Envelope>\n
ssl_error_log:[Tue Mar 03 09:44:27 2009] [error] [client 135.8.117.121] PHP: Tue Mar 3 09:44:27 2009: Request: \n<?xml version="1.0" encoding="UTF-8"?>\n<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://xml.avaya.com/ws/SystemManagementService/2005/04/04" xmlns:ns2="http://xml.avaya.com/ws/session"><SOAP-ENV:Header><ns2:sessionID SOAP-ENV:mustUnderstand="1" SOAP-ENV:actor="http://schemas.xmlsoap.org/soap/actor/next">8d407c0ce600598a7434a47318b10647</ns2:sessionID></SOAP-ENV:Header><SOAP-ENV:Body><ns1:submitRequest><model>Station</model><operation>change</operation><objectname></objectname><qualifier>32132</qualifier><fields>Direct_IP_IP_Audio_Connections=n</fields></ns1:submitRequest></SOAP-ENV:Body></SOAP-ENV:Envelope>\n
ssl_error_log:[Tue Mar 03 09:44:36 2009] [error] [client 135.8.117.121] PHP: Tue Mar 3 09:44:36 2009: Request: \n<?xml version="1.0" encoding="UTF-8"?>\n<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://xml.avaya.com/ws/SystemManagementService/2005/04/04" xmlns:ns2="http://xml.avaya.com/ws/session"><SOAP-ENV:Header><ns2:sessionID SOAP-ENV:mustUnderstand="1" SOAP-ENV:actor="http://schemas.xmlsoap.org/soap/actor/next">8d407c0ce600598a7434a47318b10647</ns2:sessionID></SOAP-ENV:Header><SOAP-ENV:Body><ns1:submitRequest><model>Station</model><operation>display</operation><objectname></objectname><qualifier>32132</qualifier><fields>Direct_IP_IP_Audio_Connections</fields></ns1:submitRequest></SOAP-ENV:Body></SOAP-ENV:Envelope>\n
ssl_error_log:[Tue Mar 03 09:44:48 2009] [error] [client 135.8.117.121] PHP: Tue Mar 3 09:44:48 2009: Request: \n<?xml version="1.0" encoding="UTF-8"?>\n<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://xml.avaya.com/ws/SystemManagementService/2005/04/04" xmlns:ns2="http://xml.avaya.com/ws/session"><SOAP-ENV:Header><ns2:sessionID SOAP-ENV:mustUnderstand="1" SOAP-ENV:actor="http://schemas.xmlsoap.org/soap/actor/next">8d407c0ce600598a7434a47318b10647</ns2:sessionID></SOAP-ENV:Header><SOAP-ENV:Body><ns1:submitRequest><model>Station</model><operation>change</operation><objectname></objectname><qualifier>32132</qualifier><fields>Direct_IP_IP_Audio_Connections=y</fields></ns1:submitRequest></SOAP-ENV:Body></SOAP-ENV:Envelope>\n
ssl_error_log:[Tue Mar 03 09:44:59 2009] [error] [client 135.8.117.121] PHP: Tue Mar 3 09:44:59 2009: Request: \n<?xml version="1.0" encoding="UTF-8"?>\n<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://xml.avaya.com/ws/SystemManagementService/2005/04/04" xmlns:ns2="http://xml.avaya.com/ws/session"><SOAP-ENV:Header><ns2:sessionID SOAP-ENV:mustUnderstand="1" SOAP-ENV:actor="http://schemas.xmlsoap.org/soap/actor/next">8d407c0ce600598a7434a47318b10647</ns2:sessionID></SOAP-ENV:Header><SOAP-ENV:Body><ns1:submitRequest><model>Station</model><operation>display</operation><objectname></objectname><qualifier>32132</qualifier><fields>Direct_IP_IP_Audio_Connections</fields></ns1:submitRequest></SOAP-ENV:Body></SOAP-ENV:Envelope>\n
|