Created
November 9, 2010 19:33
-
-
Save mikekelly/669660 to your computer and use it in GitHub Desktop.
invoice.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# GET /invoice/1203897 | |
<resource rel="self" href="/invoice/1203897"> | |
<link rel="client" href="http://evilinc.com" /> | |
<resource rel="line-item" href="/invoice/1203897/line-item/1"> | |
<resource rel="item" href="/invetory/9821732"> | |
<sku>WHMK5662</sku> | |
<description>Interesting Widget</description> | |
</resource> | |
<quantity>5</quantity> | |
<price>10</price> | |
<total>50</total> | |
<status>allocated</status> | |
</resource> | |
<resource rel="line-item" href="/invoice/1203897/line-item/2"> | |
<resource rel="item" href="/invetory/876234"> | |
<sku>BAH8732</sku> | |
<description>Something amazing</description> | |
</resource> | |
<quantity>20</quantity> | |
<price>2</price> | |
<total>40</total> | |
<status>allocated</status> | |
</resource> | |
<subtotal>90</subtotal> | |
<tax>0</tax> | |
<total>90</total> | |
</resource> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment