Skip to Content
0

Passing multiple values (Header and Line Items) in the URL by using REST Sender

Nov 10, 2017 at 12:14 PM

26

avatar image
Former Member

Hi All,

We are developing new interface using REST sender Adapter. Please find the details below

Requirement: Need to pass multiple attribute values with header and line items in the URL

Interface Flow: REST -> Proxy (Synchronous)

Sample XML:

<?xml version="1.0" encoding="UTF-8"?> <price_request> <header> <customer_country>SE</customer_country> <customer_number>0020001234</customer_number> <price_date>20170317</price_date> <sender_country>SE</sender_country> <sender_post_code>11218</sender_post_code> <receiver_country>SE</receiver_country> <receiver_post_code>16863</receiver_post_code> </header> <item> <main> <quantity>1</quantity> <service_code>1001026</service_code> <item_type>pallet_eur</item_type> <weight>76.2</weight> <volume>1.92</volume> <length>1.200</length> <width>0.800</width> <height>2.000</height> <distance>556</distance> <customer_weight>7.62</customer_weight> <customer_volume>0.308</customer_volume> <customer_volume_uom>cubic_metres</customer_volume_uom> <supplementary> <quantity>1</quantity> <service_code>1001091</service_code> </supplementary> <supplementary> <quantity>1</quantity> <service_code>2006850</service_code> <insured_value currency="SEK">50000</insured_value> </supplementary> </main> </item> </price_request>

Please have a glance and provide me any suggestions or solutions to implement.

Thanks & Regards,

Ravi.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers