Schema
Data on the serialized products will be shown using the following schema :<serialized_product> <product_id>product id</product_id> <serial_id>serial id 1</serial_id> <serial_id>serial id 2</serial_id> ... </serialized_product>
Example Query
The following example shows the process of querying orders :URL: http://api.logistech.us/lomacs/xml/query_order?show_serials=true&client=1234&order_id=01-04163105
Returns:
<?xml version="1.0"?> <order_list> <order> <order_id>12-101631015</order_id> <status>SHIPPED</status> <est_delivery_date>04/30/2001</est_delivery_date> <service>GND</service> <request_ship_date>04/17/2001</request_ship_date> <address> <comp_name>BHS Widget Installers</comp_name> <attn_name>Homer Simpson</attn_name> <address_1>Suite 600</address_1> <address_2>607 East Main Street</address_2> <city>Springfield</city> <state>IL</state> <zip_code>67354</zip_code> <country_code>US</country_code> </address> <item> <item_no>1</item_no> <product_id>XYZ-9999</product_id> <quantity>2</quantity> <description>Widget Oil</description> </item> <item> <item_no>2</item_no> <product_id>XYZ-6789</product_id> <quantity>1</quantity> <description>Big Blue Widget</description> </item> <serialized_product> <product_id>XYZ-6789</product_id> <serial_id>4</serial_id> </serialized_product> <serialized_product> <product_id>XYZ-9999</product_id> <serial_id>2</serial_id> <serial_id>5</serial_id> </serialized_product> </order> </order_list>