12.11 Call Activity (POST)
Below mentioned are the custom fields which are part of response alone.
Table 12-11 Call Activity
Element name | Sub element | Data type |
---|---|---|
CustomUserDefinedStringData | KeyName | String |
KeyValue | String | |
CustomUserDefinedNumberData | KeyName | String |
KeyValue | Number (Double) | |
CustomUserDefinedDateData | KeyName | String |
KeyValue | Date (YYYY-MM-DDTHH:MM:SS) |
Sample
XML
<Custom>
<CustomUserDefinedStringData>
<KeyName>StringName</KeyName>
<KeyValue>StringValue</KeyValue>
</CustomUserDefinedStringData>
<CustomUserDefinedNumberData>
<KeyName>NumberName</KeyName>
<KeyValue>NumberValue</KeyValue>
</CustomUserDefinedNumberData>
<CustomUserDefinedDateData>
<KeyName>DateName</KeyName>
<KeyValue>DateValue</KeyValue>
</CustomUserDefinedDateData>
</Custom>
Sample
JSON
{
"Custom": {
"CustomUserDefinedStringData": {
"KeyName": "StringName",
"KeyValue": "StringValue"
},
"CustomUserDefinedNumberData": {
"KeyName": "NumberName",
"KeyValue": "NumberValue"
},
"CustomUserDefinedDateData": {
"KeyName": "DateName",
"KeyValue": "DateValue"
}
}
}
Below are the package details for account search web service
Wrapper Engine
package:-
xcscac_ew_100_01. xcscac_ew_100_01 (iv_cac_rec_t IN xcs_csc_rec_t,iv_cac_result_tab_t OUT NOCOPY xcs_cac_result_tab_t);
Main Engine
package:-
xcscac_em_100_01.post_cac (iv_cac_rec_t IN xcs_csc_rec_t,Iv_cac_result_tab_t OUT NOCOPY xcs_cac_result_tab_t);
Below are the Exit point package details
BEFORE:-
xcscac_ex_100_01.cv_post_cac_bfr =cmncon_cl_000_01.CUSTOMIZED THEN
xcscac_ex_100_01. post_cac_bfr(iv_cac_rec_t, iv_cac_result_tab_t);
REPLACE:-
xcscac_ex_100_01.cv_post_cac_rep =cmncon_cl_000_01.CUSTOMIZED THEN
xcscac_ex_100_01. post_cac_rep (iv_cac_rec_t,iv_cac_result_tab_t);
AFTER:-
xcscac_ex_100_01.cv_post_cac_aftr =cmncon_cl_000_01.CUSTOMIZED THEN
xcscac_ex_100_01.post_cac_aftr (iv_cac_rec_t,iv_cac_result_tab_t);
Extensible parameters are Tab Type
object
DATE:
CREATE OR REPLACE TYPE xws_att_date_rec_t AS OBJECT
(
ATT_NAME VARCHAR2 (30)
, ATT_VALUE DATE);
/
NUMBER:
CREATE OR REPLACE TYPE xws_att_num_rec_t AS OBJECT
(
ATT_NAME VARCHAR2 (30)
, ATT_VALUE NUMBER);
);
/
STRING:
CREATE OR REPLACE TYPE xws_att_str_rec_t AS OBJECT
(
ATT_NAME VARCHAR2 (30)
, ATT_VALUE VARCHAR2 (4000));
);
/
Parent topic: RESTful Web Services Extensibility