Content

Click here for a complete list of operations.

RequestNumberEnquiry

Accepts msisdn input, full length. Only implemented for Norway

Test

To test the operation using the HTTP POST protocol, click the 'Invoke' button.
Parameter Value
username:
password:
msisdn:
returnUrl:

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 /Content.asmx HTTP/1.1
Host: smsc.sendega.com
Content-Type: text/xml; charset=iso-8859-1
Content-Length: length
SOAPAction: "http://smsc.sendega.com/Content/RequestNumberEnquiry"

<?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>
    <RequestNumberEnquiry xmlns="http://smsc.sendega.com/Content">
      <username>string</username>
      <password>string</password>
      <msisdn>double</msisdn>
      <returnUrl>string</returnUrl>
    </RequestNumberEnquiry>
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=iso-8859-1
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>
    <RequestNumberEnquiryResponse xmlns="http://smsc.sendega.com/Content">
      <RequestNumberEnquiryResult>
        <ErrorMessage>string</ErrorMessage>
        <ErrorNumber>int</ErrorNumber>
        <Msisdn>double</Msisdn>
        <City>string</City>
        <Zip>string</Zip>
        <Address2>string</Address2>
        <Address1>string</Address1>
        <Surname>string</Surname>
        <Firstname>string</Firstname>
        <MessageID>guid</MessageID>
        <Success>boolean</Success>
      </RequestNumberEnquiryResult>
    </RequestNumberEnquiryResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.

POST /Content.asmx HTTP/1.1
Host: smsc.sendega.com
Content-Type: application/soap+xml; charset=iso-8859-1
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <RequestNumberEnquiry xmlns="http://smsc.sendega.com/Content">
      <username>string</username>
      <password>string</password>
      <msisdn>double</msisdn>
      <returnUrl>string</returnUrl>
    </RequestNumberEnquiry>
  </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=iso-8859-1
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <RequestNumberEnquiryResponse xmlns="http://smsc.sendega.com/Content">
      <RequestNumberEnquiryResult>
        <ErrorMessage>string</ErrorMessage>
        <ErrorNumber>int</ErrorNumber>
        <Msisdn>double</Msisdn>
        <City>string</City>
        <Zip>string</Zip>
        <Address2>string</Address2>
        <Address1>string</Address1>
        <Surname>string</Surname>
        <Firstname>string</Firstname>
        <MessageID>guid</MessageID>
        <Success>boolean</Success>
      </RequestNumberEnquiryResult>
    </RequestNumberEnquiryResponse>
  </soap12:Body>
</soap12:Envelope>

HTTP GET

The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.

GET /Content.asmx/RequestNumberEnquiry?username=string&password=string&msisdn=string&returnUrl=string HTTP/1.1
Host: smsc.sendega.com
HTTP/1.1 200 OK
Content-Type: text/xml; charset=iso-8859-1
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<NumberEnquiryResult xmlns="http://smsc.sendega.com/Content">
  <ErrorMessage>string</ErrorMessage>
  <ErrorNumber>int</ErrorNumber>
  <Msisdn>double</Msisdn>
  <City>string</City>
  <Zip>string</Zip>
  <Address2>string</Address2>
  <Address1>string</Address1>
  <Surname>string</Surname>
  <Firstname>string</Firstname>
  <MessageID>guid</MessageID>
  <Success>boolean</Success>
</NumberEnquiryResult>

HTTP POST

The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.

POST /Content.asmx/RequestNumberEnquiry HTTP/1.1
Host: smsc.sendega.com
Content-Type: application/x-www-form-urlencoded
Content-Length: length

username=string&password=string&msisdn=string&returnUrl=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=iso-8859-1
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<NumberEnquiryResult xmlns="http://smsc.sendega.com/Content">
  <ErrorMessage>string</ErrorMessage>
  <ErrorNumber>int</ErrorNumber>
  <Msisdn>double</Msisdn>
  <City>string</City>
  <Zip>string</Zip>
  <Address2>string</Address2>
  <Address1>string</Address1>
  <Surname>string</Surname>
  <Firstname>string</Firstname>
  <MessageID>guid</MessageID>
  <Success>boolean</Success>
</NumberEnquiryResult>