BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
ravindrrapaal
Obsidian | Level 7

Hello @RTDM_User ,

Just wanted to know, Do we have only wsdl to configure event in RTDM ?

or is there any other way to configure the same, Any reference to understand this ?

Use Case: We are getting daily leads form our corporate website. 

In order to serve better offers to customer/prospect who are vising the website and leaving there minimum details. once they click on submit we want to run RTDM strategy to send personalized communication. 

Any reading reference apart from using/admin guide would be highly appreciated. Thanks.

1 ACCEPTED SOLUTION

Accepted Solutions
jcawesome
Obsidian | Level 7

Hi @ravindrrapaal ,

 

You can configure an event for a flow in RTDM. Once this flow is deployed to the DS Engine then RTDM provides both a SOAP and REST interface.

SOAP uses the WSDL for integration with external systems. REST (using POST method) uses the JSON format for integrating with RTDM to execute the decision flow associated with the underlying decision definition.

 

For REST,

URI: SASDecisionServices/rest/runtime/decisions/{decisionId}

Media type: application/vnd.sas.decision.request

Sample URL: http://{{hostname}}:{{port number}}/RTDM/rest/runtime/decisions/GENERIC_RTDM_EVENT

decisionId = The ID or name of the underlying decision definition. (e.g. GENERIC_RTDM_EVENT)

Here's an example of the JSON Body:

Just imagine that INSTR1-INSTR5, ININT1-ININT5, INDATE1-INDATE2 are the input variables in your RTDM event.There are other variable formats that you can use such as Boolean, Character List, or Data Grids.

The other variables in the body such as version, correlationId, clientTimeZone are all required.

{"version":1,"correlationId":"{{$guid}}","clientTimeZone":"Asia/Kuala_Lumpur",
"inputs":{
    "INSTR1":"string1 value",
    "INSTR2":"string2 value",
    "INSTR3":"string3 value",
    "INSTR4":"string4 value",
    "INSTR5":"string5 value",
    "ININT1":1,
    "ININT2":10,
    "ININT3":30.0,
    "ININT4":400,
    "ININT5":null,
    "INDATE1":"2020-12-29T00:00:00.000Z",
    "INDATE2":"2020-12-29T00:00:00.000Z"
    }
}
 

Regards,

JC

View solution in original post

1 REPLY 1
jcawesome
Obsidian | Level 7

Hi @ravindrrapaal ,

 

You can configure an event for a flow in RTDM. Once this flow is deployed to the DS Engine then RTDM provides both a SOAP and REST interface.

SOAP uses the WSDL for integration with external systems. REST (using POST method) uses the JSON format for integrating with RTDM to execute the decision flow associated with the underlying decision definition.

 

For REST,

URI: SASDecisionServices/rest/runtime/decisions/{decisionId}

Media type: application/vnd.sas.decision.request

Sample URL: http://{{hostname}}:{{port number}}/RTDM/rest/runtime/decisions/GENERIC_RTDM_EVENT

decisionId = The ID or name of the underlying decision definition. (e.g. GENERIC_RTDM_EVENT)

Here's an example of the JSON Body:

Just imagine that INSTR1-INSTR5, ININT1-ININT5, INDATE1-INDATE2 are the input variables in your RTDM event.There are other variable formats that you can use such as Boolean, Character List, or Data Grids.

The other variables in the body such as version, correlationId, clientTimeZone are all required.

{"version":1,"correlationId":"{{$guid}}","clientTimeZone":"Asia/Kuala_Lumpur",
"inputs":{
    "INSTR1":"string1 value",
    "INSTR2":"string2 value",
    "INSTR3":"string3 value",
    "INSTR4":"string4 value",
    "INSTR5":"string5 value",
    "ININT1":1,
    "ININT2":10,
    "ININT3":30.0,
    "ININT4":400,
    "ININT5":null,
    "INDATE1":"2020-12-29T00:00:00.000Z",
    "INDATE2":"2020-12-29T00:00:00.000Z"
    }
}
 

Regards,

JC

How to improve email deliverability

SAS' Peter Ansbacher shows you how to use the dashboard in SAS Customer Intelligence 360 for better results.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 1 reply
  • 1400 views
  • 1 like
  • 2 in conversation