Skip to content

Instantly share code, notes, and snippets.

@dperussina
Created June 28, 2024 16:11
Show Gist options
  • Save dperussina/5914047c93e7b52428aa2f408d9f369a to your computer and use it in GitHub Desktop.
Save dperussina/5914047c93e7b52428aa2f408d9f369a to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="UTF-8"?>
<service_orders>
<service_order>
<number>123U456</number>
<account>118053</account>
<service_type>White Glove</service_type>
<description>
<![CDATA[SomeService]]>
</description>
<customer>
<customer_id>118053</customer_id>
<first_name>Daniel</first_name>
<last_name>Perussina</last_name>
<email>daniel.perussina@example.com</email>
<phone1>555-123-4567</phone1>
<phone2>555-987-6543</phone2>
<phone3>555-555-5555</phone3>
<address1>123 Main St</address1>
<address2>Ste 1</address2>
<city>Anytown</city>
<state>CA</state>
<zip>12345</zip>
<latitude>37.7749</latitude>
<longitude>-122.4194</longitude>
<preferred_contact_method>EMAIL</preferred_contact_method>
</customer>
<notes count="2">
<note created_at="2023-02-18 14:30:00" author="john.doe" note_type="Public">
<![CDATA[test note]]>
</note>
<note created_at="2023-02-18 15:45:00" author="jane.doe" note_type="Private">
<![CDATA[test note 2]]>
</note>
</notes>
<items>
<item>
<sale_sequence>1</sale_sequence>
<item_id>SKU-123</item_id>
<serial_number>SER-123</serial_number>
<description>
<![CDATA[Product A]]>
</description>
<number>BC-123</number>
<quantity>2</quantity>
<location>Warehouse A</location>
<cube>1.5</cube>
<setup_time>30</setup_time>
<weight>5.5</weight>
<price>10.99</price>
<countable>true</countable>
<store_code>WH-A</store_code>
</item>
<item>
<sale_sequence>2</sale_sequence>
<item_id>4567</item_id>
<serial_number>SN12345</serial_number>
<description>
<![CDATA[Product description]]>
</description>
<number>12345</number>
<quantity>2</quantity>
<location>Warehouse A, Shelf B</location>
<cube>0.5</cube>
<setup_time>30</setup_time>
<weight>2.5</weight>
<price>25.99</price>
<countable>true</countable>
<store_code>WH-A-123</store_code>
</item>
</items>
<amount>123.45</amount>
<cod_amount>50.0</cod_amount>
<service_unit>Service Unit A</service_unit>
<delivery_date>2023-02-18</delivery_date>
<request_delivery_date>2023-02-18</request_delivery_date>
<driver_id>123</driver_id>
<truck_id>TRUCK-1</truck_id>
<origin>Warehouse A</origin>
<stop_number>2</stop_number>
<stop_time>2023-02-18 10:00:00</stop_time>
<service_time>2023-02-18 00:30:00</service_time>
<request_time_window_start>2023-02-18 08:00:00</request_time_window_start>
<request_time_window_end>2023-02-18 12:00:00</request_time_window_end>
<delivery_time_window_start>2023-02-18 13:00:00</delivery_time_window_start>
<delivery_time_window_end>2023-02-18 15:00:00</delivery_time_window_end>
<delivery_charge>10.0</delivery_charge>
<taxes>5.0</taxes>
<store_code>WH-A-123</store_code>
<extra>
<custom_field_1>value1</custom_field_1>
<custom_field_2>value2</custom_field_2>
<custom_field_3>value3</custom_field_3>
</extra>
<custom_fields>
<custom_field_1>value1</custom_field_1>
<custom_field_2>value2</custom_field_2>
<custom_field_3>value3</custom_field_3>
</custom_fields>
</service_order>
</service_orders>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment