User`s guide

Page 149
10 MidJet GSM Text API’s
Five call level API’s are included in the product. A source file with sample
programs is available, see chapter Sample programs.
10.1 XSBMGTM
This API is used to create GSM Text messages.
See the example program EXP001 for an example how to use this API.
Parameters:
1 User ID Input Char(10)
2 GSM number Input Char(20)
3 Message text Input Char(160)
4 Send alarm call Input Char(1)
5 Message type Input Char(*)
6 Request reply Input Char(1)
7 Validity period hours Input Char(2)
8 Validity period minutes Input Char(2)
9 Reply proc program library Input Char(10)
10 Reply proc program name Input Char(10)
11 Rpy proc program execution Input Char(1)
12 User data Input Char(32)
13 Non-display message text in log Input Char(1)
14 Sequence number Output Char(7)
15 Return code Output Char(1)
User ID
The user ID in the user file for the recipient of the message. Leave blank if a
GSM number is specified.
GSM number
The GSM number of the recipient. The number must be entered in
international format. This is only available for the UO and UB license types.
Leave blank if a user ID is specified.
Message text
The message text to be sent.
Send alarm call
Send alarm call. Specify 0 for no, 1 for yes.
Message type
Optionally specify an alphanumeric character. The optional value is not
processed by GSM Text, but can be used as a selection value when a query
is run on the message log file. Reserved values are S and U.
Request reply
Optionally specify 1 if a reply shall be requested. This will cause a reply
string to be added to the message text when the message is sent.
Validity period, hours
Optionally specify how many hours a reply request shall be considered valid.
When this period is expired, the message will be displayed with *EXPIRED