InformationPort
Click here for a complete list of operations.
Switches
Gets switches that have free numbers, associated to an exchange. Only switches with free number are retrieved.
Test
The test form is only available for requests from the local machine.SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /WebServices/OOTInternal/InformationService.asmx HTTP/1.1 Host: www.wirelineonboarding.co.nz Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "urn:DCNZ.MSP.Wireline.WebServices.Wholesale.Information:SwitchesSoapIn" <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <switchesRequest xmlns="urn:DCNZ.MSP.Wireline.Wholesale.Messages"> <exchangeID>string</exchangeID> </switchesRequest> </soap:Body> </soap:Envelope>
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <switchesResponse xmlns="urn:DCNZ.MSP.Wireline.Wholesale.Messages"> <switchInfo> <switchNumberInfo switchType="string" switchName="string" switchID="string" xmlns="urn:DCNZ.MSP.Wireline.Wholesale.Common"> <switchNumbers count="integer" max="integer" min="integer" range="integer" /> <switchNumbers count="integer" max="integer" min="integer" range="integer" /> </switchNumberInfo> <switchNumberInfo switchType="string" switchName="string" switchID="string" xmlns="urn:DCNZ.MSP.Wireline.Wholesale.Common"> <switchNumbers count="integer" max="integer" min="integer" range="integer" /> <switchNumbers count="integer" max="integer" min="integer" range="integer" /> </switchNumberInfo> </switchInfo> </switchesResponse> </soap:Body> </soap:Envelope>