Advertisement
myworks

Untitled

Jul 18th, 2019
376
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.71 KB | None | 0 0
  1. Request:
  2. POST https://quickbooks.api.intuit.com/v3/company/123146391838064/item?requestid=31f5d287-00f0-4a14-199f-060c56836d7f&minorversion=38 HTTP/1.1
  3. Content-Type: application/xml
  4. Authorization: OAuth realm="", oauth_signature_method="HMAC-SHA1", oauth_signature="bgfKTlfB5uZph5aLu55oc9np4xo%3D", oauth_nonce="DurIi", oauth_timestamp="1563456978", oauth_token="lvprdreKFmAY3YKVdZumvAPEsQDbgwVymPcN4gS775ZYfzDR", oauth_consumer_key="qyprdZNHZbDxasBSSjQMBj0K3tPijz", oauth_version="1.0"
  5. Content-Length: 1473
  6.  
  7. <Item xmlns="http://schema.intuit.com/finance/v3">
  8. <Id>34</Id>
  9. <MetaData xmlns="http://schema.intuit.com/finance/v3">
  10. <CreateTime>2019-04-04T14:40:02-07:00</CreateTime>
  11. <LastUpdatedTime>2019-07-10T18:56:18-07:00</LastUpdatedTime>
  12. </MetaData>
  13. <Name>20/20</Name>
  14. <Taxable>true</Taxable>
  15. <Active>true</Active>
  16. <UnitPrice>195</UnitPrice>
  17. <Type>Inventory</Type>
  18. <IncomeAccountRef>129</IncomeAccountRef>
  19. <PurchaseDesc>20/20 TORTOISE</PurchaseDesc>
  20. <PurchaseCost>13.8</PurchaseCost>
  21. <ExpenseAccountRef>36</ExpenseAccountRef>
  22. <AssetAccountRef>130</AssetAccountRef>
  23. <PrefVendorRef>16</PrefVendorRef>
  24. <QtyOnHand>498.000000</QtyOnHand>
  25. <SyncToken>6</SyncToken>
  26. <Sku>18MCPCS700</Sku>
  27. <Description>(This is the detailed description)</Description>
  28. <SubItem>true</SubItem>
  29. <ParentRef>46</ParentRef>
  30. <ParentRef_name>Sunglasses</ParentRef_name>
  31. <Level>1</Level>
  32. <FullyQualifiedName>Sunglasses:20/20</FullyQualifiedName>
  33. <IncomeAccountRef_name>Sales of Product Income</IncomeAccountRef_name>
  34. <ExpenseAccountRef_name>Cost of Goods Sold</ExpenseAccountRef_name>
  35. <AssetAccountRef_name>Inventory Asset-1</AssetAccountRef_name>
  36. <PrefVendorRef_name>Cheng Yi Optical Co., Ltd.</PrefVendorRef_name>
  37. <TrackQtyOnHand>true</TrackQtyOnHand>
  38. <InvStartDate>2019-07-18</InvStartDate>
  39. <TaxClassificationRef>EUC-09020802-V1-00120000</TaxClassificationRef>
  40. <TaxClassificationRef_name>Taxable Retail Items</TaxClassificationRef_name>
  41. </Item>
  42. Response:
  43. HTTP/2 500
  44. date: Thu, 18 Jul 2019 13:36:19 GMT
  45. content-type: application/xml
  46. content-length: 411
  47. server: nginx
  48. strict-transport-security: max-age=15552000
  49. intuit_tid: 33c39541-9522-476c-8e35-a940484f9bb8
  50. set-cookie: qboeuid=210788b1.58df4b1d6b087; path=/; expires=Fri, 17-Jul-20 13:36:18 GMT; domain=.intuit.com
  51. x-xss-protection: 1; mode=block
  52.  
  53. <?xml version="1.0" encoding="UTF-8" standalone="yes"?><IntuitResponse xmlns="http://schema.intuit.com/finance/v3" time="2019-07-18T06:36:18.732-07:00"><Fault type="SystemFault"><Error code="10000" element="SystemFailureError"><Message>An application error has occurred while processing your request</Message><Detail>System Failure Error: java.lang.NullPointerException</Detail></Error></Fault></IntuitResponse>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement