Schema: ClientConfigChangeRequest (ID: 1935)
One request carries a SERIES of record-level operations (target message + pkey +
the changed fields + their propose-time values) that merge, reject, or return
as one unit. crClass discriminates the two review queues: Settings reviews
ClientConfig requests, Risk Controls reviews RiskControl requests.
Merged and Rejected are TERMINAL - no further transitions or withdraws; a new
request is required. Pending/Returned remain actionable. Note comments stay
accepted on terminal records - terminal seals the DECISION, not the conversation
(every publish is archived; the 24h retention window bounds the append period).
Merge is apply-FIRST and SERVER-SIDE: a decide to Merged runs the ops through the
target messages' own write pipelines under the CHECKER'S session (per-record ACL
re-checks as if the checker posted each write); ONLY on total success does the
state commit to Merged. On any failure the state stays as it was and the failure
is recorded as a durable mergeFail comment (failedCount).
RiskControl requests carry exactly ONE op (no baskets).
METADATA
| Attribute | Value |
|---|---|
| Topic | 1800-client-config |
| MLink Token | ClientControl |
| MLink Endpoint | MLink-Live |
Note: The symbol
=next to a field number indicates that it is a primary key.
BODY
| # | Field | Type | Default Value | Comment |
|---|---|---|---|---|
| 10= | clientFirm | string(16) | scoping firm - the ACL boundary | |
| 13= | crId | string(32) | "CR-000123"; minted by the proposing server; unique within clientFirm | |
| 100 | crClass | enum : CRClass | review-queue discriminator | |
| 103 | crState | enum : CRState | Merged/Rejected terminal; Pending/Returned actionable | |
| 106 | opSummary | text1 | server-derived from the ops: unique target message names (Account* family collapses to AccountConfig) | |
| 109 | opCount | int | ops in edits, so a grid never parses the JSON | |
| 112 | targetMsg | string(48) | PRIMARY target message name, for grouping/filtering | |
| 115 | targetKey | text1 | human-readable primary pkey ("SPON1 / CORE / Firm") | |
| 116 | isTestChange | enum : YesNo | derived at propose: Yes = any test op (pkey isTestAccnt=Yes or Account*-family accnt 'T*'); No = env-carrying ops all prod; None = no op carries an env marker (env-less config - both books) | |
| 118 | edits | text2 | JSON {v, ops:[{n, op:replace | |
| 121 | editsHash | string(64) | hash of edits at propose time - tamper/replay check on approve | |
| 124 | requestedBy | string(24) | ||
| 127 | requestedDttm | DateTime | ||
| 130 | reviewedBy | string(24) | empty while Pending; compared to requestedBy for the apply-own gate | |
| 133 | reviewedDttm | DateTime | ||
| 136 | appliedDttm | DateTime | when the merged ops actually committed (apply-first: stamped with the Merged decide) | |
| 139 | comments | text2 | JSON {v, log:[{id, by, at, kind:note | |
| 140 | commentCount | int | log entries in comments, so a grid never parses the JSON | |
| 141 | failedCount | int | mergeFail entries in comments - a failed merge leaves crState unchanged but stamps this | |
| 142 | modifiedBy | string(24) | ||
| 145 | modifiedIn | enum : SysEnvironment | ||
| 148 | timestamp | DateTime |
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 = 'ClientConfigChangeRequest'
# 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=ClientConfigChangeRequest'
Get Msg 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 = 'ClientConfigChangeRequest'
# Replace with your pkey value for getting the specific message desired
PKEY = 'ReplaceThisValueForTheQueryToWork'
# Replace with your desired view. A "|" separated list of views can be provided
# If no view is provided, all views will be returned.
VIEW = 'crClass|crState|opSummary|opCount|targetMsg|targetKey|isTestChange|edits|editsHash|requestedBy|requestedDttm|reviewedBy|reviewedDttm|appliedDttm|comments|commentCount|failedCount|modifiedBy|modifiedIn|timestamp'
# Replace with your desired where clause.
# a string in the form "field1:eq:valuse" or "(field1:ne:value1 & field1:ne:value2)
# "WHERE" clauses can contain the following comparison symbols:
# :gt: is greater than
# :ge: is greater than or equal to
# :lt: is less than
# :le: is less than or equal to
# :eq: is equal
# :ne: is not equal
# %26 is an AND statement
# | is an OR statement
# :sw: is starts with
# :ew: is ends with
# :cv: is contains values
# :nv: is does not contain value
# :cb: is contained between (two dates for instance) separated by '$'
WHERE = 'clientFirm:eq:ExampleString'
# Request Parameters for getmsg Of The MsgType
params = {
# Required Parameters
"apiKey": API_KEY,
"cmd": 'getmsg',
"pkey": PKEY,
"msgType": MSG_TYPE,
# Optional Parameters
"view": VIEW,
"where": WHERE
}
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=getmsg' \
--data-urlencode 'pkey=ReplaceThisValueForTheQueryToWork' \
--data-urlencode 'msgType=ClientConfigChangeRequest' \
--data-urlencode 'view=crClass|crState|opSummary|opCount|targetMsg|targetKey|isTestChange|edits|editsHash|requestedBy|requestedDttm|reviewedBy|reviewedDttm|appliedDttm|comments|commentCount|failedCount|modifiedBy|modifiedIn|timestamp' \
--data-urlencode 'where=clientFirm:eq:ExampleString'
Get Msgs 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 = 'ClientConfigChangeRequest'
# Replace with your desired view. A "|" separated list of views can be provided
# If no view is provided, all views will be returned
VIEW = 'crClass|crState|opSummary|opCount|targetMsg|targetKey|isTestChange|edits|editsHash|requestedBy|requestedDttm|reviewedBy|reviewedDttm|appliedDttm|comments|commentCount|failedCount|modifiedBy|modifiedIn|timestamp'
# Replace with your desired where clause.
# a string in the form "field1:eq:value" or "(field1:ne:value1 & field1:ne:value2)
# "WHERE" clauses can contain the following comparison symbols:
# :gt: is greater than
# :ge: is greater than or equal to
# :lt: is less than
# :le: is less than or equal to
# :eq: is equal
# :ne: is not equal
# %26 is an AND statement
# | is an OR statement
# :sw: is starts with
# :ew: is ends with
# :cv: is contains values
# :nv: is does not contain value
# :cb: is contained between (two dates for instance) separated by '$'
WHERE = 'clientFirm:eq:ExampleString'
# Replace with your desired limit of how many messages you receive. The default limit is 500
LIMIT = 500
# Order clause eg. "(field1:DESC | field1:ASC | field2:DESC:ABS | field2:ASC:ABS" (default is unordered; default is faster)
ORDER = 'crClass:ASC'
# Request Parameters for getmsgs Of The MsgType
params = {
# Required Parameters
"apiKey": API_KEY,
"cmd": 'getmsgs',
"msgType": MSG_TYPE,
# Optional Parameters
"view": VIEW,
"where": WHERE,
"limit": LIMIT,
"order": ORDER
}
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=getmsgs' \
--data-urlencode 'msgType=ClientConfigChangeRequest' \
--data-urlencode 'view=crClass|crState|opSummary|opCount|targetMsg|targetKey|isTestChange|edits|editsHash|requestedBy|requestedDttm|reviewedBy|reviewedDttm|appliedDttm|comments|commentCount|failedCount|modifiedBy|modifiedIn|timestamp' \
--data-urlencode 'where=clientFirm:eq:ExampleString' \
--data-urlencode 'limit=500' \
--data-urlencode 'order=crClass:ASC'
Get Aggregate 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 = 'ClientConfigChangeRequest'
# Replace with fields you want to see aggregate values for. A "|" separated list of measures should be provided
MEASURE = 'crClass|crState|opSummary|opCount|targetMsg|targetKey|isTestChange|edits|editsHash|requestedBy|requestedDttm|reviewedBy|reviewedDttm|appliedDttm|comments|commentCount|failedCount|modifiedBy|modifiedIn|timestamp'
# Replace with fields you want to see aggregated. A "|" separated list of fields should be provided
GROUP = 'crClass|crState|isTestChange|modifiedIn'
# Replace with your desired where clause.
# a string in the form "field1:eq:value" or "(field1:ne:value1 & field1:ne:value2)
# "WHERE" clauses can contain the following comparison symbols:
# :gt: is greater than
# :ge: is greater than or equal to
# :lt: is less than
# :le: is less than or equal to
# :eq: is equal
# :ne: is not equal
# %26 is an AND statement
# | is an OR statement
# :sw: is starts with
# :ew: is ends with
# :cv: is contains values
# :nv: is does not contain value
# :cb: is contained between (two dates for instance) separated by '$'
WHERE = 'clientFirm:eq:ExampleString'
# Request Parameters for getaggregate Of The MsgType
params = {
# Required Parameters
"apiKey": API_KEY,
"cmd": 'getaggregate',
"msgType": MSG_TYPE,
"measure": MEASURE,
"group": GROUP,
# Optional Parameters
"where": WHERE,
}
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=getaggregate' \
--data-urlencode 'msgType=ClientConfigChangeRequest' \
--data-urlencode 'measure=crClass|crState|opSummary|opCount|targetMsg|targetKey|isTestChange|edits|editsHash|requestedBy|requestedDttm|reviewedBy|reviewedDttm|appliedDttm|comments|commentCount|failedCount|modifiedBy|modifiedIn|timestamp' \
--data-urlencode 'group=crClass|crState|isTestChange|modifiedIn' \
--data-urlencode 'where=clientFirm:eq:ExampleString'
Get Count 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 = 'ClientConfigChangeRequest'
# Replace with your desired where clause.
# a string in the form "field1:eq:value" or "(field1:ne:value1 & field1:ne:value2)
# "WHERE" clauses can contain the following comparison symbols:
# :gt: is greater than
# :ge: is greater than or equal to
# :lt: is less than
# :le: is less than or equal to
# :eq: is equal
# :ne: is not equal
# %26 is an AND statement
# | is an OR statement
# :sw: is starts with
# :ew: is ends with
# :cv: is contains values
# :nv: is does not contain value
# :cb: is contained between (two dates for instance) separated by '$'
WHERE = 'clientFirm:eq:ExampleString'
# Request Parameters for getCount Of The MsgType
params = {
# Required Parameters
"apiKey": API_KEY,
"cmd": 'getcount',
"msgType": MSG_TYPE,
# Optional Parameters
"where": WHERE,
}
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=getcount' \
--data-urlencode 'msgType=ClientConfigChangeRequest' \
--data-urlencode 'where=clientFirm:eq:ExampleString'
Post Msgs 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'
# Request Parameters
params = {
# Required Parameters
"apiKey": API_KEY,
"cmd": 'postmsgs',
"postaction": "I", # (I)nsert, (U)pdate, (R)eplace, or (D)elete
"postmerge": "Y", # (Y)es or (N)o
}
payload = {
"header": {
"mTyp": "ClientConfigChangeRequest"
},
"message": {
"pkey": {
"clientFirm": "exampleString", // string
"crId": "exampleString" // string
},
"crClass": "enumValue", // enum(CRClass) - None, ClientConfig, RiskControl
"crState": "enumValue", // enum(CRState) - None, Pending, Merged, Rejected, Returned
"opSummary": "exampleString", // text1
"opCount": 1, // int
"targetMsg": "exampleString", // string
"targetKey": "exampleString", // text1
"isTestChange": "enumValue", // enum(YesNo) - None, Yes, No
"edits": "exampleString", // text2
"editsHash": "exampleString", // string
"requestedBy": "exampleString", // string
"requestedDttm": "2025-01-01 12:00:00.000000", // yyyy-MM-dd HH:mm:ss.SSSSSS
"reviewedBy": "exampleString", // string
"reviewedDttm": "2025-01-01 12:00:00.000000", // yyyy-MM-dd HH:mm:ss.SSSSSS
"appliedDttm": "2025-01-01 12:00:00.000000", // yyyy-MM-dd HH:mm:ss.SSSSSS
"comments": "exampleString", // text2
"commentCount": 1, // int
"failedCount": 1, // int
"modifiedBy": "exampleString", // string
"modifiedIn": "enumValue", // enum(SysEnvironment) - None, Neptune, Pluto, V7_Stable, V7_Latest, Saturn, Venus, Mars, SysTest, V7_Current
"timestamp": "2025-01-01 12:00:00.000000" // yyyy-MM-dd HH:mm:ss.SSSSSS
}
}
response = requests.post(MLINK_PROD_URL, params=params, json=payload)
curl -X POST 'https://mlink-live.nms.saturn.spiderrockconnect.com/rest/json' \
--data-urlencode 'apiKey=XXXX-XXXX-XXXX-XXXX' \
--data-urlencode 'cmd=postmsgs' \
--data-urlencode 'postaction=I' \ # (I)nsert, (U)pdate, (R)eplace, or (D)elete
--data-urlencode 'postmerge=Y' \ # (Y)es or (N)o
--header 'Content-Type: application/json' \
--data '{
"header": {
"mTyp": "ClientConfigChangeRequest"
},
"message": {
"pkey": {
"clientFirm": "exampleString", // string
"crId": "exampleString" // string
},
"crClass": "enumValue", // enum(CRClass) - None, ClientConfig, RiskControl
"crState": "enumValue", // enum(CRState) - None, Pending, Merged, Rejected, Returned
"opSummary": "exampleString", // text1
"opCount": 1, // int
"targetMsg": "exampleString", // string
"targetKey": "exampleString", // text1
"isTestChange": "enumValue", // enum(YesNo) - None, Yes, No
"edits": "exampleString", // text2
"editsHash": "exampleString", // string
"requestedBy": "exampleString", // string
"requestedDttm": "2025-01-01 12:00:00.000000", // yyyy-MM-dd HH:mm:ss.SSSSSS
"reviewedBy": "exampleString", // string
"reviewedDttm": "2025-01-01 12:00:00.000000", // yyyy-MM-dd HH:mm:ss.SSSSSS
"appliedDttm": "2025-01-01 12:00:00.000000", // yyyy-MM-dd HH:mm:ss.SSSSSS
"comments": "exampleString", // text2
"commentCount": 1, // int
"failedCount": 1, // int
"modifiedBy": "exampleString", // string
"modifiedIn": "enumValue", // enum(SysEnvironment) - None, Neptune, Pluto, V7_Stable, V7_Latest, Saturn, Venus, Mars, SysTest, V7_Current
"timestamp": "2025-01-01 12:00:00.000000" // yyyy-MM-dd HH:mm:ss.SSSSSS
}
}'