Schema: MLinkDataAck (ID: 3365)
METADATA
Attribute | Value |
---|---|
Topic | 3325-mlink |
MLink Token | MLinkWs |
Note: The symbol
=
next to a field number indicates that it is a primary key.
BODY
# | Field | Type | Comment |
---|---|---|---|
100 | msgType | ushort | message type of the data object being ack'd |
103 | sendTs | long | send timestamp of the data object being ack'd (note: MessageType + SendTimestamp should be unique) |
106 | result | enum : DataAckResult | |
109 | detail | text1 |
Get Schema API Call
- Python
- cUrl
import requests
# Replace with your desired MLINK URL
MLINK_PROD_URL = 'https://mlink-live.nms.saturn.spiderrockconnect.com/rest/json'
# Replace with your MLINK API Key
API_KEY = 'XXXX-XXXX-XXXX-XXXX'
# Replace with your desired MsgType.
MSG_TYPE = 'MLinkDataAck'
# Request Parameters for Get Schema Of The MsgType
params = {
#Required Parameters
"apiKey": API_KEY,
"cmd": 'getschema',
"msgType": MSG_TYPE,
}
response = requests.get(MLINK_PROD_URL, params=params)
curl -G 'https://mlink-live.nms.saturn.spiderrockconnect.com/rest/json' \
--data-urlencode 'apiKey=XXXX-XXXX-XXXX-XXXX' \
--data-urlencode 'cmd=getschema' \
--data-urlencode 'msgType=MLinkDataAck'