SystorSMS


Click here for a complete list of operations.

GetMessageInfo

Get info for a sent message.
    Parameters:
        messageId           nForeignId used when sending out the message
        username            Account username
        password            Account password  
    Return value:
        GetMessageInfoResult:
            Sent            When the message was sent from us to the operator
            Registered      When the message was registered in our database
            Status:
                0	Unsent    
                1	Sent OK   
                2	Send Err  
                3	Cancelled 
                4	Duplicate
            Submit          Operator's timestamp
            Notify          Timestamp for the last update from the operator
            NotifyReason    Operator specific error code
            NotifyStatus
                0	Delivered
                1	Temporary fail
                2	Permanent fail
            ForeignId       Customer's unique message identifier
            Validity        The amount of time (in minutes) we'll try to deliver a message before considering it undeliverable
            SM              The message content
            Cost            The cost in norwegian øre for the recipient if it is a CPA message
            Charged         Whether the recipient has been charged
        
        null Could not find message 

Test

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

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 /systorsmsvarious/systorsmsvarious.asmx HTTP/1.1
Host: smsalert.no
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.systorvest.no/GetMessageInfo"

<?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>
    <GetMessageInfo xmlns="http://www.systorvest.no/">
      <messageId>string</messageId>
      <username>string</username>
      <password>string</password>
    </GetMessageInfo>
  </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>
    <GetMessageInfoResponse xmlns="http://www.systorvest.no/">
      <GetMessageInfoResult>
        <Sent>dateTime</Sent>
        <Registered>dateTime</Registered>
        <Status>int</Status>
        <Submit>dateTime</Submit>
        <Notify>dateTime</Notify>
        <NotifyReason>int</NotifyReason>
        <NotifyStatus>int</NotifyStatus>
        <ForeignId>int</ForeignId>
        <Validity>int</Validity>
        <SM>string</SM>
        <Cost>int</Cost>
        <Charged>boolean</Charged>
      </GetMessageInfoResult>
    </GetMessageInfoResponse>
  </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 /systorsmsvarious/systorsmsvarious.asmx HTTP/1.1
Host: smsalert.no
Content-Type: application/soap+xml; charset=utf-8
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>
    <GetMessageInfo xmlns="http://www.systorvest.no/">
      <messageId>string</messageId>
      <username>string</username>
      <password>string</password>
    </GetMessageInfo>
  </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
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>
    <GetMessageInfoResponse xmlns="http://www.systorvest.no/">
      <GetMessageInfoResult>
        <Sent>dateTime</Sent>
        <Registered>dateTime</Registered>
        <Status>int</Status>
        <Submit>dateTime</Submit>
        <Notify>dateTime</Notify>
        <NotifyReason>int</NotifyReason>
        <NotifyStatus>int</NotifyStatus>
        <ForeignId>int</ForeignId>
        <Validity>int</Validity>
        <SM>string</SM>
        <Cost>int</Cost>
        <Charged>boolean</Charged>
      </GetMessageInfoResult>
    </GetMessageInfoResponse>
  </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 /systorsmsvarious/systorsmsvarious.asmx/GetMessageInfo?messageId=string&username=string&password=string HTTP/1.1
Host: smsalert.no
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<Message xmlns="http://www.systorvest.no/">
  <Sent>dateTime</Sent>
  <Registered>dateTime</Registered>
  <Status>int</Status>
  <Submit>dateTime</Submit>
  <Notify>dateTime</Notify>
  <NotifyReason>int</NotifyReason>
  <NotifyStatus>int</NotifyStatus>
  <ForeignId>int</ForeignId>
  <Validity>int</Validity>
  <SM>string</SM>
  <Cost>int</Cost>
  <Charged>boolean</Charged>
</Message>

HTTP POST

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

POST /systorsmsvarious/systorsmsvarious.asmx/GetMessageInfo HTTP/1.1
Host: smsalert.no
Content-Type: application/x-www-form-urlencoded
Content-Length: length

messageId=string&username=string&password=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<Message xmlns="http://www.systorvest.no/">
  <Sent>dateTime</Sent>
  <Registered>dateTime</Registered>
  <Status>int</Status>
  <Submit>dateTime</Submit>
  <Notify>dateTime</Notify>
  <NotifyReason>int</NotifyReason>
  <NotifyStatus>int</NotifyStatus>
  <ForeignId>int</ForeignId>
  <Validity>int</Validity>
  <SM>string</SM>
  <Cost>int</Cost>
  <Charged>boolean</Charged>
</Message>