Skip to main content

RequestTextDiff

Request paged settings history

Request Format

{
"RequestId": "cd150280-4edf-406d-8cdc-f96e813b5e2d",
"RequestName": "RequestTextDiff",
"TextOld": "{\"RuleName\":\"Rule1\",\"AllAccounts\":true,\"Accounts\":[],\"AccountsGroups\":[\"real\"],\"ExcludedAccounts\":[],\"Id\":\"35ab901c-cf06-4c9a-9818\",\"Name\":\"TriggerAccountStateEventsRuleSettings\",\"Node\":\"MT4dev\",\"Platform\":\"Mt4\",\"TriggerType\":\"TriggerAccountStateEvents\",\"AlertType\":\"Alert\",\"Enabled\":false,\"Description\":\"Detectaccountstateevents\"}",
"TextNew": "{\"RuleName\":\"Rule2\",\"AllAccounts\":true,\"Accounts\":[],\"AccountsGroups\":[\"gtgtgt\", \"temp123\"],\"ExcludedAccounts\":[],\"Id\":\"35ab901c-cf06-4c9a-9818-d0762979f7ca\",\"Name\":\"TriggerAccountStateEventsRuleSettings\",\"Node\":\"MT4dev\",\"Platform\":\"Mt4\",\"TriggerType\":\"TriggerAccountStateEvents\",\"AlertType\":\"Alert\",\"Enabled\":true,\"Description\":\"Detectaccountstateevents\"}"
}

Request Parameters

NameDescription
RequestIdUnique request GUID
RequestNameRequest type
TextOldOld text to diff
TextNewNew text to diff

General Status Response: ResponseOk

{
"Result": {
"DiffOldHtml": "PHNwYW4+ew0mcGFyYTs8YnI+...[Truncated for readability]...W4+In08L3NwYW4+",
"DiffNewHtml": "PHNwYW4+ew0mcGFyYTs8YnI+...[Truncated for readability]...W4+In08L3NwYW4+",
"DiffFullHtml": "PHNwYW4+ew0mcGFyYTs8YnI+...[Truncated for readability]...W4+In08L3NwYW4+"
},
"RequestId": "51bc135c-a4eb-45a9-9f98-822c1ba0830c",
"Errors": [],
"ResponseMaster": "ResponseTextDiff"
}

Response Data

NameDescription
DiffOldHtmlhtml of old text diff in Base64 format
DiffNewHtmlhtml of new text diff in Base64 format
DiffFullHtmlhtml of merged text diff both old and new texts in Base64 format