12.40 Customer Tracking Attribute Service(PUT)
Below mentioned are the custom fields. These fields will be part of both request and response.
Table 12-33 Customer Tracking Attribute Service
| Element name | Sub element | Data type |
|---|---|---|
| StringData | KeyName | String |
| KeyValue | String | |
| NumberData | KeyName | String |
| KeyValue | Number (Decimal) | |
| DateData | KeyName | String |
| KeyValue | Date(YYYY-MM-DDTHH:MM:SS) |
Sample
XML
<Custom>
< StringData>
<KeyName>StringName</KeyName>
<KeyValue>StringValue</KeyValue>
</ StringData>
< NumberData>
<KeyName>NumberName</KeyName>
<KeyValue>NumberValue</KeyValue>
</ NumberData>
<DateData>
<KeyName>DateName</KeyName>
<KeyValue>DateValue</KeyValue>
</DateData>
</Custom>Sample
JSON
"Custom": {
"StringData": [
{
"KeyName": "StringName",
"KeyValue": "StringValue"
}
],
"NumberData": [
{
"KeyName": "NumberName",
"KeyValue": NumberValue
}
],
"DateData": [
{
"KeyName": "DateName",
"KeyValue": "DateValue"
}
]
}Below are the package details for transaction parameter web service
Wrapper Engine
package:-
xcscta_ew_100_01.xcscta_ew_100_01 (iv_xcs_cta_rec IN OUT xcs_cta_atr_rec_t);Main Engine
package:-
xcscta_em_100_01.update_customer_tacking_atr (iv_xcs_cta_rec IN OUT xcs_cta_atr_rec_t);Below are the Exit point package details for xcscta_em_100_01.update_customer_tacking_atr();
BEFORE:-
xcscta_ex_100_01.cv_upd_cust_tracking_bfr = cmncon_cl_000_01.CUSTOMIZED THEN
xcscta_ex_100_01.upd_cust_tracking_bfr(iv_xcs_cta_rec);REPLACE:-
xcscta_ex_100_01.cv_upd_cust_tracking_rep = cmncon_cl_000_01.CUSTOMIZED THEN
xcscta_ex_100_01.upd_cust_tracking_rep(iv_xcs_cta_rec);AFTER:-
xcscta_ex_100_01.cv_upd_cust_tracking_afr = cmncon_cl_000_01.CUSTOMIZED THEN
xcscta_ex_100_01.upd_cust_tracking_afr(iv_xcs_cta_rec);Extensible parameters are Tab Type
object
CREATE OR REPLACE TYPE xws_att_str_rec_t AS OBJECT (
ATT_NAME VARCHAR2(30),
ATT_VALUE VARCHAR2(4000));
CREATE OR REPLACE TYPE xws_att_num_rec_t AS OBJECT (
ATT_NAME VARCHAR2(30),
ATT_VALUE NUMBER);
CREATE OR REPLACE TYPE xws_att_date_rec_t AS OBJECT (
ATT_NAME VARCHAR2(30),
ATT_VALUE DATE);Parent topic: RESTful Web Services Extensibility