Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Anchor
_Toc94723497
_Toc94723497
Example

...

Contains parameters and values in a Jason object.

Code Block
{
"key1": "value1",
"key2": "value2"
}

Anchor
_Toc62200946
_Toc62200946
Anchor
_Toc94723498
_Toc94723498
Receiving MO messages

...

This example is an example of a user with phone number +4741560067 sending a message to shortnumber 2333 with the text “Bclt hello”.
Anchor_MON_1705335398_MON_1705335398

...

...

This example shows how the request will look when the message is sent to a subnumber rather than a keyword. This example is sent from +4741560067 to shortcode 2333, subnumber 9999999989. The text of the message is “Hello, Dolly!”

...

Code Block
{
  "destination": "NO-2333",
  "subNumber": null,
  "source": "+4741560067",
  "content": {
  "type": "SMS",
  "userData": "Bclt hello",
  "encoding": "TEXT"
  },
  "operator": "no.telenor",
  "timestamp": "2015-11-17T14:28:40Z",
  "messageId": "0",
  "operatorTimestamp": "2015-11-17T14:28:40Z",
  "operatorMessageId": "0",
  "route": {
    "type": "KEYWORD_ROUTE",
    "id": "0",
    "refId": "Internal Keyword Reference",
    "gateIds": ["0"],
    "platformId": "0",
    "platformPartnerId": "0",
    "platformServiceType": "serviceType",
    "platformServiceId": "Internal Service ID",
    "customParameters": {},
    "number": "NO-2333",
    "keyword": "BCLT",
    "keywordType": "FIRST_WORD",
    "active": true,
    "start": "2015-11-17T00:00:00Z",
    "end": "2016-11-17T00:00:00Z",
    "shared": false,
    "description": "BCLT service"
  },
  "gateCustomParameters": {},
  "customParameters": {
    "platformPartnerId": "0",
    "suggestedOperator": "no.telenor",
    "moReferenceId": "0",
    "queued": "2015-11-17 15:28:40",
    "serviceCentreTimeStamp": "20151117152840",
    "platformId": "0"
 }
}

Anchor
_Toc62200950
_Toc62200950
Anchor
_Toc94723502
_Toc94723502
Appendix 1

...