AnsweredAssumed Answered

Get and Update operations of Environment Extensions Object

Question asked by harshayadav.kommanaboyina on Jun 27, 2018
Latest reply on Jul 4, 2018 by 51662476

Hello All,

 

I am currently working on get and update operations for Atomsphere API environment extensions object.

 

I am trying to update crossReferences extensions using update operation. My input XML looks like this(I took crossRefrences part only from input XML).

 

        <api:crossReferences>

          <api:crossReference name="Sample Reference Table" overrideValues="true" id="<ID REMOVED>">

            <api:CrossReferenceRows>

              <api:row ref2="Alaska" ref1="AK"/>

              <api:row ref2="Alabama" ref1="AL"/>

                         <api:row ref2="Arkansas" ref1="AR"/>

                         <api:row ref2="Arizona" ref1="AZ"/>

                         <api:row ref2="California" ref1="CA"/>

            </api:CrossReferenceRows>

          </api:crossReference>

        </api:crossReferences>

 

The corresponding XML Update Response is coming as follows:

            <bns:crossReferences>

               <bns:crossReference name="Sample Reference Table" overrideValues="true" id="<ID REMOVED>">

                  <bns:CrossReferenceRows>

                     <bns:row ref2="Alaska" ref1="AK"/>

                     <bns:row ref2="Alabama" ref1="AL"/>

                     <bns:row ref2="Arkansas" ref1="AR"/>

                     <bns:row ref2="Arizona" ref1="AZ"/>

                     <bns:row ref2="California" ref1="CA"/>

                  </bns:CrossReferenceRows>

               </bns:crossReference>

            </bns:crossReferences>

 

Everything looks good here with the update operation. But when I am trying to use get operation then I am getting the following response.

 

            <bns:crossReferences>

               <bns:crossReference name="Sample Reference Table" overrideValues="true" id="<ID REMOVED>">

                  <bns:CrossReferenceRows>

                     <bns:row ref20="" ref19="" ref18="" ref17="" ref16="" ref15="" ref14="" ref13="" ref12="" ref11="" ref10="" ref9="" ref8="" ref7="" ref6="" ref5="" ref4="" ref3="" ref2="Alaska" ref1="AK"/>

                     <bns:row ref20="" ref19="" ref18="" ref17="" ref16="" ref15="" ref14="" ref13="" ref12="" ref11="" ref10="" ref9="" ref8="" ref7="" ref6="" ref5="" ref4="" ref3="" ref2="Alabama" ref1="AL"/>

                     <bns:row ref20="" ref19="" ref18="" ref17="" ref16="" ref15="" ref14="" ref13="" ref12="" ref11="" ref10="" ref9="" ref8="" ref7="" ref6="" ref5="" ref4="" ref3="" ref2="Arkansas" ref1="AR"/>

                     <bns:row ref20="" ref19="" ref18="" ref17="" ref16="" ref15="" ref14="" ref13="" ref12="" ref11="" ref10="" ref9="" ref8="" ref7="" ref6="" ref5="" ref4="" ref3="" ref2="Arizona" ref1="AZ"/>

                     <bns:row ref20="" ref19="" ref18="" ref17="" ref16="" ref15="" ref14="" ref13="" ref12="" ref11="" ref10="" ref9="" ref8="" ref7="" ref6="" ref5="" ref4="" ref3="" ref2="California" ref1="CA"/>

                  </bns:CrossReferenceRows>

               </bns:crossReference>

            </bns:crossReferences>

 

Some other attributes are populating with empty values in the response. It is supposed to look like the above update response. Please look into this issue.

 

Tagging people for help : Adam Arrowsmith

Srinivas Chandrakanth Vangari Ranjini Elamkulam Mana balaji maddipati

 

Thanks,

Harsha.

Outcomes