About RESTAPI specification (Doc ID 1552397.1)

Last updated on MARCH 02, 2017

Applies to:

Siebel CRM - Version 8.1.1.7 SIA [21238] and later
Information in this document applies to any platform.

Symptoms

When we use REST API and try TWO XML files to update account data, there is a difference between the TWO.
When we test Pattern 1, the data is updated properly.
However, when we test Pattern 2, the data is updated properly.
In Pattern 2, the tag for <Main_0x20_Phone_0x20_Number> is set null(0 length string).
I attached log and dmp files about TWO tests above.

* Patten 1 result
EAIObjMgr_jpn_0010_10485773.log
EAISiebelAdapter_input_args_10485773.dmp
EAISiebelAdapter_output_args_10485773.dmp

* Patten 2 result
EAIObjMgr_jpn_0010_10485776.log
EAISiebelAdapter_input_args_10485776.dmp
EAISiebelAdapter_output_args_10485776.dmp

When we checked EAISiebelAdapter_input_args_10485776.dmp, the tag structure seems to be corrupted.
Can you please let me know if this is a bug or limitation.

Regards,

Tested XML files are as follows:
*************
* Pattern 1 *
*************

<?xml version = '1.0' encoding = 'utf-8'?>
<SiebelREST>
<ListOfEAI_0x20_Account>
  <Account>
    <Name>PATTERN1</Name>
    <Location>loc</Location>
    <Main_0x20_Phone_0x20_Number>+812</Main_0x20_Phone_0x20_Number>
    <Home_0x20_Page>2</Home_0x20_Page>
    <ListOfAccount_Business_0x20_Address>
      <Account_Business_0x20_Address>
        <Address_0x20_Integration_0x20_Id>1111</Address_0x20_Integration_0x20_Id>
        <Ship_0x20_Address_0x20_Flag>N</Ship_0x20_Address_0x20_Flag>
        <Street_0x20_Address>Minami-Oi2</Street_0x20_Address>
        <Bill_0x20_Address_0x20_Flag>N</Bill_0x20_Address_0x20_Flag>
        <Address_0x20_Active_0x20_Status>Y</Address_0x20_Active_0x20_Status>
        <Main_0x20_Address_0x20_Flag>N</Main_0x20_Address_0x20_Flag>
        <City>Shinagawa-ku</City>
        <State>TOKYO</State>
        <Country>Japan</Country>
        <Postal_0x20_Code>1111111</Postal_0x20_Code>
      </Account_Business_0x20_Address>
    </ListOfAccount_Business_0x20_Address>
  </Account>
</ListOfEAI_0x20_Account>
</SiebelREST>

*************
* Pattern 2 *
*************

<?xml version = '1.0' encoding = 'utf-8'?>
<SiebelREST>
<ListOfEAI_0x20_Account>
  <Account>
    <Name>PATTERN2</Name>
    <Location>loc</Location>
    <Main_0x20_Phone_0x20_Number></Main_0x20_Phone_0x20_Number>
    <Home_0x20_Page>2</Home_0x20_Page>
    <ListOfAccount_Business_0x20_Address>
      <Account_Business_0x20_Address>
        <Address_0x20_Integration_0x20_Id>1111</Address_0x20_Integration_0x20_Id>
        <Ship_0x20_Address_0x20_Flag>N</Ship_0x20_Address_0x20_Flag>
        <Street_0x20_Address>Minami-Oi2</Street_0x20_Address>
        <Bill_0x20_Address_0x20_Flag>N</Bill_0x20_Address_0x20_Flag>
        <Address_0x20_Active_0x20_Status>Y</Address_0x20_Active_0x20_Status>
        <Main_0x20_Address_0x20_Flag>N</Main_0x20_Address_0x20_Flag>
        <City>Shinagawa-ku</City>
        <State>TOKYO</State>
        <Country>Japan</Country>
        <Postal_0x20_Code>1111111</Postal_0x20_Code>
      </Account_Business_0x20_Address>
    </ListOfAccount_Business_0x20_Address>
  </Account>
</ListOfEAI_0x20_Account>
</SiebelREST>

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms